if(navigator.appVersion.charAt(0) >= "3"){
  img = new Array();
//<!-------------メニュー1~8-------------------->
  img[1] = new Image; img[1].src = "images/menu1.gif";
  img[2] = new Image; img[2].src = "images/menu2.gif";
  img[3] = new Image; img[3].src = "images/menu3.gif";
  img[4] = new Image; img[4].src = "images/menu4.gif";
  img[5] = new Image; img[5].src = "images/menu5.gif";
  img[6] = new Image; img[6].src = "images/menu6.gif";
  img[7] = new Image; img[7].src = "images/menu7.gif";
  img[8] = new Image; img[8].src = "images/menu8.gif";
//<!-------------メニュー2 9~16-------------------->
  img[9] = new Image; img[9].src = "images/menu12.gif";
  img[10] = new Image; img[10].src = "images/menu22.gif";
  img[11] = new Image; img[11].src = "images/menu32.gif";
  img[12] = new Image; img[12].src = "images/menu42.gif";
  img[13] = new Image; img[13].src = "images/menu52.gif";
  img[14] = new Image; img[14].src = "images/menu62.gif";
  img[15] = new Image; img[15].src = "images/menu72.gif";
  img[16] = new Image; img[16].src = "../images_main/menu82.gif";
//<!-------------メニュー3 9~16-------------------->
  img[17] = new Image; img[17].src = "images/sankaku1.gif";
  img[18] = new Image; img[18].src = "images/sankaku2.gif";
  img[19] = new Image; img[19].src = "images_main/menu12.gif";
  img[20] = new Image; img[20].src = "images_main/menu12.gif";
  img[21] = new Image; img[21].src = "images_main/menu12.gif";
  img[22] = new Image; img[22].src = "images_main/menu12.gif";
  img[23] = new Image; img[23].src = "images_main/menu12.gif";
  img[24] = new Image; img[24].src = "images_main/menu12.gif";
}
function chg_menu(a,b){  //a
  if(navigator.appVersion.charAt(0) >= "3"){
    document.images["img" +a].src=img[b].src;
  }
}
