// JavaScript Document
function winres () {
		
	var winH;
	
	/*
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			winH = window.innerHeight-16;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			winH = document.offsetHeight-20;
		}
	}
	*/
	
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		winH = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		winH = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		winH = document.body.clientHeight;
	}
	
	if (winH < 550) {
		document.getElementById('content').style.height = '550px';
		//document.getElementById('body').style.overflow	= 'auto';
	} else {
		document.getElementById('content').style.height = '100%';
		//document.getElementById('body').style.overflow	= 'hidden';
	}
	
}
