var hoehe;
function heightFixImage(){
	if (document.getElementById){
		if(navigator.appName == 'Netscape'){
			var hoehe= window.innerHeight;
			document.write("<table cellspacing='0' cellpadding='0' border='0' width='100%' height='" + hoehe + "'>");
			}
		else{
			var hoehe=document.body.offsetHeight;
			document.write("<table cellspacing='0' cellpadding='0' border='0' width='100%' height='" + hoehe + "'>");
		}
	}
	if (document.layers){
		var hoehe= window.innerHeight;
		document.write("<table cellspacing='0' cellpadding='0' border='0' width='100%' height='" + hoehe + "'>");
		}
	}

function heightFix(imgurl, imgbreite, imgurl1, imgbreite1){
	if (document.getElementById){
		var breite=document.body.offsetWidth;
		if(breite <= 750){
			document.write("<img src='" + imgurl1 + "' name='foto' width='" + imgbreite1 + "' border='0' alt='' style='float: right;'>");
		}
		else{
			document.write("<img src='" + imgurl + "' name='foto' border='0' alt='' style='float: right;'>");
		}
	}
	if (document.layers){
		var breite= window.innerWidth;
		if(breite <= 800){
			document.write("<img src='" + imgurl1 + "' name='foto' width='" + imgbreite1 + "' border='0' alt='' style='float: right;'>");
		}
		else{
			document.write("<img src='" + imgurl + "' name='foto' border='0' alt='' style='float: right;'>");
		}
	}
}
function scaleImg(imgurl, imgbreite, imgurl1, imgbreite1){
	if (document.getElementById){
		var hoehe=document.body.offsetHeight;
		if(hoehe <= 425){
			document.write("<img src='" + imgurl1 + "' name='foto' width='" + imgbreite1 + "' border='0' alt=''>");
		}
		else{
			document.write("<img src='" + imgurl + "' name='foto' border='0' alt=''>");
		}
	}
	if (document.layers){
		var hoehe= window.innerHeight;
		if(hoehe <= 425){
			document.write("<img src='" + imgurl1 + "' name='foto' width='" + imgbreite1 + "' border='0' alt=''>");
		}
		else{
			document.write("<img src='" + imgurl + "' name='foto' border='0' alt=''>");
		}
	}
}
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);
}

/*Überwachung von Netscape initialisieren*/
if(!window.Weite && window.innerWidth){
	window.onresize = neuAufbau;
	Weite = Fensterweite();
	Hoehe = Fensterhoehe();
}
/*Überwachung von IE initialisieren*/
function IEgoresize(){
	if(!window.Weite && document.body && document.body.offsetWidth){
		window.onresize = neuAufbau;
		Weite = Fensterweite();
		Hoehe = Fensterhoehe();
	}
}
