myGifCnt = 14;             // ボタン画像の総数をセットします
myGifTbl = new Array(     // ボタン画像テーブルを作成
   "./images/topbanner1_01.gif",          // [0] 橙のボタン(暗)
   "./images/topbanner1J_01.gif",           // [1] 橙のボタン(明)
   "./images/topbanner1_02.gif",          // [2] 橙のボタン(暗)
   "./images/topbanner1J_02.gif",           // [3] 橙のボタン(明)
   "./images/topbanner1_03.gif",          // [4] 緑のボタン(暗)
   "./images/topbanner1J_03.gif",           // [5] 緑のボタン(明)
   "./images/topbanner1_04.gif",          // [6] 橙のボタン(暗)
   "./images/topbanner1J_04.gif",           // [7] 橙のボタン(明)
   "./images/topbanner1_05.gif",          // [8] 緑のボタン(暗)
   "./images/topbanner1J_05.gif",           // [9] 緑のボタン(明)
   "./images/topbanner1_06.gif",          // [10] 橙のボタン(暗)
   "./images/topbanner1J_06.gif",           // [11] 橙のボタン(明)
   "./images/topbanner1_07.gif",          // [12] 緑のボタン(暗)
   "./images/topbanner1J_07.gif"          // [13] 緑のボタン(明)
);
mySrcTbl = new Array( myGifCnt ); // 画像データをメモリに読み込むテーブル定義
for (i=0; i<myGifCnt; i++){       // 画像データ数分ループする
  mySrcTbl[i] = new Image();     // 画像バッファ生成
  mySrcTbl[i].src = myGifTbl[i]; // メモリに画像データを取り込む
}

function myChange( myBtnNo , myTblNo ){  // 画像変更関数
  document.images["myBtn"+myBtnNo].src = mySrcTbl[myTblNo].src;
}