function page_init() {
	var win = getWinSize();
	var winH = win.height;
	var newH = winH - 100;
	
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ var ieversion=new Number(RegExp.$1) 
	 if (ieversion>=6) newH = winH - 125;
	}
	
	if(typeof win.innerWidth != 'undefined') newH = newH - 50;
	var col3H = document.getElementById("col3").offsetHeight;
	var col1H = document.getElementById("col1").offsetHeight;
	if(col3H < newH ) document.getElementById("col3").style.height = newH+"px";
	var col3H = document.getElementById("col3").offsetHeight;
	if(col1H < col3H ) document.getElementById("col1").style.height = col3H+"px";
}

////////////////////////////////////////////////////////////
// getWinSize(window)
function getWinSize(win)
{
    if(!win) win = window;
    var s = new Object();
    if(typeof win.innerWidth != 'undefined')
    {
        s.width = win.innerWidth;
        s.height = win.innerHeight;
    }
    else
    {
         var obj = getBody(win);
         s.width = parseInt(obj.clientWidth);
         s.height = parseInt(obj.clientHeight);
    }
    return s;
}
////////////////////////////////////////////////////////////
// Der IE hat 2 verschiedene Objekte für den strict und quirks Mode.
function getBody(w)
{
    return (w.document.compatMode && w.document.compatMode == "CSS1Compat") ? w.document.documentElement : w.document.body || null;
}
