browserName=navigator.appName; 
browserVer=parseInt(navigator.appVersion);

  if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))    
  version="n3";
  else
    version="n2";

  if (version=="n3")
   {

     pic1on= new Image();
     pic1on.src="images/buttons/home_on.gif";  
     pic2on= new Image(); 
     pic2on.src="images/buttons/dogscooping_on.gif"; 
     pic3on= new Image(); 
     pic3on.src="images/buttons/rates_on.gif"; 
     pic4on= new Image(); 
     pic4on.src="images/buttons/faq_on.gif"; 
     pic5on= new Image(); 
     pic5on.src="images/buttons/health_on.gif"; 
     pic6on= new Image(); 
     pic6on.src="images/buttons/contact_on.gif"; 
     pic7on= new Image(); 
     pic7on.src="images/buttons/aboutus_on.gif"; 
     pic8on= new Image(); 
     pic8on.src="images/buttons/links_on.gif"; 
     
     pic1off= new Image();
     pic1off.src="images/buttons/home.gif";  
     pic2off= new Image(); 
     pic2off.src="images/buttons/dogscooping.gif"; 
     pic3off= new Image(); 
     pic3off.src="images/buttons/rates.gif"; 
     pic4off= new Image(); 
     pic4off.src="images/buttons/faq.gif"; 
     pic5off= new Image(); 
     pic5off.src="images/buttons/health.gif"; 
     pic6off= new Image(); 
     pic6off.src="images/buttons/contact.gif"; 
     pic7off= new Image(); 
     pic7off.src="images/buttons/aboutus.gif"; 
     pic8off= new Image(); 
     pic8off.src="images/buttons/links.gif"; 


   }

function lightup(imgName)
 {
   if (version=="n3")
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (version=="n3")
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }
