<!--

	function findPosX(obj)
	{
		var curleft = 0;
		if(obj.offsetParent)
		{
			while(1) 
			{
			  curleft += obj.offsetLeft;
			  if(!obj.offsetParent)
				break;
			  obj = obj.offsetParent;
			}
		}
		else if(obj.x)
		{
			curleft += obj.x;
		}
		return curleft;
	}


	function findPosY(obj)
	{
		var curtop = 0;
		if(obj.offsetParent)
		{
			while(1)
			{
				curtop += obj.offsetTop;
				if(!obj.offsetParent)
				break;
				obj = obj.offsetParent;
			}
		}
		else if(obj.y)
		{
			curtop += obj.y;
		}
		return curtop -150;
	}



	function getPosition(e) 
	{
		e = e || window.event;
		var cursor = {x:0, y:0};
		if (e.pageX || e.pageY) 
		{
			cursor.x = e.pageX;
			cursor.y = e.pageY;
		} 
		else 
		{
			var de = document.documentElement;
			var b = document.body;
			cursor.x = e.clientX + (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
			cursor.y = e.clientY + (de.scrollTop  || b.scrollTop)  - (de.clientTop  || 0);
		}
		return cursor;
	}


	function pushHtmlLabel(Label, current_object)
	{
		if (Label == "")
		{
			document.getElementById("icon_description").style.visibility="hidden";
		}
		else
		{
			document.getElementById("icon_description").style.visibility="visible";
			document.getElementById("icon_description").innerHTML  = "&nbsp; " + Label;
			document.getElementById("icon_description").style.left = findPosX(current_object) -10;
			document.getElementById("icon_description").style.top  = findPosY(current_object) -42;
		}
	}
//-->
