// pDiv is the id of the div to be positioned as a String
// pPlaceHolder is the id of the placeholder of the div as a String

var adjustDiv=function(pDiv,pPlaceHolder,pLeftAdj,pTopAdj) {
	var i;
	var par=pPlaceHolder;
	var left=par.offsetLeft;
	var top=par.offsetTop;
	var div=pDiv;
	while (par.tagName!="BODY"){
		par=par.offsetParent;
		left+=par.offsetLeft;
		top+=par.offsetTop;
	}
	try {
		div.style.left=left+pLeftAdj;
		div.style.top=top+pTopAdj;
	} catch (e) {
		alert(par);
	}
}





