function getBrowserHeight() {
	if(navigator.userAgent.indexOf('MSIE') > -1){
		return document.documentElement.clientHeight;
	}
	else {
	//if(navigator.userAgent.indexOf('Gecko') > -1){
		return window.innerHeight;
	}
}

function setContainerHeight() {
	buehneY = getBrowserHeight()
	if(!document.getElementById("container-inner")) {
		return;
	}
	elementHeight = document.getElementById("container-inner").offsetHeight;
//alert("bühne:"+buehneY+" el:"+elementHeight);
	if(elementHeight<=buehneY) {
		document.getElementById("container-inner").style.height=buehneY+"px";
	}
}
setContainerHeight();

window.onresize = setContainerHeight;
