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 moveRoot()
{
 var theobj = document.getElementById("home");
 with (pMenu.menu.root[0]) offX = findPosX(theobj) - 18;
 pMenu.position('root');
}