var elementId = "";
var elementClass = "";
var orgDoc = document; 

window.onload=function(){
Nifty("div.button a,div.loginZelle", "transparent"); 
Nifty("div#menu a", "top transparent");
Nifty("#kopfbereich", "top transparent");
hoeheSetzen();
}
window.onresize=function(){
	hoeheSetzen();
}
function hoeheSetzen() {
	var s = screen.height;
	var wInner =(window.innerHeight);
	if (isNaN(wInner)) {
		wInner = document.body.offsetHeight;
	}	
	var wOut = (window.outerHeight);
	if (isNaN(wOut)) {
		wOut = wInner + 145;
	}
	if (s == wOut) {
		var px = s - (wOut - wInner) - 180;}
	else {
		var px = s - (wOut - wInner) - 150;
	}
	var txt = px + "px";
	
	// document.getElementById("hauptbereich").style.minHeight = txt; 
}	


