/*   Copyright 2002 by Stephan Schirmer *   Letzte ´nderung am 03.12.2002 *   Alle Rechte vorbehalten. *  *   DOM 1.0 Version  */var IconX,IconY,is;var linkerRand = 12;var rechterRand = 432;var obigerRand = 58;var untigerRand = 359;var halbeKachel= 60;   function init() {if (parent.is.ns4) {    document.captureEvents(Event.MOUSEMOVE | Event.MOUSEDOWN);}	document.onmousemove=showKoords;document.onmousedown=go;   }   function showKoords(evnt) {	           if (parent.is.ns4) {	IconX = evnt.pageX;	IconY = evnt.pageY;		}	else if (parent.is.ie4) {	IconX = event.clientX + document.body.scrollLeft;	IconY = event.clientY + document.body.scrollTop;		}	else if(parent.is.dom) {	IconX = evnt.clientX;	IconY = evnt.clientY;        }		if (IconX<rechterRand && IconX>linkerRand && IconY>obigerRand && IconY<untigerRand) {	    	    links = ((Math.floor((IconX-linkerRand)/halbeKachel))*halbeKachel)+linkerRand;	    oben = ((Math.floor((IconY-obigerRand)/halbeKachel))*halbeKachel)+obigerRand;	    	    if (links>(rechterRand-(2*halbeKachel))) {links=(rechterRand-(2*halbeKachel))}	    if (oben>(untigerRand-(2*halbeKachel))) {oben=(untigerRand-(2*halbeKachel))}	    	    	    if (parent.is.ns4) {		document.layers["Rahmen"].visibility = "visible";		document.layers["Rahmen"].left = links;		document.layers["Rahmen"].top = oben;	    }	    else if(parent.is.ie4) {		document.all["Rahmen"].style.visibility = "visible";		document.all["Rahmen"].style.pixelLeft = links;		document.all["Rahmen"].style.pixelTop = oben;	    }	    else if(parent.is.dom) {	        document.getElementById("Rahmen").style.visibility = "visible";	        document.getElementById("Rahmen").style.top = oben;	        document.getElementById("Rahmen").style.left = links;	    }	    	} else {	    if (parent.is.ns4) {		document.layers["Rahmen"].visibility = "hidden";	    }	    else if(parent.is.ie4) {		document.all["Rahmen"].style.visibility = "hidden";	    }	}}function go() {            	if (IconX<rechterRand && IconX>linkerRand && IconY>obigerRand && IconY<untigerRand) {	    	    links = (Math.floor((IconX-linkerRand)/halbeKachel));	    oben = (Math.floor((IconY-obigerRand)/halbeKachel));	    	    	    if (links>5) {links=5}	    if (oben>3) {oben=3}	    	    var nummer = ((oben*100)+5000)+(links+1)	    location.href="karte.htm?"+nummer;	    	}}