function change_image(nam,num) {
if(navigator.appVersion.charAt(0) >= 3) {
 document.images[nam].src = img[num].src;
   }
}



if(navigator.appVersion.charAt(0) >= 3) {
 var img = new Array();

/*　ヘッダーメニュー　*/
 img[0] = new Image();  img[0].src = "./images/home_n.gif";
 img[1] = new Image();  img[1].src = "./images/home_a.gif";
 img[2] = new Image();  img[2].src = "./images/english_n.gif";
 img[3] = new Image();  img[3].src = "./images/english_a.gif";
 img[4] = new Image();  img[4].src = "./images/chinese_n.gif";
 img[5] = new Image();  img[5].src = "./images/chinese_a.gif";

/*　グローバルメニュー　*/
 img[6] = new Image();  img[6].src = "./images/menu_profile_n.gif";
 img[7] = new Image();  img[7].src = "./images/menu_profile_a.gif";
 img[8] = new Image();  img[8].src = "./images/menu_catalog_n.gif";
 img[9] = new Image();  img[9].src = "./images/menu_catalog_a.gif";
 img[10] = new Image();  img[10].src = "./images/menu_ir_n.gif";
 img[11] = new Image();  img[11].src = "./images/menu_ir_a.gif";
 img[12] = new Image();  img[12].src = "./images/menu_recruit_n.gif";
 img[13] = new Image();  img[13].src = "./images/menu_recruit_a.gif";

/*　バナー　*/
 img[14] = new Image();  img[14].src = "./images/banner_ic_a.gif";
 img[15] = new Image();  img[15].src = "./images/banner_ic_n.gif";
 img[16] = new Image();  img[16].src = "./images/banner_mail_a.gif";
 img[17] = new Image();  img[17].src = "./images/banner_mail_n.gif";
 img[18] = new Image();  img[18].src = "./images/banner_contact_a.gif";
 img[19] = new Image();  img[19].src = "./images/banner_contact_n.gif";
 img[26] = new Image();  img[26].src = "./images/banner_announcement_a.gif";
 img[27] = new Image();  img[27].src = "./images/banner_announcement_n.gif";

/*　トピックス　*/
 img[20] = new Image();  img[20].src = "./images/archive_n.gif";
 img[21] = new Image();  img[21].src = "./images/archive_a.gif";

/*　過去のトピックス　*/
 img[22] = new Image();  img[22].src = "./images/archive_catalog_n2.gif";
 img[23] = new Image();  img[23].src = "./images/archive_catalog_a.gif";
 img[24] = new Image();  img[24].src = "./images/archive_company_n2.gif";
 img[25] = new Image();  img[25].src = "./images/archive_company_a.gif";



/*=== 現在のmax idは「27」（2009.9.17） ====*/

}


