i01normal = new Image();
i01normal.src = "../images/bgr_n.gif";
i01maus = new Image();
i01maus.src = "../images/bgr_s.gif";
i02normal = new Image();
i02normal.src = "../images/pro_n.gif";
i02maus = new Image();
i02maus.src = "../images/pro_s.gif";
i03normal = new Image();
i03normal.src = "../images/man_n.gif";
i03maus = new Image();
i03maus.src = "../images/man_s.gif";
i04normal = new Image();
i04normal.src = "../images/work_n.gif";
i04maus = new Image();
i04maus.src = "../images/work_s.gif";
i11normal = new Image();
i11normal.src = "../images/home_n.gif";
i11maus = new Image();
i11maus.src = "../images/home_s.gif";
i12normal = new Image();
i12normal.src = "../images/contact_n.gif";
i12maus = new Image();
i12maus.src = "../images/contact_s.gif";
i13normal = new Image();
i13normal.src = "../images/imprint_n.gif";
i13maus = new Image();
i13maus.src = "../images/imprint_s.gif";
i14normal = new Image();
i14normal.src = "../images/deutsch_n.gif";
i14maus = new Image();
i14maus.src = "../images/deutsch_s.gif";
i23normal = new Image();
i23normal.src = "../images/impressum_n.gif";
i23maus = new Image();
i23maus.src = "../images/impressum_s.gif";
i24normal = new Image();
i24normal.src = "../images/english_n.gif";
i24maus = new Image();
i24maus.src = "../images/english_s.gif";
function highlight(bild) {
	wechsel = eval(bild + "maus.src");
	var Schalter = 1;
	var i;
	if(document.layers)	{
		for(i=0;i<document.layers["super"].document.layers.length;i++){    		
			if(document.layers["super"].document.layers[i].document[bild]){
	   			document.layers["super"].document.layers[i].document[bild].src = wechsel;
	   			Schalter = 0;
	   		}
	   	}
        if(document[bild] && Schalter){
			document[bild].src = wechsel;
		}
	}
	else if (document.all && document[bild]){
		document[bild].src = wechsel;
	}
	return true;
}
function normal(bild) {
	wechsel = eval(bild + "normal.src");
	var Schalter = 1;	
	var i;
	if(document.layers)	{
		for(i=0;i<document.layers["super"].document.layers.length;i++){		
	    	if(document.layers["super"].document.layers[i].document[bild]){
	    		document.layers["super"].document.layers[i].document[bild].src = wechsel;
	    		Schalter = 0;
	    	}
	    }
		if(document[bild] && Schalter){
			document[bild].src = wechsel;
		}
	}
	else if (document.all && document[bild]){
		document[bild].src = wechsel
	}
	return true;
}
var ns6=false;
if (!document.all && !document.layers && document.getElementsByTagName("*")) { 
	document.all = document.getElementsByTagName("*");
	ns6=true;
} 
function calcCenter() {
	if(document.all && !ns6){
		document.all["super"].style.left=(document.body.clientWidth-788)/2;
		document.all["super"].style.top=(document.body.clientHeight-442)/2;
	} 
	if(document.layers) {
		document.layers["super"].left=(window.innerWidth-788)/2;
		document.layers["super"].top=(window.innerHeight-442)/2;
	}
	if(ns6) {
		document.all["super"].style.left=(window.innerWidth-788)/2;
		document.all["super"].style.top=(window.innerHeight-442)/2;
	}
}
function showWindow(was,breite,hoehe){
	if(document.layers) {
		eval("myfwindow=window.open(was,'SCOUTwin','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+(breite-12)+',height='+(hoehe-157));");
	} else {
		eval("myfwindow=window.open(was,'SCOUTwin','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+breite+',height='+hoehe);");
	}
	myfwindow.focus();
}
function extraWindow(was,breite,hoehe){
	if(document.layers) { //für Netscape sind das Außenmaße
		eval("myfwindow=window.open(was,'SCOUTwin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+(breite-12)+',height='+(hoehe-27));");
	} else { //fuer IE sind das Innenmaße
		eval("myfwindow=window.open(was,'SCOUTwin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+breite+',height='+hoehe);");
	}
	myfwindow.focus();
}

