	// This var REQUIRED here in common.js, as it is referenced from init() in config.js!
var FLASH = false;

	// Note that because of some strange quirk in I.E. caused by the fact that I've used
	// float: left in #contents, the display will cause contents to float BELOW the leftsidebar
	// contents, unless I call TL_resize() onload of every page!!!
function TL_resize()
{
		// Simple simple check to reset the "maxwidth" for IE browsers, if the
		// user resizes his/her browser wider than the desired maximum of 800px!!!
		// Note that I attempted to do this in css, but then I lose my liquid columns!!!
		// This is only a problem PAST 800 px!
		// The # 610 is magical --> 800 - left column - right column (190) ...
	if (navigator.appName == "Microsoft Internet Explorer") {
		w = document.getElementById("Contents").style.width;
		if ((document.body.clientWidth > 800) || (w > ""))	{
		// clientWidth - 20
			w = Math.min(document.body.clientWidth , 800);
		      document.getElementById("Contents").style.width = +w+"px";
		}
	}
		// Move the menu bars directly over top the contents!
    document.getElementById("MMenu").style.left =  document.getElementById("container").offsetLeft;
    document.getElementById("MMenuShadow").style.left =  document.getElementById("container").offsetLeft;
    document.getElementById("MMenuI").style.left =  document.getElementById("container").offsetLeft;
    document.getElementById("MMenuIS").style.left =  document.getElementById("container").offsetLeft;
    document.getElementById("MMenu2").style.left =  document.getElementById("container").offsetLeft + 402;
    document.getElementById("MMenuShadow2").style.left =  document.getElementById("container").offsetLeft + 402;
    document.getElementById("MMenuI2").style.left =  document.getElementById("container").offsetLeft + 402;
    document.getElementById("MMenuIS2").style.left =  document.getElementById("container").offsetLeft + 402;
/*
menus[0].shadow.id = "MMenuShadow";
menus[0].iframe.id = "MMenuI";
menus[0].siframe.id = "MMenuIS";
*/
}

function TL_onload() {
		contents_y = document.getElementById("contents").offsetHeight;
		left_y = document.getElementById("left").offsetHeight;
		footer_y = Math.max(contents_y,left_y) + 160;  // 160 for header
		document.getElementById("footer").style.top = +footer_y+"px";
//		alert(document.getElementById("footer").style.top);
//		alert(contents_y+" Left "+left_y+" WIN "+document.body.clientHeight); 

		// Load the menus!
//init();
}

