if (parseInt(navigator.appVersion.substring(0,1))>=3) {

  hpoff = new Image();
  hpoff.src = "images/hpoff.gif";
  hpon = new Image();
  hpon.src = "images/hpon.gif";
  cuoff = new Image();
  cuoff.src = "images/cuoff.gif";
  cuon = new Image();
  cuon.src = "images/cuon.gif";
  defoff = new Image();
  defoff.src = "images/defoff.gif";
  defon = new Image();
  defon.src = "images/defon.gif";
  mwoff = new Image();
  mwoff.src = "images/mwoff.gif";
  mwon = new Image();
  mwon.src = "images/mwon.gif";
  galoff = new Image();
  galoff.src = "images/galoff.gif";
  galon = new Image();
  galon.src = "images/galon.gif";
  inqoff = new Image();
  inqoff.src = "images/inqoff.gif";
  inqon = new Image();
  inqon.src = "images/inqon.gif";
  liboff = new Image();
  liboff.src = "images/liboff.gif";
  libon = new Image();
  libon.src = "images/libon.gif";
  pcoff = new Image();
  pcoff.src = "images/pcoff.gif";
  pcon = new Image();
  pcon.src = "images/pcon.gif";
  vpoff = new Image();
  vpoff.src = "images/vpoff.gif";
  vpon = new Image();
  vpon.src = "images/vpon.gif";
  wioff = new Image();
  wioff.src = "images/wioff.gif";
  wion = new Image();
  wion.src = "images/wion.gif";

  }

function switchto(name, on) {
if (parseInt(navigator.appVersion.substring(0,1))>=3) {
    image = eval(name + (on == 1 ? "on.src" : "off.src"));
    document[name].src = image;
  }
}


