bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) ||
    (bName == "Microsoft Internet Explorer" && bVer >= 4)) br ="n3";
        
else br = "n2";

if (br == "n3") {
  image1on = new Image();   image1on.src = "assets/images/nav-home-on.gif";  
  image1off = new Image();  image1off.src = "assets/images/nav-home.gif";
  image2on = new Image();   image2on.src = "assets/images/nav-about-on.gif";
  image2off = new Image();  image2off.src = "assets/images/nav-about.gif";
  image3on = new Image();   image3on.src = "assets/images/nav-services-on.gif";
  image3off = new Image();  image3off.src = "assets/images/nav-services.gif";
  image4on = new Image();   image4on.src = "assets/images/nav-press-on.gif";
  image4off = new Image();  image4off.src = "assets/images/nav-press.gif";
  image5on = new Image();   image5on.src = "assets/images/nav-contact-on.gif";  
  image5off = new Image();  image5off.src = "assets/images/nav-contact.gif";  
  image6on = new Image();   image6on.src = "assets/images/bottom-customer-support-on.gif";  
  image6off = new Image();  image6off.src = "assets/images/bottom-customer-support.gif"; 
  image7on = new Image();   image7on.src = "assets/images/bottom-cancel-membership-on.gif";  
  image7off = new Image();  image7off.src = "assets/images/bottom-cancel-membership.gif";     
}

function imgAct(imageName) {
  if (br =="n3") {
  document[imageName].src = eval(imageName + "on.src");
  }
}


function imgInact(imageName) {
   if (br == "n3") {
   document[imageName].src = eval(imageName + "off.src");
   }
}

function openContentWindow(URL) {
        day = new Date();
        id = day.getTime();
        eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=700,height=500,left=0,top=0');");
}
