	
	document.write("<style type='text/css'>");
	document.write("#footerLeft { visibility: hidden; }");
	document.write("</style>");	
	
	function openWin(url, x, y) {
		if (x == null) x = 640;
		if (y == null) y = 460;
		window.open(url, 'NewWindow', 'resizable,menubar=yes,height=' + x + ',width=' + y + ',scrollbars=yes') ;
	}
	
	function setFldIn(frm){frm.style.background='#E4E4E4';}
	function setFldOut(frm){frm.style.background='#ffffff';}

	function fInit() { }
	
	
	var winTempHeight = xClientHeight();
		
	function adjustLayout() {
		var winHeight = xClientHeight();
		var diffHeight = xHeight("footerLeft") + 120; //Margin-Top = 120
		var boxLeftHeight = xHeight("contentLeft") + diffHeight;
		if (winHeight > boxLeftHeight || winHeight <= winTempHeight) {
			xHeight("contentLeft", winHeight - diffHeight)
		}
		winTempHeight = winHeight;
		xShow("footerLeft")
	}
	onload = function()
	{
		adjustLayout();
		onresize = function(){adjustLayout();}
	}
