function setMarginBesideFloat(sImgID, sSide) {
	if(!document.getElementById) return;
	
	var img = document.getElementById(sImgID);
	if(!img) return;
	
	var imgBottom = arb.element.position.top(img) + img.offsetHeight + parseInt(arb.element.getCSSProperty(img, 'margin-bottom'))
	var imgWidth = img.offsetWidth + parseInt(arb.element.getCSSProperty(img, 'margin-left')) + parseInt(arb.element.getCSSProperty(img, 'margin-right'));
	
	var marginProperty = (sSide == 'left') ? 'marginLeft' : 'marginRight';

	var sibling = img;
	var siblingTop;
	
	while (sibling = sibling.nextSibling) {
		if(sibling.nodeType == 1) {
			siblingTop = arb.element.position.top(sibling);
			if(siblingTop <= imgBottom) {
				sibling.style[marginProperty] = imgWidth + 'px';
				sibling.style.clear = "";
			} else {
				sibling.style[marginProperty] = "";
			}
		}
	}
}