

var isIE     = (navigator.appName.indexOf('Microsoft')   != -1);
var ie4=document.all
var ns6=document.getElementById&&!document.all;

function contentHeight()
{
	if(document.getElementById("content"))
	{
		el=document.getElementById("content");
		var myHeight = 0;
    if( typeof( window.innerHeight ) == 'number' ) 
		{	//Non-IE
      myHeight = window.innerHeight;
    } 
		else if( document.documentElement && ( document.documentElement.clientHeight ) ) 
		{ //IE 6+ in 'standards compliant mode'
      myHeight = document.documentElement.clientHeight;
    }
		else if( document.body && (document.body.clientHeight ) ) 
		{	//IE 4 compatible
      myHeight = document.body.clientHeight - 20;
    }
		
		if(myHeight<500)
		{
			el.className='contentklein';
			el.style.height='';
		}
		else
		{
			if(isIE) myHeight=myHeight+65;
			//width=document.body.clientWidth;
			el.style.height=myHeight-428+'px';	
		}
		
		//el.style.width=width-232+'px';																	
	}
}
