wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(E) {
	x = (document.all) ? window.event.x + document.body.scrollLeft : E.pageX;
	y = (document.all) ? window.event.y + document.body.scrollTop  : E.pageY;
	if (wmtt != null) {
		if (x >='320') {
		wmtt.style.left = (x - 270) + "px";
		wmtt.style.top 	= (y + 20) + "px";}
		else {
		wmtt.style.left = (x + 20) + "px";
		wmtt.style.top 	= (y + 20) + "px";}
	}
}

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

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

function waitWMTT() { 
	
var timer = setTimeout("hideWMTT()", 2000);
clearTimeout(timer);
}
