wmtt = null;
document.onmousemove = updateTT;


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

function updateTT(e) {
	x = (document.all) ? window.event.x + document.documentElement.scrollLeft : e.pageX;
	y = (document.all) ? window.event.y + document.documentElement.scrollTop  : e.pageY;
	if (wmtt != null) {
		wmtt.style.left = (x - 200) + "px";
		wmtt.style.top 	= (y - 150) + "px";
	}
}

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