/////////////////////////////////////////////////////////////////////////////////////////fenster kurz verkleinern und wieder vergrössern, damit die scrollbalken //auch unter mac ie 5.0 angezeigt werdenfunction shake(){	if (navigator.platform.indexOf("Win") == -1){		if(document.all){			pos = navigator.appVersion.indexOf("MSIE");			version = navigator.appVersion.substring(pos+5,pos+8);			if(version*1>=5){				parent.window.resizeBy(0,-1);				parent.window.resizeBy(0,1);			}		}	}}/////////////////////////////////////////////////////////////////////////////////////////content-tabelle zu beginn positionierenfunction positionieren(){if(document.all){	pos = navigator.appVersion.indexOf("MSIE");	version = navigator.appVersion.substring(pos+5,pos+8);	if(version*1<5){		window.onresize = postab;	}}//if (navigator.platform.indexOf("Win") == -1){	//mac	if(document.all){		//internet explorer		pos = navigator.appVersion.indexOf("MSIE");		version = navigator.appVersion.substring(pos+5,pos+8);		if(version*1<5){			abstand = (top.kopf.document.body.clientWidth/2)-300;			document.write("<div id='alles' style='position:absolute;width:600;height:100%;background-color:#FFFFFF;top:0px;left:"+abstand+"px'>");			document.write("<table bgcolor='#FFFFFF' width='600px' border='0' cellspacing='0' cellpadding='0' align='center'>");		} else {			if(navigator.userAgent.indexOf("Opera") == -1){				abstand = (top.kopf.document.body.clientWidth/2)-300;				document.write("<div id='alles' style='position:absolute;width:600;height:20;background-color:#FFFFFF;top:0px;left:"+abstand+"px'>");				document.write("<table bgcolor='#FFFFFF' width='600px' height='100%' cellspacing='0' cellpadding='0' border='0' align='center'>");			} else {				document.write("<table bgcolor='#FFFFFF' width='600px' height='100%' cellspacing='0' cellpadding='0' border='0' align='center'>");			}		}	} else if (document.getElementById){		abstand = (top.kopf.window.innerWidth / 2)-300;		document.write("<div id='alles' style='position:absolute;width:600;height:100%;background-color:#FFFFFF;top:0px;left:"+abstand+"px'>");		document.write("<table bgcolor='#FFFFFF' width='600px' cellspacing='0' cellpadding='0' border='0' align='center'>");	} else if (document.layers){		document.write("<table bgcolor='#FFFFFF' width='600px' cellspacing='0' cellpadding='0' height='100%' border='0' align='center'>");	}} else {	//win	if(document.all){		if(navigator.userAgent.indexOf("Opera") == -1){			document.write("<table bgcolor='#FFFFFF' width='600px' height='100%' cellspacing='0' cellpadding='0' border='0' align='center'>");		} else {			abstand = (top.kopf.document.body.clientWidth/2)-300;			document.write("<div id='alles' style='position:absolute;width:600;height:100%;background-color:#FFFFFF;top:0px;left:"+abstand+"px'>");			document.write("<table bgcolor='#FFFFFF' width='600px' cellspacing='0' cellpadding='0' border='0' align='center'>");		}	} else if (document.getElementById){		abstand = (top.kopf.window.innerWidth / 2)-300;		document.write("<div id='alles' style='position:absolute;width:600;height:100%;background-color:#FFFFFF;top:0px;left:"+abstand+"px'>");		document.write("<table bgcolor='#FFFFFF' width='600px' cellspacing='0' cellpadding='0' border='0' align='center'>");	} else if (document.layers){		document.write("<table bgcolor='#FFFFFF' width='600px' height='100%' cellspacing='0' cellpadding='0' border='0' align='center'>");	}}}/////////////////////////////////////////////////////////////////////////////////////////div-endtag setzenfunction enddiv(){if (navigator.platform.indexOf("Win") == -1){	//mac	if(document.all){		//internet explorer		pos = navigator.appVersion.indexOf("MSIE");		version = navigator.appVersion.substring(pos+5,pos+8);		if(version*1<5){			document.write("<\/div>");		} else {			if(navigator.userAgent.indexOf("Opera") == -1){				document.write("<\/div>");			}		}	} else if (document.getElementById){		document.write("<\/div>");	}} else {	//win	if(document.all){		if(navigator.userAgent.indexOf("Opera") != -1){			document.write("<\/div>");		}	} else if (document.getElementById){		document.write("<\/div>");	}}}/////////////////////////////////////////////////////////////////////////////////////////content-tabelle positionierenfunction postab(){	if(document.all && navigator.platform.indexOf("Win") == -1){		document.all['alles'].style.pixelLeft = (top.kopf.document.body.clientWidth/2)-300;	} else if (document.getElementById && navigator.appVersion.indexOf("MSIE")==-1){		document.getElementById('alles').style.left = (top.kopf.window.innerWidth / 2)-300;	} else {		;	}}/////////////////////////////////////////////////////////////////////////////////////////das alt-bekannte resize-problem des netscapefunction Fensterweite() { 	if (window.innerWidth) return window.innerWidth; 	else if (document.body && document.body.offsetWidth) return document.body.offsetWidth; 	else return 0;}function Fensterhoehe() {	if (window.innerHeight) return window.innerWidth;	else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;	else return 0;}function neuAufbau(){	if (Weite != Fensterweite() || Hoehe != Fensterhoehe())	window.history.go(0);}if(!window.Weite && window.innerWidth){	if(navigator.appVersion.substring(0,1)<=4){		window.onresize = neuAufbau;		Weite = Fensterweite();		Hoehe = Fensterhoehe();	}}//////////////////////////////////////////////////////////////////////////////////////////popup-funktionfunction popup(url,parameter) {	gallerie = window.open(url, "popup", parameter)	gallerie.focus();}//////////////////////////////////////////////////////////////////////////////////////////damit wird gewŠhrleistet, dass auch einzeln aufgerufene seiten immer ihre frameumgebung//dazuladen. function nichtOhneMeineFrames() {	var seite = document.URL.substring(document.URL.lastIndexOf('content/')+8);	if (!top.frames["kopf"]) {		if(seite!=''){			top.location.href = "../temp.htm?"+seite;		}	}}//////////////////////////////////////////////////////////////////////////////////////////function, welche die einzeln aufgerufene seite in main-frame lŠdtfunction nachladen(){	if (window.location.search != ""){		var site = window.location.search.substring(1);			if (site) {			this.frames["content"].location.href = "content/"+site;		}	}}