// Layout.js - Forces the layout to fit the window when it's shorter than the available height...
Layout = new Object ();
Layout.fixHeight = function (offHeight) {
	var h = 0;
	
	if (navigator.appVersion.indexOf ("MSIE") > -1) {
		h = document.documentElement.clientHeight;
		if (h == 0) {
			h = document.body.clientHeight;
		}
		document.getElementById ("Content").style.height = (h - offHeight) + "px";
	} else {
		h = window.innerHeight;
		document.getElementById ("Layout").style.height = h + "px";
	}
	
};

