//layer sichtbar / unsichtbar mit maus-positions-abfrage
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE)
	document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
function getMouseXY(e) {
	if (IE) { // grab the x-y pos.s if browser is IE
	tempX = event.clientX + document.body.scrollLeft;
	tempY = event.clientY + document.body.scrollTop;
	} else {  // grab the x-y pos.s if browser is NS
		tempX = e.pageX;
		tempY = e.pageY;
	}  
	
		return true;
	}
	
//sicherheitstext layer
/* xbrowser */
var ns4 = 0;
var ie4 = 0;
var w3c = 0;
var ie = 0;
var dhtml	= 0;

if (document.getElementById){
	w3c = 1;
	layerRef="document.getElementById";
	dhtml = 1;
} 
else if (document.layers) {
    ns4 = 1;
    layerRef="document.layers.";
    dhtml = 1;
}
else if (document.all) {
    ie4 = 1;
	layerRef="document.all.";	
    dhtml = 1;
}

function showTxt(whichDiv) {
		if (w3c && document.getElementById(whichDiv) && document.getElementById(whichDiv).style)  {
			getHeight = document.getElementById(whichDiv).offsetHeight;
			document.getElementById(whichDiv).style.top = tempY-getHeight-15 + "px";
			document.getElementById(whichDiv).style.visibility = "visible";
		} else if (ie4 && document.all[whichDiv] && document.all[whichDiv].style) {
			getHeight = document.all[whichDiv].offsetHeight;
			document.all[whichDiv].style.top = tempY-getHeight-15 + "px";
			document.all[whichDiv].style.top = tempY-80 + "px";
			document.all[whichDiv].style.visibility = "visible";
		} 
	}

function hideTxt(whichDiv) {
		 if (w3c && document.getElementById(whichDiv) && document.getElementById(whichDiv).style) {
			document.getElementById(whichDiv).style.visibility = "hidden";
		} else if (ie4 && document.all[whichDiv] && document.all[whichDiv].style) {
			document.all[whichDiv].style.visibility = "hidden";
		}
	}
