// JavaScript Document
var tip;
function tooltip(obj)
{
	try{
	if (obj && (obj.getAttribute("alt")||obj.getAttribute("TipText")))
	{
		getScreen();
		var msg	= obj.getAttribute("alt")||obj.getAttribute("TipText");
		tip	= document.getElementById("tipDiv");
		if (!tip)
		{
			tip 		= document.createElement("DIV");
			tip.id	= 'tipDiv';
			tip.style.position	= 'absolute';
			tip.style.color		= '#333';
			tip.style.background	= '#FEFEE1';
			tip.style.padding		= '5px';
			tip.style.border		= 'solid 1px #444';
			
			document.getElementsByTagName("BODY")[0].appendChild(tip);
		}
		tip.innerHTML 		= msg;
		tip.style.top		= Top(obj) + obj.offsetHeight;
		tip.style.left		= Left(obj);// + obj.offsetWidth;
		
		tip.style.display	= '';
		
		//document.title = Top(obj) + "x" + mouse_y;
	}
	else if (tip && obj != tip)
	{
		tip.style.display = 'none';
	}
	}catch(e){}
}