wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e)
{
  x = (document.all) ? window.event.x + window.document.body.scrollLeft : e.pageX;
	 y = (document.all) ? window.event.y + window.document.body.scrollTop  : e.pageY;

  if (wmtt != null)
	 {
	   wmtt.style.left = (x - 250) + "px";
	   wmtt.style.top  = (y + 15) + "px";
	 }
}

function showWMTT(id)
{

 	wmtt = document.getElementById(id);
  wmtt.style.visibility = "visible";
  wmtt.style.display = "block";
}

function hideWMTT()
{
 	wmtt.style.visibility = "hidden";
 	wmtt.style.display = "none";
}