wmtt = null; 
document.onmousemove = updateToolTip;
 
function updateToolTip(e) 
{ 
	if (wmtt != null && wmtt.style.display == 'block') 
	{ 
		x = (document.all) ? e.clientX + (document.documentElement.scrollLeft | document.body.scrollLeft) : e.pageX;
		y = (document.all) ? e.clientY + (document.documentElement.scrollTop  | document.body.scrollTop)  : e.pageY;

		wmtt.style.left = (x + 10) + "px"; 
		wmtt.style.top = (y + 15) + "px"; 
	} 
} 

function showToolTip(id) 
{ 
	wmtt = document.getElementById(id); 
	wmtt.style.display = "block"; 
} 

function hideToolTip() 
{ 
	wmtt.style.display = "none"; 
}

