function resize_iframe() {
//document.getElementByName('iframe_inhalt').height = '300px';
//document.all(0).document.body.scrollHeight;

if(document.all)
	var newHeight = document.documentElement.clientHeight-176+'px';
else
	var newHeight = window.innerHeight-176+'px';
//alert(newHeight)
if(document.all)
	var newWidth = document.documentElement.clientWidth-209+'px';
else
	var newWidth = window.innerWidth-209+'px';


document.getElementsByTagName("iframe")[0].style.height = newHeight;

document.getElementsByTagName("iframe")[0].style.width =  newWidth;

if(document.all)
	var menuHeight = document.documentElement.clientHeight-175+'px';
else
	var menuHeight = window.innerHeight-175+'px';

document.getElementById("submenubox").style.height = menuHeight;

var iframe = document.getElementsByTagName("iframe")[0];

iframe.style.margin = '0px';
iframe.style.padding = '0px';

document.getElementById('contentbox').style.paddingTop = '0px';
document.getElementById('contentbox').style.marginTop = '0px';
document.getElementById('contentbox').style.height = 'auto';
document.getElementById('contentbox').style.overflow = 'hidden';

}


var onloadFunc = window.onload;
window.onload = function(){
	resize_iframe();
	if(typeof onloadFunc == 'function')
		onloadFunc.call(window);
}

var onresizeFunc = window.onresize
window.onresize = function(){
	resize_iframe();
	if(typeof onresizeFunc == 'function')
		onresizeFunc.call(window);
}

