infoTip = null;

document.onmousemove = updateInfoTip;

function showInfoTip(id) {
	infoTip = document.getElementById(id);
	infoTip.style.display = "block"
}
function updateInfoTip(e) {
	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;
	if (infoTip != null) {
		infoTip.style.left = (x + 20) + "px";
		infoTip.style.top 	= (y + 20) + "px";
	}
}
function hideInfoTip() {
	infoTip.style.display = "none";
}

