browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if ((browserName == "Netscape" && browserVer >= 3)||
  (browserName == "Microsoft Internet Explorer" && browserVer >=4)) version = "n3";
else version = "x";

if (version == "n3"){ 
  <!--MENU TOP ON-->	
  Aon = new Image;
  Aon.src = "/img/fr/top_03_on.jpg";
  Bon = new Image;
  Bon.src = "/img/fr/top_04_on.jpg";
  Con = new Image;
  Con.src = "/img/fr/top_05_on.jpg";
  Don = new Image;
  Don.src = "/img/fr/top_06_on.jpg";
  Eon = new Image;
  Eon.src = "/img/fr/top_07_on.jpg";
  Fon = new Image;
  Fon.src = "/img/fr/top_08_on.jpg";
  Gon = new Image;
  Gon.src = "/img/fr/top_09_on.jpg";
  Hon = new Image;
  Hon.src = "/img/fr/top_10_on.jpg";
  
  <!--NEW CAR ON-->
  Jon = new Image;
  Jon.src = "/img/fr/inv_02_on.jpg";
  Kon = new Image;
  Kon.src = "/img/fr/inv_03_on.jpg";
  Lon = new Image;
  Lon.src = "/img/fr/inv_20_on.jpg";
  Mon = new Image;
  Mon.src = "/img/fr/inv_21_on.jpg";
  Non = new Image;
  Non.src = "/img/fr/inv_04_on.jpg";
  Oon = new Image;
  Oon.src = "/img/fr/inv_05_on.jpg";
  Pon = new Image;
  Pon.src = "/img/fr/inv_06_on.jpg";
  Qon = new Image;
  Qon.src = "/img/fr/inv_07_on.jpg";
  Ron = new Image;
  Ron.src = "/img/fr/inv_08_on.jpg";
  Son = new Image;
  Son.src = "/img/fr/inv_10_on.jpg";
  Ton = new Image;
  Ton.src = "/img/fr/inv_11_on.jpg";
  Uon = new Image;
  Uon.src = "/img/fr/inv_12_on.jpg";
  Yon = new Image;
  Yon.src = "/img/fr/inv_14_on.jpg";
  Zon = new Image;
  Zon.src = "/img/fr/inv_15_on.jpg";
  AAon = new Image;
  AAon.src = "/img/fr/inv_17_on.jpg";
  
  <!--MENU TOP OFF-->
  Aoff = new Image;
  Aoff.src = "/img/fr/top_03_off.jpg";
  Boff = new Image;
  Boff.src = "/img/fr/top_04_off.jpg";
  Coff = new Image;
  Coff.src = "/img/fr/top_05_off.jpg";
  Doff = new Image;
  Doff.src = "/img/fr/top_06_off.jpg";
  Eoff = new Image;
  Eoff.src = "/img/fr/top_07_off.jpg";
  Foff = new Image;
  Foff.src = "/img/fr/top_08_off.jpg";
  Goff = new Image;
  Goff.src = "/img/fr/top_09_off.jpg";
  Hoff = new Image;
  Hoff.src = "/img/fr/top_10_off.jpg";
 
 <!--NEW CAR OFF-->
  Joff = new Image;
  Joff.src = "/img/fr/inv_02_off.jpg";
  Koff = new Image;
  Koff.src = "/img/fr/inv_03_off.jpg";
  Loff = new Image;
  Loff.src = "/img/fr/inv_20_off.jpg";
  Moff = new Image;
  Moff.src = "/img/fr/inv_21_off.jpg";
  Noff = new Image;
  Noff.src = "/img/fr/inv_04_off.jpg";
  Ooff = new Image;
  Ooff.src = "/img/fr/inv_05_off.jpg";
  Poff = new Image;
  Poff.src = "/img/fr/inv_06_off.jpg";
  Qoff = new Image;
  Qoff.src = "/img/fr/inv_07_off.jpg";
  Roff = new Image;
  Roff.src = "/img/fr/inv_08_off.jpg";
  Soff = new Image;
  Soff.src = "/img/fr/inv_10_off.jpg";
  Toff = new Image;
  Toff.src = "/img/fr/inv_11_off.jpg";
  Uoff = new Image;
  Uoff.src = "/img/fr/inv_12_off.jpg";
  Yoff = new Image;
  Yoff.src = "/img/fr/inv_14_off.jpg";
  Zoff = new Image;
  Zoff.src = "/img/fr/inv_15_off.jpg";
  AAoff = new Image;
  AAoff.src = "/img/fr/inv_17_off.jpg"; 
}

function img_act(imgName){
  if (version == "n3"){
    imgOn = eval(imgName + "on.src");
    document [imgName].src = imgOn;
  }
}

function img_inact(imgName){
  if (version == "n3"){
    imgOff = eval(imgName + "off.src");
    document [imgName].src = imgOff;
  }
}
