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"){    
  Aon = new Image;
  Aon.src = "/img/fr/inv_amanti_on.gif";
  Bon = new Image;
  Bon.src = "/img/fr/inv_magentis_on.gif";
  Con = new Image;
  Con.src = "/img/fr/inv_rio_on.gif";
  Don = new Image;
  Don.src = "/img/fr/inv_rio5_on.gif";
  Eon = new Image;
  Eon.src = "/img/fr/inv_sedona_on.gif";
  Fon = new Image;
  Fon.src = "/img/fr/inv_sorento_on.gif";
  Gon = new Image;
  Gon.src = "/img/fr/inv_forte_koup_on.gif";
  Hon = new Image;
  Hon.src = "/img/fr/inv_forte_on.gif";
  Ion = new Image;
  Ion.src = "/img/fr/inv_sportage_on.gif";
  Jon = new Image;
  Jon.src = "/img/fr/top_07_on.gif";
  Kon = new Image;
  Kon.src = "/img/fr/top_09_on.gif";
  Lon = new Image;
  Lon.src = "/img/fr/top_10_on.gif";
  Mon = new Image;
  Mon.src = "/img/fr/inv_rondo_on.gif";
  Non = new Image;
  Non.src = "/img/fr/inv_borrego_on.gif";
	Oon = new Image;
  Oon.src = "/img/fr/inv_soul_on.gif";

  Aoff = new Image;
  Aoff.src = "/img/fr/inv_amanti_off.gif";
  Boff = new Image;
  Boff.src = "/img/fr/inv_magentis_off.gif";
  Coff = new Image;
  Coff.src = "/img/fr/inv_rio_off.gif";
  Doff = new Image;
  Doff.src = "/img/fr/inv_rio5_off.gif";
  Eoff = new Image;
  Eoff.src = "/img/fr/inv_sedona_off.gif";
  Foff = new Image;
  Foff.src = "/img/fr/inv_sorento_off.gif";
  Goff = new Image;
  Goff.src = "/img/fr/inv_forte_koup_off.gif";
  Hoff = new Image;
  Hoff.src = "/img/fr/inv_forte_off.gif";
  Ioff = new Image;
  Ioff.src = "/img/fr/inv_sportage_off.gif";
  Joff = new Image;
  Joff.src = "/img/fr/top_07_off.gif";
  Koff = new Image;
  Koff.src = "/img/fr/top_09_off.gif";
  Loff = new Image;
  Loff.src = "/img/fr/top_10_off.gif";
  Moff = new Image;
  Moff.src = "/img/fr/inv_rondo_off.gif";  
  Noff = new Image;
  Noff.src = "/img/fr/inv_borrego_off.gif";  
  Ooff = new Image;
  Ooff.src = "/img/fr/inv_soul_off.gif";  
}

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;
  }
}
