//***********************************************var platform;	if (navigator.appVersion.indexOf("95") != -1) platform = "PC";	if (navigator.appVersion.indexOf("2000") != -1) platform = "PC";	if (navigator.appVersion.indexOf("98") != -1) platform = "PC";    if (navigator.appVersion.indexOf("16") != -1) platform = "PC";	if (navigator.appVersion.indexOf("NT") != -1) platform = "PC";    if (navigator.appVersion.indexOf("PPC") != -1) platform = "Mac";	if (navigator.appVersion.indexOf("PowerPC") != -1) platform = "Mac";var browser = navigator.appName;	if (browser=="Microsoft Internet Explorer") this.browser = "ie";	else if (browser=="Netscape") this.browser = "ns";//----------------------------------------------------------//FUNCTION FIX CSS FOR NETSCAPEfunction nsFix() {  // This function checks to make sure the version of Netscape   // in use contains the bug; if so, it records the window's   // width and height and sets all resize events to be handled   // by the netscapeCssFix() function.  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {    if (typeof document == 'undefined'){      document = new Object;    }    if (typeof document.scaleFont == 'undefined') {      document.netscapeCssFix = new Object;      document.netscapeCssFix.initWindowWidth = window.innerWidth;      document.netscapeCssFix.initWindowHeight = window.innerHeight;    }    window.onresize = netscapeCssFix;  }}function netscapeCssFix() {  // This part gets around another unfortunate bug whereby Netscape   // fires a resize event when the scrollbars pop up. This   // checks to make sure that the window's available size   // has actually changed.  if (document.netscapeCssFix.initWindowWidth != window.innerWidth || document.netscapeCssFix.initWindowHeight != window.innerHeight) {    document.location = document.location;  }}//END FUNCTION FIX CSS//FUNCTION TO HIDE AND SHOW POP up LAYERSfunction MM_showHideLayers(layername,vis){		if(vis == "show")		{			//IE			if(document.all) {				document.all[layername].style.visibility = "visible";			}			//NS			else if(document.layers) {				document.layers[layername].visibility = "visible";			}			//NS6			else if(document.getElementById) {				document.getElementById(layername).style.visibility = "visible";			}		}		else		{			//IE			if(document.all) {				document.all[layername].style.visibility = "hidden";			}			//NS			else if(document.layers) {				document.layers[layername].visibility = "hidden";			}			//NS6			else if(document.getElementById) {				document.getElementById(layername).style.visibility = "hidden";			}		}	}//BEST COMPROMISE, just have pop up LAYERS time out ...fixes flicker problem in IEfunction whilez(layername,time){	 window.setTimeout('MM_showHideLayers("' +layername+ '","hide")', time);}//FUNCTION IMAGE SWAP2 ONMOUSE for the netscape layers 	function swap2(imgname,imgB)		{				//IE			if(document.all) {				document.all[imgname].src = eval(imgB + ".src");						}			//NS			else if(document.layers) {				document.wwlayer.document[imgname].src = eval(imgB + ".src");			}			//NS6			else if(document.getElementById) {				document[imgname].src = eval(imgB + ".src");			}			}//END FUNCTION IMAGE SWAP2// library code to access layer objectsvar agt = navigator.userAgent.toLowerCase();var ver = parseInt(navigator.appVersion);// redirect old browsers//if (ver < 4){	//alert('We dont support old browsers! Go get a newer one.');	//location.replace('http://www.microsoft.com/ie/');// set variable names for accepted browsers//} else {	var is_nav = false, is_nav4 = false, is_nav6 = false, is_ie = false;		if ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('compatible') == -1)){			is_nav = true;				if(agt.indexOf('netscape6')!=-1){			is_nav6 = true;		} else{			is_nav4 = true;		}			} else if (agt.indexOf("msie") != -1){		is_ie = true;	}//}// utility function to return available content width space in browser windowfunction getInsideWidth(){	if (is_nav){		return window.innerWidth;	} else {		return document.body.clientWidth;	}}// utility function to set style properties in 3 browsersfunction setIdProperty(id, property, value ){       if (is_nav6){        var styleObject = document.getElementById(id);        if (styleObject != null)        {            styleObject = styleObject.style;            styleObject[property] = value;        }		    } else if (is_nav4){        document[id][property] = value;    	} else if (is_ie){         document.all[id].style[property] = value;    }}// extract parameters from the URL and store in params objvar urlArray = location.href.split('?');if (urlArray[1]){	var qs = true;	var fIndex = urlArray[1].substring(2);	} else {	var fIndex = 1;}var layerArray = new Array();if (fIndex == 1){	layerArray[0] = 'wwlayer';} else if (fIndex < 4) {	layerArray[0] = 'wwlayer';} else {	layerArray[0] = 'wwlayer';}// function to center a layerfunction centerIt(){			// cycle through all layers to move	for(i=0; i<layerArray.length; i++){				var layer = layerArray[i];		var objWidth = 600; // set this param to width of main div's		var x = Math.round((getInsideWidth()/2) - (objWidth/2));		setIdProperty(layer, "left", x);	}	}// function to reload page to fix netscapefunction reloadScreen(){		location.reload();}