wmtt = null;

document.onmousemove = updateWMT;

function updateWMT(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) {
		wmtt.style.left = (x-20) + "px";
		wmtt.style.top 	= (y-20) + "px";
	}
}

function showWMTT(id, e) {
	wmtt = document.getElementById(id);
	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) {
		wmtt.style.left = (x-20) + "px";
		wmtt.style.top 	= (y-20) + "px";
	}
	wmtt.style.display = "block"
}

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