<!--

// browser detection:
var ua = navigator.userAgent;
var ie4 = (document.all)?1:0;
var ns = (navigator.appName.toLowerCase().indexOf("netscape")!=-1)?1:0;
var ns4 = (document.layers)?1:0;
var ns6 = (document.getElementById && ns)?1:0;
var mac = (navigator.userAgent.toLowerCase().indexOf("mac")!=-1)?1:0;
var macie4 = (mac && !ns && parseInt(ua.substr(ua.indexOf("MSIE")+4,2)) <= 4)?1:0;
var macie = (mac && !ns)?1:0;
var opera=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1)?1:0;


// START: fixing the 100% content >>>
//getting the content height:
var contH="100%"
var headerH=150;
var footerH=100;

//call this function after open <BODY>; you can use then the variable "contH"
function GetContentH(){
	if (ns) contH=window.innerHeight-headerH-footerH;
	else if (ua.toLowerCase().indexOf("windows")<0) contH=document.body.clientHeight-headerH-footerH;
}
// <<< END: fixing the 100% content


// START: fixing the page content on resize >>>
FixNSWindow();
function FixNSWindow() {
	if (ns6 || ns && (parseInt(navigator.appVersion) == 4)) {
		if (typeof document.NS == 'undefined') document.NS = new Object;
		if (typeof document.NS.NS_scaleFont == 'undefined') {
			document.NS.FixCssInNS = new Object;
			document.NS.FixCssInNS.initWindowWidth = window.innerWidth;
			document.NS.FixCssInNS.initWindowHeight = window.innerHeight;
		}
		window.onresize = FixCssInNS;
	}
}
function FixCssInNS() {
	if (document.NS.FixCssInNS.initWindowWidth != window.innerWidth || document.NS.FixCssInNS.initWindowHeight != window.innerHeight) document.location = document.location;
}
ReloadWindow();
function ReloadWindow(){if (!ns && (ua.toLowerCase()).indexOf("windows")<0) setTimeout("window.onresize=new Function('window.location.reload()')",200);}
// <<< END: fixing the page content on resize

//-->
