function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//
// reload on nn4 if it's the site entry page
//

function maybeReload() {
if ( (document.layers)&&(location.href.indexOf('index')!=-1)&&(location.search.indexOf('reloaded=yes')==-1) ) {
	if (location.search == '') { 
		location.href = location.href + '?reloaded=yes'; 
		} else {
		location.href = location.href + '&reloaded=yes';
		}
	}
}

//
// set another background @ browser that are non-nn4
//

function checkBrowsers() {}
	var isDOM = document.getElementById ? true:false;
	var isNN4 = document.layers ? true:false;
	var isIE4 = document.all ? true:false;
	var isOpr = false;
	var isMac = false;
	if (isDOM && isIE4) {var isIE5up = true; isIE4 = false; isDOM =false;} else {var isIE5up = false;}
	if (navigator.userAgent.indexOf('Opera') != "-1") {isOpr = true; isDOM=false; isNN4=false; isIE4=false; isIE5up=false;}
	if (navigator.userAgent.indexOf('Mac') != "-1") {isMac = true;}

checkBrowsers();

//
// bottom navigation bar
//
function setBottomBar() {

if (isDOM||isNN4) { pageHeight=innerHeight; }
if (isIE5up||isIE4) { pageHeight=document.body.clientHeight; }
if (isOpr) { pageHeight=outerHeight; }

// place the element;

if (isNN4) { document['bottomBar'].top = pageHeight-27+pageYOffset; }
if (isDOM) { document.getElementById('bottomBar').style.top = pageHeight-27+pageYOffset; }
if ((isIE5up||isIE4)&&(!isMac)) { bottomBar.style.top = (pageHeight-27+document.body.scrollTop)+'px'; }
if ((isIE5up||isIE4)&&(isMac)) { bottomBar.style.top = (pageHeight-27+document.body.scrollTop)+'px'; }
if (isOpr) { bottomBar.style.top = (pageHeight-80+document.body.scrollTop)+'px'; }

// ...and call it again in the interrupt

updateMenubar=window.setTimeout('setBottomBar()',250);
return;
}