var contentHeight = 330;
var MinContentHeight = 490;

if( navigator.appName == "Microsoft Internet Explorer" &&  navigator.userAgent.indexOf("Mac") > -1  ) MinContentHeight = 450;

if ( self.innerHeight ) { // all except Explorer 
	contentHeight = self.innerHeight;
} else if (document.all){ // Explorer  
	contentHeight = document.documentElement.offsetHeight
} else if (document.documentElement && document.documentElement.clientHeight){// Explorer 6 Strict Mode
	contentHeight = document.documentElement.clientHeight;
} else if (document.body){ // other Explorers
	contentHeight = document.body.clientHeight;
} else {
	contentHeight = innerHeight;
}
contentHeight -= 160;
if ( contentHeight < MinContentHeight ) contentHeight = MinContentHeight;


var REZ_timerID = null;
function REZ_ReloadPage(){
	clearTimeout(REZ_timerID)
	REZ_timerID = setTimeout("window.history.go(0);",400);
}

detectApp = navigator.appName.toLowerCase();
detectOS = navigator.platform.toLowerCase();
if ( ! (checkIt(detectApp,'explorer') && checkIt(detectOS,'mac')) ){
	window.onresize = REZ_ReloadPage;
	document.write( '<STYLE TYPE="text/css">#content {width:675px;  overflow: auto; overflow-x: hidden; overflow-y: auto;  background-color: #ffffff; height:' + contentHeight + 'px; z-index: 121;}</STYLE>');
} else {
	document.write( '<STYLE TYPE="text/css">#content {width:675px;  overflow: visible; overflow-x: hidden; overflow-y: auto;  background-color: #ffffff; height:' + contentHeight + 'px; z-index: 121;}</STYLE>');
}

