function findPos(obj)
{
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		curleft = obj.offsetLeft
		curtop = obj.offsetTop
		while (obj = obj.offsetParent) {
			curleft += obj.offsetLeft
			curtop += obj.offsetTop
		}
	}
	return [curleft,curtop];
}

function ahpos(obj,g) // obj - Source object ; g - Target object
{
//alert('hi');
var coors = findPos(obj);

var x = document.getElementById(g);

	x.style.top = coors[1] + -30 + 'px';
	x.style.left = coors[0] +220 + 'px';
	
}

function bhpos(obj,g) // obj - Source object ; g - Target object
{
//alert('hi');
var coors = findPos(obj);

var x = document.getElementById(g);

	x.style.top = coors[1] +180 + 'px';
	x.style.left = coors[0] +573 + 'px';
	
}



