
	// All BROWSERS 4 AND ABOVE (inc netscape 6)

	// This script is needed as a work around to Netcape's resizing problem
	function reloadPage(init) 

	{ if (init==true) with (navigator) { if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }} else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();} reloadPage(true);

// tests which browser is viewing the page

 	ns4 = (document.layers)? true:false
	ie4 = (document.all)? true:false
	ns6 = (document.getElementById)? true:false
	
// Generic show Layers/Div function for all browsers which can be used independently from showHide()
	function show(id) {
		if (ns4) document.layers[id].visibility = "show";
		else if (ie4) document.all[id].style.visibility = "visible";
	 	else if (ns6) document.getElementById(id).style.visibility = "visible";
	}
	
// Generic Hide Layers/Div function for all browsers which can be used independently from showHide()	
	function hide(id) {
		if (ns4) document.layers[id].visibility = "hide";
		else if (ie4) document.all[id].style.visibility = "hidden";
		else if (ns6) document.getElementById(id).style.visibility = "hidden";
	}	