var ns4=document.layers;
var ns6=document.getElementById&&!document.all;
var ie4=document.all;
xoffs=10;
yoffs=-35;

function ShowToolTip(text, t)
{
	var ttobj = document.getElementById('tt');
	ttobj.innerHTML = text;
	ttobj.style.display = 'block';
	t.onmousemove = MoveToolTip;
	t.onmouseout = HideToolTip;
}

function MoveToolTip(e)
{
	var ttobj = document.getElementById('tt');
	if (ie4) {
		ttobj.style.left = event.x+document.body.scrollLeft+xoffs;
		ttobj.style.top = event.y+document.body.scrollTop+yoffs;
	} else {
		ttobj.style.left = e.pageX + xoffs;
		ttobj.style.top = e.pageY + yoffs;
	}
}

function HideToolTip()
{
	var ttobj = document.getElementById('tt');
	ttobj.style.display = 'none';
}
