function getWinHeight() {
	 if (window.innerHeight) return document.documentElement.offsetHeight;
	 else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
	 else return 0;}

function setContentHeight() {
	var contentheight = xHeight('contentcontainer');
	//if (contentheight < 400) contentheight = 400;
	document.getElementById("mitte").style.height = (contentheight-23)+"px";
	//document.getElementById("rechts").style.height = contentheight+"px";
	//document.getElementById("contentcontainer").style.height = contentheight+"px";
	
	}

function setSiteHeight() {
	var seitenhoehe = getWinHeight();
	var fensterhoehe = 0;

	if (self.innerHeight) {fensterhoehe = self.innerHeight;}
	else if (document.documentElement && document.documentElement.clientHeight)	{fensterhoehe = document.documentElement.clientHeight;}

	if (seitenhoehe != 0 && fensterhoehe != 0) {
		if (seitenhoehe < fensterhoehe) {document.getElementById("seite").style.height = fensterhoehe+"px";}}}
		
window.setTimeout("setContentHeight()", 100);
//window.setTimeout("setSiteHeight()", 150);