/* Thanks to www.webmatze.de */
wmtt = null;
document.onmousemove = updateWMTT;
 
function updateWMTT(e) {
	if (wmtt != null) {
		if (navigator.userAgent.indexOf("MSIE") != -1) {	// is MSIE
			x = (document.all) ? window.event.x + wmtt.offsetParent.scrollLeft : e.pageX;
			y = (document.all) ? window.event.y + wmtt.offsetParent.scrollTop  : e.pageY;
			wmtt.style.left = ((x + 20) - 230) + "px";
			wmtt.style.top   = ((y + 20) - 480) + "px";
		} else {
			x = (document.all) ? window.event.x + wmtt.offsetParent.scrollLeft : e.pageX;
			y = (document.all) ? window.event.y + wmtt.offsetParent.scrollTop  : e.pageY;
			wmtt.style.left = ((x + 20) - 225) + "px";
			wmtt.style.top   = ((y + 20) - 370) + "px";
		}
	}
}
 
function showWMTT(id) {
	if (navigator.userAgent.indexOf("MSIE") != -1) {	// is MSIE
		document.getElementById(id).previousSibling.childNodes[0].childNodes[0].setAttribute('alt', '');
		document.getElementById(id).previousSibling.childNodes[0].childNodes[0].setAttribute('title', '');
	} else {
		document.getElementById(id).previousSibling.previousSibling.childNodes[1].childNodes[1].setAttribute('alt', '');
		document.getElementById(id).previousSibling.previousSibling.childNodes[1].childNodes[1].setAttribute('title', '');
	}
	wmtt = document.getElementById(id);
	wmtt.style.display = "block";
}

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

