// JavaScript Document
window.onresize = formatPage(); 
	
	function formatPage() {
		
		// GET VIEWPORT HEIGHT WIDTH
		var windowHeight;
		var windowWidth;
		var photoHeight;
		var photoWidth;
		
			// the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
			if (typeof window.innerHeight != 'undefined') {
			  windowHeight = window.innerHeight;
			  windowWidth = window.innerWidth;
			}
			 
			// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)
			else if (typeof window.innerHeight == 'undefined') {
			   windowHeight = document.documentElement.clientHeight;
			   windowWidth = document.documentElement.clientWidth;
			}

		// SET WRAPPER HEIGHT & WIDTH
		//document.getElementById('wrapper').style.height = windowHeight + 'px';
		document.getElementById('contentLeft').style.maxWidth = (windowWidth - 280) + 'px';
		
		
		return;
		
	}
