//nav4 fix
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  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);

//new window of specific size
function opensizedwindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//rollover text
function rollon() {
  if (event.srcElement.className == "linkblue") {
    event.srcElement.className = "linkred";
    event.srcElement.onmouseout = rolloff;
  }
  else if (event.srcElement.className == "linkred") {
    event.srcElement.className = "linkblue";
    event.srcElement.onmouseout = rolloff;
  }
  else if (event.srcElement.className == "menulink") {
    event.srcElement.className = "menulink1";
    event.srcElement.onmouseout = rolloff;
  }
  }

function rolloff() {
  if (event.srcElement.className == "linkred") {
     event.srcElement.className = "linkblue";
  }
  else if (event.srcElement.className == "linkblue") {
     event.srcElement.className = "linkred";
  }
  else if (event.srcElement.className == "menulink1") {
     event.srcElement.className = "menulink";
     
  }
  }

document.onmouseover = rollon;

<!-- // RightClickMenu

function showmenuie5(){
		var rightedge=document.body.clientWidth-event.clientX
		var bottomedge=document.body.clientHeight-event.clientY
		if (rightedge<ie5menu.offsetWidth)
			ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
		else
			ie5menu.style.left=document.body.scrollLeft+event.clientX
		if (bottomedge<ie5menu.offsetHeight)
			ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
		else
			ie5menu.style.top=document.body.scrollTop+event.clientY
		ie5menu.style.visibility="visible"
		return false
}
function hidemenuie5(){
		ie5menu.style.visibility="hidden"
}
function highlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor="highlight"
			event.srcElement.style.color="white"
		}
}
function lowlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor=""
			event.srcElement.style.color="black"
		}
} 
function jumptoie5(){
		if (event.srcElement.className=="menuitems"){
			if (event.srcElement.url != ''){
				if (event.srcElement.getAttribute("target")!=null)
					window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
				else
					window.location=event.srcElement.url
			}
		}
}
// -->

//pepper countdown

<!-- Hide from old browsers
   now = new Date();
   conradDate = new Date("August 21, 2004");
   days = 24 * 60 * 60 * 1000 ;
   hours = 60 * 60 * 1000 ;
   minutes = 60 * 1000 ;
  
  function countdownpepper(){
// Step 1:
  conraddays = (conradDate.getTime() - now.getTime()) / days;
  conradhours = (conradDate.getTime() - now.getTime()) / hours;
  conradmin = (conradDate.getTime() - now.getTime()) / minutes;
  conradsec = (conradDate.getTime() - now.getTime()) / 1000;
// Step 2:
  conraddays = Math.round(conraddays);
  conradhours = Math.round(conradhours);
  conradmin = Math.round(conradmin);
  conradsec = Math.round(conradsec);
//Step 3:
  document.write(conraddays + " days: " + conradhours + " hours: " + conradmin + " minutes: " + conradsec + " seconds!!");}

//seniorhigh countdown

   fitsDate = new Date("June 20, 2004");
  
  function countdownseniorhigh(){
// Step 1:
  fitsdays = (fitsDate.getTime() - now.getTime()) / days;
  fitshours = (fitsDate.getTime() - now.getTime()) / hours;
  fitsmin = (fitsDate.getTime() - now.getTime()) / minutes;
  fitssec = (fitsDate.getTime() - now.getTime()) / 1000;
// Step 2:
  fitsdays = Math.round(fitsdays);
  fitshours = Math.round(fitshours);
  fitsmin = Math.round(fitsmin);
  fitssec = Math.round(fitssec);
//Step 3:
  document.write(fitsdays + " days: " + fitshours + " hours: " + fitsmin + " minutes: " + fitssec + " seconds!!");}

//son servants countdown

   pfrDate = new Date("July 4, 2004");
  
  function countdownsonservants(){
// Step 1:
  pfrdays = (pfrDate.getTime() - now.getTime()) / days;
  pfrhours = (pfrDate.getTime() - now.getTime()) / hours;
  pfrmin = (pfrDate.getTime() - now.getTime()) / minutes;
  pfrsec = (pfrDate.getTime() - now.getTime()) / 1000;
// Step 2:
  pfrdays = Math.round(pfrdays);
  pfrhours = Math.round(pfrhours);
  pfrmin = Math.round(pfrmin);
  pfrsec = Math.round(pfrsec);
//Step 3:
  document.write(pfrdays + " days: " + pfrhours + " hours: " + pfrmin + " minutes: " + pfrsec + " seconds!!");}
// stop hiding script from old browsers -->
