	// Mouseover
	function Bildhigh(welches){
		window.document.images[welches].src = eval(welches + "_h.src");
	}
	function Bildnorm(welches){
		window.document.images[welches].src = eval(welches + "_n.src");
	}

	var ns4 = (document.layers)? 1 : 0;
	var ie4 = (document.all)? 1 : 0;
	var w3c = ((document.getElementById) && (!ie4))?1:0; // ie5 's got getElementbyId as well
		
	function overLayer(layer, view) {
		layer = getLayer(layer);
		layer.visibility = view;
	}
		
	function getLayer(layer) {
		if (ns4) {
			return eval("window.document." + layer);
		} else if(ie4) {
			return eval(layer + ".style");		
		} else if(w3c) {
			return document.getElementById( layer ).style;
		}
	}
	
	function openWindow(url, width, height) {
		FeaturesObj  = "scrollbars=no,status=no,resizable=no,height="+width+",width="+height;
		WindowObj    = window.open(url, '99ps2',FeaturesObj);
		WindowObj.moveTo(170, 170);
		WindowObj.focus();
	}
	
	function openWebsite() {
	
		var winHeight=document.body.clientHeight;
		var winWidth=document.body.clientWidth;
		
		// stellt die Bildschirmabmessungen fest
		var ns6 = (!document.all && document.getElementById);
		var ie4 = (document.all);
		var ns4 = (document.layers);

		if(ns6||ns4) {
			var sbreite = innerWidth;
			var shoehe = innerHeight;
		} else if(ie4) {
			var sbreite = document.body.clientWidth;
			var shoehe = document.body.clientHeight;
		}

		// Fensterpossition linke obere Ecke
		var x = (sbreite-1015)/2;
		var y = (shoehe-594)/2;
		
		ftrObj = "scrollbars=no,status=yes,menubar=yes,resizable=no,height=594,width=1015";
	
	
		wndObj = window.open("agentur.html", '99ps',ftrObj);
		wndObj.moveTo(x-2,y);
		wndObj.focus();
	}	
