 


if (document.images) {

// top_menu

var top_menu01on = new Image()
top_menu01on.src = "../images/topmenu/topbox_menu_01_n.gif"
var top_menu01off = new Image() 
top_menu01off.src = "../images/topmenu/topbox_menu_01_f.gif"

  
var top_menu02on = new Image()
top_menu02on.src = "../images/topmenu/topbox_menu_02_n.gif"
var top_menu02off = new Image()
top_menu02off.src = "../images/topmenu/topbox_menu_02_f.gif"

  
var top_menu03on = new Image()
top_menu03on.src = "../images/topmenu/topbox_menu_03_n.gif"
var top_menu03off = new Image()
top_menu03off.src = "../images/topmenu/topbox_menu_03_f.gif"

  
var top_menu04on = new Image()
top_menu04on.src = "../images/topmenu/topbox_menu_04_n.gif"
var top_menu04off = new Image()
top_menu04off.src = "../images/topmenu/topbox_menu_04_f.gif"

  
var top_lang_eon = new Image()
top_lang_eon.src = "../images/topmenu/topbox_lang_e_n.gif"
var top_lang_eoff = new Image()
top_lang_eoff.src = "../images/topmenu/topbox_lang_e_f.gif"

  
var top_lang_jon = new Image()
top_lang_jon.src = "../images/topmenu/topbox_lang_j_n.gif"
var top_lang_joff = new Image()
top_lang_joff.src = "../images/topmenu/topbox_lang_j_f.gif"


// left_menu

var left_yoyakuon = new Image()
left_yoyakuon.src = "images/leftmenu/lb_subtitle_01_n.gif"
var left_yoyakuoff = new Image()
left_yoyakuoff.src = "images/leftmenu/lb_subtitle_01.gif"

 
var left_menu01on = new Image()
left_menu01on.src = "images/leftmenu/submenu_01_n.gif"
var left_menu01off = new Image()
left_menu01off.src = "images/leftmenu/submenu_01_f.gif"

  
var left_menu02on = new Image()
left_menu02on.src = "images/leftmenu/submenu_02_n.gif"
var left_menu02off = new Image()
left_menu02off.src = "images/leftmenu/submenu_02_f.gif"

  
var left_menu03on = new Image()
left_menu03on.src = "images/leftmenu/submenu_03_n.gif"
var left_menu03off = new Image()
left_menu03off.src = "images/leftmenu/submenu_03_f.gif"


var left_menu04on = new Image()
left_menu04on.src = "images/leftmenu/submenu_04_n.gif"
var left_menu04off = new Image()
left_menu04off.src = "images/leftmenu/submenu_04_f.gif"


var left_menu05on = new Image()
left_menu05on.src = "images/leftmenu/submenu_05_n.gif"
var left_menu05off = new Image()
left_menu05off.src = "images/leftmenu/submenu_05_f.gif"

  
/* detail_btn */

var box_detail1on = new Image()
box_detail1on.src = "images/detail_on.gif"
var box_detail1off = new Image()
box_detail1off.src = "images/detail_off.gif"

	
var box_detail2on = new Image()
box_detail2on.src = "images/detail_on.gif"
var box_detail2off = new Image()
box_detail2off.src = "images/detail_off.gif"


var box_detail3on = new Image()
box_detail3on.src = "images/detail_on.gif"
var box_detail3off = new Image()
box_detail3off.src = "images/detail_off.gif"


var box_detail4on = new Image()
box_detail4on.src = "images/detail_on.gif"
var box_detail4off = new Image()
box_detail4off.src = "images/detail_off.gif"


var box_detail5on = new Image()
box_detail5on.src = "images/detail_on.gif"
var box_detail5off = new Image()
box_detail5off.src = "images/detail_off.gif"


var box_detail6on = new Image()
box_detail6on.src = "images/detail_on.gif"
var box_detail6off = new Image()
box_detail6off.src = "images/detail_off.gif"


var box_detail7on = new Image()
box_detail7on.src = "images/detail_on.gif"
var box_detail7off = new Image()
box_detail7off.src = "images/detail_off.gif"
	
	
var box_detail8on = new Image()
box_detail8on.src = "images/detail_on.gif"
var box_detail8off = new Image()
box_detail8off.src = "images/detail_off.gif"


var box_detail9on = new Image()
box_detail9on.src = "images/detail_on.gif"
var box_detail9off = new Image()
box_detail9off.src = "images/detail_off.gif"


var box_detail14on = new Image()
box_detail14on.src = "images/detail_on.gif"
var box_detail14off = new Image()
box_detail14off.src = "images/detail_off.gif"


/* 09.2/7 OGリニューアルdetail_btn */

var box_detail20on = new Image()
box_detail20on.src = "images/orchid/detail_on.gif"
var box_detail20off = new Image()
box_detail20off.src = "images/orchid/detail.gif"



var box_detailon = new Image()
box_detailon.src = "images/detail_on.gif"
var box_detailoff = new Image()
box_detailoff.src = "images/detail_off.gif"
	

var box_menu1on = new Image()
box_menu1on.src = "images/menu_on.gif"
var box_menu1off = new Image()
box_menu1off.src = "images/menu_off.gif"
	
	
var box_menu2on = new Image()
box_menu2on.src = "images/menu_on.gif"
var box_menu2off = new Image()
box_menu2off.src = "images/menu_off.gif"
	
	
var box_menu3on = new Image()
box_menu3on.src = "images/menu_on.gif"
var box_menu3off = new Image()
box_menu3off.src = "images/menu_off.gif"
	
	
var box_menu4on = new Image()
box_menu4on.src = "images/menu_on.gif"
var box_menu4off = new Image()
box_menu4off.src = "images/menu_off.gif"
	
	
var box_menu5on = new Image()
box_menu5on.src = "images/menu_on.gif"
var box_menu5off = new Image()
box_menu5off.src = "images/menu_off.gif"


var box_menu6on = new Image()
box_menu6on.src = "images/menu_on.gif"
var box_menu6off = new Image()
box_menu6off.src = "images/menu_off.gif"


var box_menu7on = new Image()
box_menu7on.src = "images/menu_on.gif"
var box_menu7off = new Image()
box_menu7off.src = "images/menu_off.gif"


/* 0801オーストラリアフェア   */

var box_menu10on = new Image()
box_menu10on.src = "images/0801australia/menu_on.gif"
var box_menu10off = new Image()
box_menu10off.src = "images/0801australia/menu_off.gif"

var box_detail10on = new Image()
box_detail10on.src = "images/0801australia/detail_on.gif"
var box_detail10off = new Image()
box_detail10off.src = "images/0801australia/detail_off.gif"
	
var box_detail11on = new Image()
box_detail11on.src = "images/0801australia/detail_on.gif"
var box_detail11off = new Image()
box_detail11off.src = "images/0801australia/detail_off.gif"


/* 0907スペインフェア   */

var box_detail12on = new Image()
box_detail12on.src = "images/0907spain/detail01_o.gif"
var box_detail12off = new Image()
box_detail12off.src = "images/0907spain/detail01.gif"


var box_detail13on = new Image()
box_detail13on.src = "images/0907spain/detail02_o.gif"
var box_detail13off = new Image()
box_detail13off.src = "images/0907spain/detail02.gif"


/* 0907ヴィーナスランチ   */

var box_menu8on = new Image()
box_menu8on.src = "images/0907venus/menu_on.gif"
var box_menu8off = new Image()
box_menu8off.src = "images/0907venus/menu_off.gif"


var box_menu9on = new Image()
box_menu9on.src = "images/0907venus/menu_on.gif"
var box_menu9off = new Image()
box_menu9off.src = "images/0907venus/menu_off.gif"


var box_menu10on = new Image()
box_menu10on.src = "images/0907venus/menu_on.gif"
var box_menu10off = new Image()
box_menu10off.src = "images/0907venus/menu_off.gif"


/* rest_menu_btm   */

var mn_btnon = new Image()
mn_btnon.src = "images/mn_btn_on.gif"
var mn_btnoff = new Image()
mn_btnoff.src = "images/mn_btn_off.gif"

 
var mn_btn2on = new Image()
mn_btn2on.src = "images/koshitsu_on.gif"
var mn_btn2off = new Image()
mn_btn2off.src = "images/koshitsu_off.gif"
    
 
var mn_btn3on = new Image()
mn_btn3on.src = "images/orchid/pastry_on.gif"
var mn_btn3off = new Image()
mn_btn3off.src = "images/orchid/pastry_off.gif"

 
var mn_btn4on = new Image()
mn_btn4on.src = "images/iwai_on.gif"
var mn_btn4off = new Image()
mn_btn4off.src = "images/iwai_off.gif"
  
  
var mn_btn5on = new Image()
mn_btn5on.src = "images/hoji_on.gif"
var mn_btn5off = new Image()
mn_btn5off.src = "images/hoji_off.gif"

var mn_btn6on = new Image()
mn_btn6on.src = "images/kinen_on.gif"
var mn_btn6off = new Image()
mn_btn6off.src = "images/kinen_off.gif"


var mn_btn_baron = new Image()
mn_btn_baron.src = "images/stargate_bar/menu_on.gif"
var mn_btn_baroff = new Image()
mn_btn_baroff.src = "images/stargate_bar/menu_off.gif"
  
 
/* reservation_right_btm   */
  
var right_yoyakuon = new Image()
right_yoyakuon.src = "images/reserv/reservation_submit_o.gif"
var right_yoyakuoff = new Image()
right_yoyakuoff.src = "images/reserv/reservation_submit.gif"


/* 画像拡大   */

var photo_up1on = new Image()
photo_up1on.src = "images/osechi07/up_o.gif"
var photo_up1off = new Image()
photo_up1off.src = "images/osechi07/up.gif"
	
	
var photo_up2on = new Image()
photo_up2on.src = "images/osechi07/up_o.gif"
var photo_up2off = new Image()
photo_up2off.src = "images/osechi07/up.gif"


/* ノエル詳細   */

var photo_up1on = new Image()
photo_up1on.src = "images/noel08/detail_o.gif"
var photo_up1off = new Image()
photo_up1off.src = "images/noel08/detail.gif"
	
	
var photo_up2on = new Image()
photo_up2on.src = "images/noel08/detail_o.gif"
var photo_up2off = new Image()
photo_up2off.src = "images/noel08/detail.gif"

	
var photo_up3on = new Image()
photo_up3on.src = "images/noel08/detail_o.gif"
var photo_up3off = new Image()
photo_up3off.src = "images/noel08/detail.gif"


/* レストラン予約フォーム*/
function res_rsv(my_url){
window.open(my_url,"","width=750,height=600,toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}


//footer_info and qrcode

var infoon = new Image()
infoon.src = "../images/footer/info_on.gif"
var infooff = new Image() 
infooff.src = "../images/footer/info_off.gif"

var qrcodeon = new Image()
qrcodeon.src = "../images/footer/qr_code_on.gif"
var qrcodeoff = new Image()
qrcodeoff.src = "../images/footer/qr_code_off.gif"

var privacyon = new Image()
privacyon.src = "../images/footmenu/foot_menu_01_f_o.gif"
var privacyoff = new Image()
privacyoff.src = "../images/footmenu/foot_menu_01_f.gif"

var gaiyoon = new Image()
gaiyoon.src = "../images/footmenu/foot_menu_02_f_o.gif"
var gaiyooff = new Image()
gaiyooff.src = "../images/footmenu/foot_menu_02_f.gif"

var recruitingon = new Image()
recruitingon.src = "../images/footmenu/foot_menu_03_f_o.gif"
var recruitingoff = new Image()
recruitingoff.src = "../images/footmenu/foot_menu_03_f.gif"

var mailon = new Image()
mailon.src = "../images/footmenu/foot_menu_04_f_o.gif"
var mailoff = new Image()
mailoff.src = "../images/footmenu/foot_menu_04_f.gif"

var presson = new Image()
presson.src = "../images/footer/press_btn_o.gif"
var pressoff = new Image()
pressoff.src = "../images/footer/press_btn.gif"

} 

function inact(imgName) {

	

  if (document.images)

    document[imgName].src = eval(imgName + 'off.src');

}



function act(imgName) {

  if (document.images)

    document[imgName].src = eval(imgName + 'on.src');

}





//new window

var newWindow

function pop(theURL,this_window,this_width,this_height) {

    if (!newWindow || newWindow.closed) {

        features = "scrollbars=yes,menubar=no,toolbar=no,statusbar=yes,resizable=no,width="+ this_width + ",height=" + this_height;

        newWindow = window.open(theURL,this_window,features);

    } else {

alert ("a");

        newWindow.focus()

        newWindow.location = theURL

    }

}

//Edyカード
function edy(my_url){
window.open(my_url,"","width=450,height=435,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

//花梨「祝福」
function krn(my_url){
window.open(my_url,"","width=515,height=575,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0");
}


