function TR3S_position(source, target, xcor, ycor){
var obja,obj2;
	obj=(document.all) ? document.all[source] : document.getElementById(source);
	obj2=(document.all) ? document.all[target] : document.getElementById(target);
	if (document.layers){
		browseWidth=window.outerWidth;
		browseHeight=window.outerHeight;
	}
	else{
		browseWidth=document.body.clientWidth;
		browseHeight=document.body.clientHeight;
	}
	obj.style.left=findPosX(obj2)+xcor;
	obj.style.top=findPosY(obj2)+ycor;
	obj.style.display='block';
}

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}
