function content_size() {
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) { //Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	ie4 = (document.all) ? true:false
	ns6 = (!document.all && document.getElementById) ? true:false
	if (ie4) { 
		contentdiv = document.all["content"];
		outerdiv = document.all["outer"];
	}
	else if (ns6) {
		contentdiv = document.getElementById("content");
		outerdiv = document.getElementById("outer");
	}
	if (myWidth > 703 && myHeight > 485) {
		if (myHeight > myWidth * 0.689) {
			newwidth = myWidth * 0.90;
			newheight = newwidth * 0.689;
		}
		else {
			newheight = myHeight * 0.90; // percentage height to take up in the screen
			newwidth = newheight * 1.45;
		}
		contentdiv.style.height = newheight;
		contentdiv.style.width = newwidth;
		outerdiv.style.height = newheight;
		newtop = (0.5 * myHeight) - (outerdiv.style.height.substring(0, outerdiv.style.height.length - 2)/2);
	}
	else if (myWidth > 703 && myHeight <= 485) {
		contentdiv.style.height = 485;
		contentdiv.style.width = 703;
		outerdiv.style.height = 485;
		newtop = 0;
	}
	else if (myWidth <= 703 && myHeight > 485) {
		contentdiv.style.height = 485;
		contentdiv.style.width = 703;
		outerdiv.style.height = 485;
		newtop = (0.5 * myHeight) - (outerdiv.style.height.substring(0, outerdiv.style.height.length - 2)/2);
	}
	outerdiv.style.top =  newtop + 'px';
}