tooltip = null;
document.onmousemove = updateTooltip;

function updateTooltip(e) {
	try {
		x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
		y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY;
		if (tooltip != null) {
			tooltip.style.left = (x - 50) + "px";
			tooltip.style.top = (y - 10) + "px";
		}
	} catch (error) { error=null; }
}

function showWMTT(id) {
	try {
		tooltip = document.getElementById("TT"+id);
		tooltip.style.display = "block"
	} catch (error) { error=null; }
	if (navigator.userAgent.search(/Safari/) != -1) {
		window.setTimeout("hideWMTT()", 10000);
	}
}

function hideWMTT() {
	try {
		tooltip.style.display = "none";
	} catch (error) { error=null; }
}