$(document).ready(function(){
    var dsize  = 12;//default size
    var add   = 1;
    var limit = 2;
    var csize = parseInt($.cookie('fsize')) || dsize;

    if(!parseInt($.cookie('fsize'))){
        $.cookie("fsize", dsize, {expires:30,path:'/'});
    }
    $("body").css("font-size", csize);
    $("#fontctl #normal").click(function(){
        $("body").css("font-size", dsize);
        $.cookie("fsize", dsize, {expires:30,path:'/'});
        reset();
        load();
        return false;
    });
    $("#fontctl #zoom").click(function(){
        var size = $("body").css("font-size");
        var int_size = parseInt(size.replace("px", ""));
        if(dsize + add * limit > int_size){
            int_size += add;
            $.cookie("fsize", int_size, {expires:1,path:'/'});
            $("body").css("font-size", int_size);
        }
        load();
        return false;
    });

    $("body").append($('<div id="_preloadimagedivarea">'));
    //img要素のonMouseOver一括preload
    var Preload = function(){
        this.all = function(){
            $("img").each(function(){
                if($(this).attr("onMouseOver")){
                    url = $(this).attr("onMouseOver");
                    reg = RegExp("this.src='(.*)'.*", "i");
                    if(String(url).match(reg)){
                        img_url = RegExp.$1;
                        reg = RegExp(".+png$", "i");
                        $('<img>').attr("src", img_url);
                        $("#_preloadimagedivarea").append($('<img>').attr("src", img_url).attr("alt","img"));
                    }
                }
            });
        }
        this.exe = function(urls){
            if(!urls) return false;
            if(typeof urls == "object"){
                len = urls.length;
                for(var i=0; i < len; i++){
                    //alert(urls[i]);
                    //$("<img>").attr("src", urls[i]);
                    $('<img>').attr("src", urls[i]);
                    $('#_preloadimagedivarea').append($('<img>').attr("src", urls[i]).attr("alt","img"));
                }
            }
        }
    }
    //var urls = ["test.png", "hoge.gif", "sample.jpg"];
    var pre = new Preload();
    pre.all();
    //pre.exe(urls);
    pre.exe(get_preload_image_list());
    $('#_preloadimagedivarea').css("display", "none");
});

function load(){
	//autoHeightの設定
	var struct_borders = $("#container #main .m_container .struct_head .struct_bottom .struct_border");
	var size_ = struct_borders.size();

	var lis = $("#l_denpo_body ul li");
	var li_size = lis.size();
	if(li_size!=0){
		if(li_size<3){li_size=3;}//予算別
		var loopcnt = size_ / li_size;
		for(var i=0;i<li_size;i++){
			for(var j=0;j<loopcnt;j++){
				var numb = (i*10+j);
				var find_a = "#help" + numb + " a";
				$(find_a).autoHeight({column:3});
				$(find_a + " p.daishi").click(function(){
		          url = $(this).parent().attr("href");
		          if(url){location.href = url;}
		        });
			}
		}
	}else{
		if( $("#container #main .m_container .struct_head .struct_bottom .struct_border a").size() > 0 ){
	        $("#container #main .m_container .struct_head .struct_bottom .struct_border a").autoHeight({column:3});
	        $("#container #main .m_container .struct_head .struct_bottom .struct_border a p.daishi").click(function(){
	          url = $(this).parent().attr("href");
	          if(url){location.href = url;}
	        });
	    }
	}
    height_controll();
}

function height_controll(){

    hc = $("#height_controller").height();
    if(hc == null) { return false;}

    r  = $("#rightmenu").height();
    h  = $("#hmain").height();

    if(r != null && h != null){
        if(r > h){
            tmp_height = r - h - 200;
            if(tmp_height > 0){
                $("#height_controller").height( tmp_height + "px");
            }
        }
    }
}

function reset(){
    if( $("#container #main .m_container .struct_head .struct_bottom .struct_border a").size() > 0 ){
        $("#container #main .m_container .struct_head .struct_bottom .struct_border a").css("min-height", "");
        $("#container #main .m_container .struct_head .struct_bottom .struct_border a").height("");
    }
}

function get_preload_image_list() {
	var list = Array();
	var url = document.URL;
	var level = 1;
	var rightMenu = false;

	// var adjustPath = "http://" + document.domain;
	var adjustPath = "";

	//   単純な URL走査なので、"/oiwai/index.html" と "/index.html"など
	// 同名のファイルを誤判定しないよう順番に注意。
	if (-1 != url.indexOf("/oiwai/rosecubegrande.html")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/top/center_daishibtn_on.gif"
		        ,adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/order/step4/btn_basechange_on.png"
				,adjustPath+"/img/order/step4/btn_flowergiftchange_on.png"
				,adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/rose/button_okuru_on.png"
				,adjustPath+"/img/okuyami/button_okuru_on.png"
		];
	}
	else if (-1 != url.indexOf("/okuyami/yuri.html")) {
		rightMenu = 2;
		list = [ adjustPath+ "/img/top/center_daishibtn_on.gif"
				,adjustPath+"/img/order/step2/okuyami/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_denpochk_btn_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_address_btn_on.png"
				,adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/order/step4/btn_basechange_on.png"
				,adjustPath+"/img/order/step4/btn_flowergiftchange_on.png"
				,adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/rose/button_okuru_on.png"
				,adjustPath+"/img/okuyami/button_okuru_on.png"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step1.php")
		  || -1 != url.indexOf("/order/okuyami/step2.php")) {
		rightMenu = 2;
		level = 2;
		list = [ adjustPath+"/img/order/step1/okuyami/flower_on.png"
				,adjustPath+"/img/order/step1/okuyami/photo_on.png"
				,adjustPath+"/img/order/step1/btn_agreeno_on.png"
				,adjustPath+"/img/order/step1/okuyami/btn_agreeyes_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step2/okuyami/center_input_btn_on.png"
				,adjustPath+"/img/order/step4/okuyami/btn_paymentinput_on.png"
				,adjustPath+"/img/order/step5/okuyami/btn_applied_on.png"
				,adjustPath+"/img/order/step6/btn_returntop_on.png"
				,adjustPath+"/img/assist/message/tab_wedding_act.gif"
				,adjustPath+"/img/assist/message/tab_wedding_on.gif"
				,adjustPath+"/img/assist/message/tab_wedding_off.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_act.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_on.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_off.gif"
				,adjustPath+"/img/assist/message/tab_event_act.gif"
				,adjustPath+"/img/assist/message/tab_event_on.gif"
				,adjustPath+"/img/assist/message/tab_event_off.gif"
				,adjustPath+"/img/assist/message/tab_election_act.gif"
				,adjustPath+"/img/assist/message/tab_election_on.gif"
				,adjustPath+"/img/assist/message/tab_election_off.gif"
				,adjustPath+"/img/assist/message/tab_etc_act.gif"
				,adjustPath+"/img/assist/message/tab_etc_on.gif"
				,adjustPath+"/img/assist/message/tab_etc_off.gif"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step2-2.php")) {
		rightMenu = 2;
		level = 2;
		list = [ adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step2/okuyami/center_input_btn_on.png"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step3.php")) {
		rightMenu = 2;
		level = 2;
		list = [ adjustPath+"/img/top/center_daishibtn_on.gif"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step2/okuyami/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_address_btn_on.png"
				,adjustPath+"/img/order/step3/okuyami/center_denpochk_btn_btn_on.png"
				,adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/order/step4/btn_basechange_on.png"
				,adjustPath+"/img/order/step4/btn_flowergiftchange_on.png"
				,adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/rose/button_okuru_on.png"
				,adjustPath+"/img/okuyami/button_okuru_on.png"
				,adjustPath+"/img/assist/btn/btn_back_on.gif"
				,adjustPath+"/img/assist/btn/btn_kettei_on.gif"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step4.php")) {
		rightMenu = 2;
		level = 2;
		list = [ adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step4/okuyami/btn_paymentinput_on.png"
				,adjustPath+"/img/assist/btn/btn_send_on.gif"
				,adjustPath+"/img/assist/otodoke/btn_same_on.jpg"
				,adjustPath+"/img/assist/otodoke/btn_different_on.jpg"
				,adjustPath+"/img/common/icon/calendar_on.gif"
				,adjustPath+"/img/rose/button_kakunin_on.gif"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step5.php")) {
		rightMenu = 2;
		level = 2;
		list = [ adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step5/okuyami/btn_applied_on.png"
		];
	}
	else if (-1 != url.indexOf("/order/okuyami/step6.php")) {
		level = 2;
	}
	else if (-1 != url.indexOf("/order/step1.php")
		  || -1 != url.indexOf("/order/step2.php")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/top/center_daishibtn_on.gif"
				,adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/order/step4/btn_basechange_on.png"
				,adjustPath+"/img/order/step4/btn_flowergiftchange_on.png"
				,adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/rose/button_okuru_on.png"
				,adjustPath+"/img/order/step1/btn_agreeno_on.png"
				,adjustPath+"/img/order/step1/btn_agreeyes_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step2/center_input_btn_on.png"
				,adjustPath+"/img/order/step3/center_denpochk_btn_on.png"
				,adjustPath+"/img/order/step4/btn_paymentinput_on.png"
				,adjustPath+"/img/order/step5/btn_applied_on.png"
				,adjustPath+"/img/order/step6/btn_returntop_on.png"
				,adjustPath+"/img/assist/message/tab_wedding_act.gif"
				,adjustPath+"/img/assist/message/tab_wedding_on.gif"
				,adjustPath+"/img/assist/message/tab_wedding_off.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_act.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_on.gif"
				,adjustPath+"/img/assist/message/tab_nyusotsu_off.gif"
				,adjustPath+"/img/assist/message/tab_event_act.gif"
				,adjustPath+"/img/assist/message/tab_event_on.gif"
				,adjustPath+"/img/assist/message/tab_event_off.gif"
				,adjustPath+"/img/assist/message/tab_election_act.gif"
				,adjustPath+"/img/assist/message/tab_election_on.gif"
				,adjustPath+"/img/assist/message/tab_election_off.gif"
				,adjustPath+"/img/assist/message/tab_etc_act.gif"
				,adjustPath+"/img/assist/message/tab_etc_on.gif"
				,adjustPath+"/img/assist/message/tab_etc_off.gif"
		];
	}
	else if (-1 != url.indexOf("/order/step2-2.php")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step2/center_input_btn_on.png"
		];
	}
	else if (-1 != url.indexOf("/order/step3.php")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/fuki_kakunin_btn_on.png"
				,adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step3/center_denpochk_btn_on.png"
				,adjustPath+"/img/assist/btn/btn_back_on.gif"
				,adjustPath+"/img/assist/btn/btn_kettei_on.gif"
		];
	}
	else if (-1 != url.indexOf("/order/step4.php")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step4/btn_paymentinput_on.png"
				,adjustPath+"/img/assist/btn/btn_send_on.gif"
				,adjustPath+"/img/assist/otodoke/btn_same_on.jpg"
				,adjustPath+"/img/assist/otodoke/btn_different_on.jpg"
				,adjustPath+"/img/common/icon/calendar_on.gif"
				,adjustPath+"/img/rose/button_kakunin_on.gif"
		];
	}
	else if (-1 != url.indexOf("/order/step5.php")) {
		rightMenu = 2;
		list = [ adjustPath+"/img/order/step5/btn_confirm_on.png"
				,adjustPath+"/img/order/step5/btn_delete_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/order/step5/btn_applied_on.png"
		];
	}
	else if (-1 != url.indexOf("/order/step6.html")) {
		// NOP
	}
	else if (-1 != url.indexOf("/oiwai/scene/index.html")
		  || -1 != url.indexOf("/oiwai/scene/wedding.html")
		  || -1 != url.indexOf("/oiwai/scene/")
		  || -1 != url.indexOf("/oiwai/scene")) {
		level = 2;
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/oiwai/index.html")
		  || -1 != url.indexOf("/oiwai/price.html")
		  || -1 != url.indexOf("/okuyami/index.html")
		  || -1 != url.indexOf("/okuyami/price.html")
		  || -1 != url.indexOf("/okuyami/")
		  || -1 != url.indexOf("/okuyami")
		  || -1 != url.indexOf("/oiwai/")
		  || -1 != url.indexOf("/oiwai")) {
		rightMenu = 1;
		list = [ "/img/top/center_daishibtn_on.gif" ];
	}
	else if (-1 != url.indexOf("/topics/index.html")
		  || -1 != url.indexOf("/topics/")
		  || -1 != url.indexOf("/topics")) {
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/knowledge/example/wedding_a.html")
	      || -1 != url.indexOf("/knowledge/manner/wedding.html") ) {
		rightMenu = 1;
		level = 2;
		list = [ "/img/knowledge/example/btn_konobunrei_on.png",
		         "/img/knowledge/manner/btn_denpoichi_on.png"
		 ];
	}
	else if (-1 != url.indexOf("/knowledge/index.html")
		  || -1 != url.indexOf("/knowledge/")
		  || -1 != url.indexOf("/knowledge")) {
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/illust_photo/index.html")
		  || -1 != url.indexOf("/illust_photo/")
		  || -1 != url.indexOf("/illust_photo")) {
		rightMenu = 1;
		list = [ adjustPath+"/img/illust_photo/index/btn_oiwai_photoimg_on.png"
				,adjustPath+"/img/illust_photo/index/btn_okuyami_photoimg_on.png"
				,adjustPath+"/img/illust_photo/index/btn_oiwai_illustphoto_on.png"
				,adjustPath+"/img/illust_photo/index/btn_okuyami_illustphoto_on.png"
		];
	}
	else if (-1 != url.indexOf("/faq/index.html")
		  || -1 != url.indexOf("/faq/")
		  || -1 != url.indexOf("/faq")){
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/frower/index.html")
		  || -1 != url.indexOf("/frower/")
		  || -1 != url.indexOf("/frower")){
		rightMenu = 1;
		list = [ adjustPath+"/img/frower/index/btn_youtobetuguid_on.png"
				,adjustPath+"/img/frower/index/btn_seikagift_oiwai_on.png"
				,adjustPath+"/img/frower/index/btn_seikagift_okuyami_on.png"
		];
	}
	else if (-1 != url.indexOf("/corporate/kiyaku.html")
	        || -1 != url.indexOf("/corporate/shinsyo.html") ){
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/corporate/index.html")
		  || -1 != url.indexOf("/corporate/")
		  || -1 != url.indexOf("/corporate")){
		rightMenu = 1;
		list = [ adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/assist/btn/btn_transmission_on.gif"
		];
	}
	else if (-1 != url.indexOf("/account/regist/index.html")
	      || -1 != url.indexOf("/account/info/index.html")
	      || -1 != url.indexOf("/account/addrlist/to_input.html")
	      || -1 != url.indexOf("/account/addrlist/from_input.html")

	      ) {
		level = 2;
		list = [ adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/common/menu/right/areainfo/button_addsearch_on.png"
				,adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/account/regist/kakunin_on.png"
				,adjustPath+"/img/account/kakunin_on.png"
		];
	}
	else if (-1 != url.indexOf("/account/regist/confirm.html")
	      || -1 != url.indexOf("/account/info/confirm.html")
	      || -1 != url.indexOf("/account/editpwd/index.html")
	      || -1 != url.indexOf("/account/clearpwd/index.html")
	      || -1 != url.indexOf("/account/clearpwd/setpwd.html")
	      || -1 != url.indexOf("/account/addrlist/to_confirm.html")
	      || -1 != url.indexOf("/account/addrlist/from_confirm.html")
	      ) {
		level = 2;
		list = [ adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/account/regist/kanryou_on.png"
				,adjustPath+"/img/account/touroku_on.png"
		];
	}
	else if (-1 != url.indexOf("/account/quit/index.html")
	      || -1 != url.indexOf("/account/addrlist/index.html")
	      ) {
		level = 2;
		list = [ adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/account/quit/kakunin_on.png"
		];
	}
	else if (-1 != url.indexOf("/account/quit/confirm.html")
	      ) {
		level = 2;
		list = [ adjustPath+"/img/order/step2/center_ahead_btn_on.png"
				,adjustPath+"/img/account/kakunin_on.png"
		];
	}
	else if (-1 != url.indexOf("/account/regist/finish.html")
	      || -1 != url.indexOf("/account/info/finish.html")
	      || -1 != url.indexOf("/account/editpwd/finish.html")
	      || -1 != url.indexOf("/account/quit/finish.html")
	      || -1 != url.indexOf("/account/clearpwd/finish_s.html")
	      || -1 != url.indexOf("/account/clearpwd/finish_p.html")
	      || -1 != url.indexOf("/account/addrlist/to_finish.html")
	      || -1 != url.indexOf("/account/addrlist/from_finish.html")
	) {
		level = 2;
		list = [ adjustPath+"/img/order/step6/btn_returntop_on.png"
		];
	}
	else if (-1 != url.indexOf("/account/info/index.html")
		  || -1 != url.indexOf("/account/info/")
		  || -1 != url.indexOf("/account/info")) {
		level = 2;
		list = [ adjustPath+"/img/order/step3/center_zipinput_btn_on.png"
				,adjustPath+"/img/order/step3/center_address_btn_on.png"
				,adjustPath+"/img/account/kakunin_on.png"
		];
	}
	else if (-1 != url.indexOf("/abroad/from.html")
	     ||  -1 != url.indexOf("/account/index.html")) {
		rightMenu = 1;
		list = [ "/img/frower/index/btn_seikagift_oiwai_s_on.png"
				,"/img/frower/index/btn_seikagift_okuyami_s_on.png"
		];
	}else if(-1 != url.indexOf("/about/howto.html")){
	    list = [adjustPath+"/img/about/btn_returntop_on.png"];
	    rightMenu = 1;
	}else if (
		  -1 != url.indexOf("/about/kiyaku.html")
		  || -1 != url.indexOf("/about/price.html")
		  || -1 != url.indexOf("/about/payment.html")
		  || -1 != url.indexOf("/about/toiawase.html")) {
		rightMenu = 1;
	}
	else if (-1 != url.indexOf("/about/index.html")
		  || -1 != url.indexOf("/about/")
		  || -1 != url.indexOf("/about")) {
		rightMenu = 1;
		list = [ adjustPath+"/img/about/btn_oiden_on.png"
				,adjustPath+"/img/about/btn_okuden_on.png"
		];
	}
	else if (-1 != url.indexOf("/privacy.html")
	    || -1 != url.indexOf("/joken.html")) {
		rightMenu = 1;
		level = 0;
	}
	// index.html
	else {
		rightMenu = 1;
		level = 0;
		list = [ adjustPath+"/img/top/center_daishibtn_on.gif" ];
	}

	if (false != rightMenu) {
		var rightMenuImages = Array();
		// お祝いトップなどの右メニュー
		if (1 == rightMenu) {
			rightMenuImages = [
				 adjustPath+"/img/common/menu/right/right_list_on.png"
				,adjustPath+"/img/common/menu/right/okuyami_list_on.png"
				,adjustPath+"/img/common/menu/right/banner/kaigai_on.png"
				,adjustPath+"/img/common/menu/right/banner/flower_on.png"
				,adjustPath+"/img/common/menu/right/banner/photo_on.png"
				,adjustPath+"/img/common/menu/right/areainfo/button_addsearch_on.png"
				,adjustPath+"/img/common/menu/right/areainfo/right_kakunin_on.png"
				,adjustPath+"/img/common/menu/right/areainfo/okuyami_kakunin_on.png"
				,adjustPath+"/img/assist/btn/btn_close_on.gif"
				,adjustPath+"/img/assist/btn/btn_youtobetuguid_on.gif"
				,adjustPath+"/img/assist/guide/tab_happyevent_act.gif"
				,adjustPath+"/img/assist/guide/tab_happyevent_off.gif"
				,adjustPath+"/img/assist/guide/tab_happyevent_on.gif"
				,adjustPath+"/img/assist/guide/tab_condolence_act.gif"
				,adjustPath+"/img/assist/guide/tab_condolence_off.gif"
				,adjustPath+"/img/assist/guide/tab_condolence_on.gif"
				,adjustPath+"/img/assist/guide/tab_general_act.gif"
				,adjustPath+"/img/assist/guide/tab_general_off.gif"
				,adjustPath+"/img/assist/guide/tab_general_on.gif"
				,adjustPath+"/img/common/icon/calendar_on.gif"
			];
		}
		// オーダー画面の右メニュー
		else if (2 == rightMenu) {
			rightMenuImages = [
				 adjustPath+"/img/order/step1/flower_on.png"
				,adjustPath+"/img/order/step1/photo_on.png"
				,adjustPath+"/img/common/button/btn_flowergiftchange_on.png"
				,adjustPath+"/img/common/button/btn_longhand_on.png"
				,adjustPath+"/img/order/step2/okuyami/fuki_kakunin_btn.png"
				,adjustPath+"/img/assist/btn/btn_youtobetuguid_on.gif"
				,adjustPath+"/img/assist/btn/fuki_kakunin_btn_on.gif"
				,adjustPath+"/img/assist/btn/btn_left90_on.gif"
				,adjustPath+"/img/assist/btn/btn_right90_on.gif"
				,adjustPath+"/img/assist/btn/btn_cancel_longhand_on.gif"
				,adjustPath+"/img/assist/btn/btn_moushikomu_on.gif"
			];
		}
		for (var idx = 0; idx < rightMenuImages.length; idx++) {
			list.push(rightMenuImages[idx]);
		}
	}

	var path= ".";
	if (0 < level) {
		for (var idx = 0, path = ""; idx < level; idx++) {
			path = path + (0<idx?"/":"")+"..";
		}
	}
	for (var idx = 0; idx < list.length; idx++) {
		list[idx] = path + list[idx];
	}

	return list;
}

