if (parseInt(navigator.appVersion.substring(0,1))>=3) {
buton1_on = new Image();   buton1_off = new Image();
buton2_on = new Image();   buton2_off = new Image();
buton3_on = new Image();   buton3_off = new Image();
buton4_on = new Image();   buton4_off = new Image();
buton5_on = new Image();   buton5_off = new Image();
buton6_on = new Image();   buton6_off = new Image();
buton7_on = new Image();   buton7_off = new Image();
buton8_on = new Image();   buton8_off = new Image();
buton9_on = new Image();   buton9_off = new Image();
buton10_on = new Image();   buton10_off = new Image();
buton11_on = new Image();   buton11_off = new Image();
buton12_on = new Image();   buton12_off = new Image();
buton13_on = new Image();   buton13_off = new Image();
buton14_on = new Image();   buton14_off = new Image();
buton1_on.src  = 'img/but/b11.gif';
buton1_off.src = 'img/but/b1.gif';
buton2_on.src  = 'img/but/b22.gif';
buton2_off.src = 'img/but/b2.gif';
buton3_on.src  = 'img/but/b33.gif';
buton3_off.src = 'img/but/b3.gif';
buton4_on.src  = 'img/but/b44.gif';
buton4_off.src = 'img/but/b4.gif';
buton5_on.src  = 'img/but/b55.gif';
buton5_off.src = 'img/but/b5.gif';
buton6_on.src  = 'img/but/b66.gif';
buton6_off.src = 'img/but/b6.gif';
buton7_on.src  = 'img/but/b77.gif';
buton7_off.src = 'img/but/b7.gif';
buton8_on.src  = 'img/but/b88.gif';
buton8_off.src = 'img/but/b8.gif';
buton9_on.src  = 'img/but/b99.gif';
buton9_off.src = 'img/but/b9.gif';
buton10_on.src  = 'img/but/b1010.gif';
buton10_off.src = 'img/but/b10.gif';
buton11_on.src  = 'img/but/b1111.gif';
buton11_off.src = 'img/but/b111.gif';
buton12_on.src  = 'img/but/b1212.gif';
buton12_off.src = 'img/but/b12.gif';
buton13_on.src  = 'img/but/b1313.gif';
buton13_off.src = 'img/but/b13.gif';
buton14_on.src  = 'img/but/b1414.gif';
buton14_off.src = 'img/but/b14.gif';
}

function activate(image) {
  if (parseInt(navigator.appVersion.substring(0,1))>=3) {
      imagesrc = eval(image + "_on.src");
      document[image].src = imagesrc;
  }
}

function deactivate(image) {
  if (parseInt(navigator.appVersion.substring(0,1))>=3) { 
      imagesrc = eval(image + "_off.src");
      document[image].src = imagesrc;
  }
}
