wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e) {
x = (document.all) ? window.event.x + document.body.scrollLeft :
e.pageX;
y = (document.all) ? window.event.y + document.body.scrollTop  :
e.pageY;
if (wmtt != null) {
wmtt.style.left = (x + 10) + "px";
wmtt.style.top = (y + 10) + "px";
// neu
wmtt.style.display = "block"
}
}

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

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




