wmtt = null;
document.onmousemove = updateWMTT;

function updateWMTT(e) {
	if (wmtt != null) {
		x = (document.all) ? window.event.x + wmtt.offsetParent.scrollLeft : e.pageX;
		y = (document.all) ? window.event.y + wmtt.offsetParent.scrollTop  : e.pageY;

   		// Browser abfragen
   		var agt=navigator.userAgent.toLowerCase();
		var Ergebnis = agt.match(/\msie\b/g);

		if(Ergebnis != null) {
			// IE6 spezielle Werte
			x = x + 20;
   			y = y + 60;
		} else {
			// Alle anderen Browser
			x = x - 520;
   			y = y - 200;
		}

		wmtt.style.left = (x + 2) + "px";
		wmtt.style.top 	= (y + 2) + "px";
	}
}
function showWMTT(id) {
	wmtt = document.getElementById(id);
	wmtt.style.display = "block"
}
function hideWMTT() {
	wmtt.style.display = "none";
}


function clearArea(defaultWert,inputId) {

	// Nur durch nichts ersetzen, wenn der Default wert geladen ist
	if(document.getElementById(inputId).value == defaultWert) {
		document.getElementById(inputId).value="";
	}


}