// JavaScript Document
window.onload=resize;

window.onresize=resize;
window.onrefresh=resize;

function resize(){
	var availHeight;
	if (self.innerWidth) availHeight = self.innerHeight; // all except Explorer
	else if (document.documentElement && document.documentElement.clientHeight) availHeight = (document.documentElement.clientHeight); // Explorer 6 Strict Mode
 	else if (document.body)  availHeight = document.body.clientHeight; // other Explorers

	document.getElementById("content").style.height=parseInt(availHeight-349)+"px";
	document.getElementById("rechts").style.height=parseInt(availHeight-104)+"px";
	//document.getElementById("div_content").style.height=parseInt(availHeight - 505)+"px";
	
	//alert(availHeight);

}

