if (document.images) { 


// 画像読込設定

// MUSIC MAN 
var menu1on = new Image();
menu1on.src = "/musicbar/img/menu1_on.jpg"; // ポイント時の画像
var menu1off = new Image();
menu1off.src = "/musicbar/img/menu1.jpg"; // 通常の画像

// MUSIC MAN サブ1
var musicman1on = new Image();
musicman1on.src = "/musicbar/img/musicman1_on.gif";
var musicman1off = new Image();
musicman1off.src = "/musicbar/img/musicman1.gif";

// MUSIC MAN サブ2
var musicman2on = new Image();
musicman2on.src = "/musicbar/img/musicman2_on.gif";
var musicman2off = new Image();
musicman2off.src = "/musicbar/img/musicman2.gif";

// MUSIC MAN サブ3
var musicman3on = new Image();
musicman3on.src = "/musicbar/img/musicman3_on.gif";
var musicman3off = new Image();
musicman3off.src = "/musicbar/img/musicman3.gif";

// ラガー探訪ノート
var menu2on = new Image();
menu2on.src = "/musicbar/img/menu2_on.jpg";
var menu2off = new Image();
menu2off.src = "/musicbar/img/menu2.jpg";

// ラガー探訪ノート サブ1
var note1on = new Image();
note1on.src = "/musicbar/img/note1_on.gif";
var note1off = new Image();
note1off.src = "/musicbar/img/note1.gif";

// ラガー探訪ノート サブ2
var note2on = new Image();
note2on.src = "/musicbar/img/note2_on.gif";
var note2off = new Image();
note2off.src = "/musicbar/img/note2.gif";

// 味の継承
var menu3on = new Image();
menu3on.src = "/musicbar/img/menu3_on.jpg";
var menu3off = new Image();
menu3off.src = "/musicbar/img/menu3.jpg";

// 味の継承 サブ
var recipe1on = new Image();
recipe1on.src = "/musicbar/img/recipe1_on.gif";
var recipe1off = new Image();
recipe1off.src = "/musicbar/img/recipe1.gif";

// マスターの独り言
var menu4on = new Image();
menu4on.src = "/musicbar/img/menu4_on.jpg";
var menu4off = new Image();
menu4off.src = "/musicbar/img/menu4.jpg";

// あの街、この街　ラガーのおいしいお店
var menu5on = new Image();
menu5on.src = "/musicbar/img/menu5_on.jpg";
var menu5off = new Image();
menu5off.src = "/musicbar/img/menu5.jpg";

// ラガー音楽談義
var menu6on = new Image();
menu6on.src = "/musicbar/img/menu6_on.jpg";
var menu6off = new Image();
menu6off.src = "/musicbar/img/menu6.jpg";

// 設定終了 


} 

// ポイント時の処理 
function on(name) { 

if (document.images) { 
document.images[name].src = eval(name + 'on.src'); 
} 

} 

// 放した時の処理 
function off(name) { 

if (document.images) { 
document.images[name].src = eval(name + 'off.src'); 
} 

} 

