var isIE6 = /msie|MSIE 6/.test(navigator.userAgent);
wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e) {
	x = (document.all) ? window.event.x : e.pageX;
	y = (document.all) ? window.event.y : e.pageY;
	
	if (isIE6) {
		x += document.body.scrollLeft;
		y += document.body.scrollTop;
	}
	
	if (wmtt != null) {
		wmtt.style.left = (x + 10) + "px";
		wmtt.style.top 	= (y + -6) + "px";
	}
}

function showWMTT(id) {
	wmtt = document.getElementById(id);
	wmtt.style.display = "inline-block"
}

function hideWMTT() {
	wmtt.style.display = "none";
}
//
