	function fixHeight()
	{
	
		var pageWrapper = document.getElementById("PAGEWRAPPER");
		
		// The height of the browser
		var browserHeight = document.body.clientHeight;
		
		var bottomRightHeight = browserHeight - 376; // 376 = header
		
		var leftHeight = parseInt(document.getElementById("BOTTOMLEFT").offsetHeight);
/*		
		var leftHeight = 0;
		leftHeight = leftHeight + parseInt(document.getElementById("CONTENTWRAPPER").offsetHeight);
		leftHeight = leftHeight + parseInt(document.getElementById("BOTTOMLEFTCORNER").offsetHeight);
		
		var photoHeight = parseInt(document.getElementById("REFERENCEPHOTO").offsetHeight);
		alert(photoHeight);
		var imageHeight = parseInt(document.getElementById("REFERENCEIMAGETAG").offsetHeight);
		alert(imageHeight);
*/		

		
		var rightHeight = parseInt(document.getElementById("BOTTOMRIGHT").offsetHeight);
		
		
		if(rightHeight < bottomRightHeight && leftHeight < bottomRightHeight)
		{
			document.getElementById("BOTTOMRIGHT").style.height = bottomRightHeight + "px";
			document.getElementById("BOTTOMLEFT").style.height = bottomRightHeight + "px";
		}
		else if(rightHeight >= leftHeight)
		{
			// The right side is the largest side, we'll use this height
			document.getElementById("BOTTOMLEFT").style.height = rightHeight + "px";
		}
		else if(leftHeight > rightHeight)
		{
			// The left side is the largest side, we'll use this height
			document.getElementById("BOTTOMRIGHT").style.height = leftHeight + "px";			
		}
		
		var contentHeight = parseInt(document.getElementById("BOTTOMLEFT").offsetHeight) - 198;
		document.getElementById("CONTENTWRAPPER").style.height = contentHeight + "px";
		
	}

