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"){    
  hom_on = new Image;
  hom_on.src = "/img/en/top_menu_02_on.gif";
  
  fin_on = new Image;
  fin_on.src = "/img/en/top_menu_03_on.gif";
  
  par_on = new Image;
  par_on.src = "/img/en/top_menu_04_on.gif";
  
  tea_on = new Image;
  tea_on.src = "/img/en/top_menu_05b_on.gif";
  
  car_on = new Image;
  car_on.src = "/img/en/top_menu_06_on.gif";
  
  con_on = new Image;
  con_on.src = "/img/en/top_menu_07_on.gif";

  rdt_on = new Image;
  rdt_on.src = "/img/en/top_menu_05_on.gif";



   
  hom_off = new Image;
  hom_off.src = "/img/en/top_menu_02_off.gif";
  
  fin_off = new Image;
  fin_off.src = "/img/en/top_menu_03_off.gif";
  
  par_off = new Image;
  par_off.src = "/img/en/top_menu_04_off.gif";
  
  tea_off = new Image;
  tea_off.src = "/img/en/top_menu_05b_off.gif";
  
  car_off = new Image;
  car_off.src = "/img/en/top_menu_06_off.gif";
  
  con_off = new Image;
  con_off.src = "/img/en/top_menu_07_off.gif";

  rdt_off = new Image;
  rdt_off.src = "/img/en/top_menu_05_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;
  }
}