﻿// JScript 파일

function Temp_CA_Banner(siteNo,page, loc)
{
//alert(siteNo + "." + page + "," +  loc)

    if(page == "main")  //메인페이지
    {
        switch(siteNo)
        {
            //################## 한화 ###########################################################################
            case "3511" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/hanwharesort_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hanwha/main/txt_hot1_travel.jpg");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hanwha/main/btn_hot_travel_more.gif").end().find(".more").css("top","0px");
                break;
            case "36" :
            case "217" :
            case "2864" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hanwha/main/txt_hot_travel.jpg");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hanwha/main/btn_hot_travel_more.gif").end().find(".more").css("top","0px");
                break;
            //####################################################################################################

            case "4022" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/txt_hot_travel.gif").css("margin-bottom","1px");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/btn_hot_travel_more.gif").end().find(".more").css("top","0px");
                break;

            case "3569" :
                jQuery("#main_Swf").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hdasan/main/hdasan_main.swf','670','330'));
                break;

            case "3570" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_travel_3570.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_plus_3570.gif").end().find(".more").css("top","0px");

                break;
            case "3571" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_travel_3571.gif");
                jQuery(".hot_travel #HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_plus_3571.gif").end().find(".more").css("top","0px");;
                break;
            case "3572" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_travel_3572.gif");
                jQuery(".hot_travel #HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_plus_3572.gif").end().find(".more").css("top","0px");;
                break;
            case "3587" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_travel_3587.gif");
                jQuery(".hot_travel #HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/hyunda/main/txt_hot_plus_3587.gif").end().find(".more").css("top","0px");;
                break;

            case "206" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                //layer 팝업
                jQuery("#popWindow").css("display","block").find("img").attr("src","http://img.modetour.co.kr/popup/BP/img/popup_111219.jpg");
                 break;
            case "4015" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                 //layer 팝업
                //jQuery("#popWindow").css("display","block").find("img").attr("src","http://img.modetour.co.kr/mode2010/Onlinecp/nice/popup.jpg");
                 break;

            case "3942" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                 //layer 팝업
               // jQuery("#popWindow").css("display","block").find("img").attr("src","img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/skybanner.jpg");
                 break;


            case "3681" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                 //layer 팝업
               // jQuery("#popWindow").css("display","block").find("img").attr("src","img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/skybanner.jpg");
                 break;


            case "3661" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                 //layer 팝업
               // jQuery("#popWindow").css("display","block").find("img").attr("src","img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/skybanner.jpg");
                 break;
            case "4023" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/dongbu/btn_hot_travel_more.gif").end().find(".more").css("top","-2px");
                 break;

            case "3922" :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ywca/main/btn_hot_travel_more.jpg").end().find(".more").css("top","-1px");;
                 break;
            case "3975" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                jQuery("#TopEventBanner").html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/main/img_grandopen_biz.jpg' alt='' />").css({"margin":"10px auto","width":"935px"})
                 break;
            case "163" :
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                 break;
            case "2844" : 
                 jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                jQuery("#TopEventBanner").html("<a onclick=\"openPopup('/Popup/T3/right_popup_yespoint.html','800','750')\"><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/Top_discount_01.gif' alt=''  style='cursor:pointer;' /></a>").css({"margin":"10px auto","width":"935px"})
                break;
            case "3487" : 
                 jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");
                jQuery("#TopEventBanner").html("<a onclick=\"openPopup('/Popup/T3/right_popup_yespoint.html','800','750')\"><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/Top_discount_02.gif' alt='' style='cursor:pointer;'  />").css({"margin":"10px auto","width":"935px"})
                break;

            default :
                //메인플래시
                jQuery("#main_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/index_main.swf','538','300') + "</p>");
                jQuery(".hot_travel #HotTravelImgTop").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_hot_travel.gif");
                jQuery(".hot_travel").find("#HotTravelImgMore").attr("src","http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_hot_travel_more.gif");


        }

    }
    else if(page == "submain")
    {
        switch(siteNo)
        {
            default :
                var area;
                var udate;
                var elink1, elink2;
                switch(loc)
                {
                    case "LOC3" :   //동남아시아
                        area = "ea";
                        udate = "110928";
                        elink1 = "/event/event_11/0128_on/mode.aspx?mloc=0701";
                        elink2 = "/event/event_11/0919_asia/mode.aspx?mloc=0701";
                        break;
                    case "LOC6" :   //중국/대만
                        area = "cn";
                        udate = "110928";
                        elink1 = "/event/event_11/0926_c/mode.aspx?mloc=0701";
                        elink2 = "/event/Event_09/0930_china/mode.aspx?mloc=0701";
                        break;
                    case "LOC5" :   //일본
                        area = "jp";
                        udate = "110928";
                        elink1 = "/event/event_08/0609_japan/mode.aspx?Mloc=0701";
                        elink2 = "/event/event_08/1219_japan/mode.aspx?mloc=0701";
                        break;
                    case "LOC8" :   //남태평양
                        area = "pac";
                        udate = "110928";
                        elink1 = "/event/event_11/0926_gs/mode.aspx?mloc=0701";
                        elink2 = "/event/event_10/0510_th/mode.aspx?mloc=0701";
                        break;
                    case "LOC9" :   //유럽
                        area = "eu";
                        udate = "110928";
                        elink1 = "/event/event_11/1017_eu/mode.aspx?mloc=0701";
                        elink2 = "/event/event_11/0422_eu/mode.aspx?mloc=0701";
                        break;
                    case "LOC7" :   //미주
                        area = "us";
                        udate = "110928";
                        elink1 = "/event/event_11/0325_ame/mode.aspx?mloc=0701";
                        elink2 = "/event/event_11/1215_mc/mode.aspx?mloc=0701";
                        break;
                    case "LOC10" : //인도 및 특수지역
                        area = "in";
                        udate = "110928";
                        elink1 = "/event/event_08/0324_india/mode.aspx?mloc=070110&startLocation=ICN&eidx=4214";
                        elink2 = "/event/event_08/0605_india/mode.aspx?mloc=070110&startLocation=ICN&eidx=3231";
                        break;
                    case "LOC11" : //국내
                        area = "domestic";
                        udate = "110928";
                        elink1 = "/event/event_11/1220_win/mode.aspx?mloc=07";
                        elink2 = "/event/event_11/1220_train/mode.aspx?mloc=07";
                        break;
                }
                //서브메인플래시
                jQuery("#submain_Swf").html("<p>" + Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/sub_main_'+area+'.swf','538','263') + "</p>");
                jQuery("#middle_banner").attr("src","http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/img_sub_package_"+area+"_"+udate+".jpg");
                jQuery("#sub_middle_banner1").attr("href",elink1);
                jQuery("#sub_middle_banner2").attr("href",elink2);

        }
    }
    else if(page == "top")               //top 부분 전화번호 및 배너
    {
    
        switch(siteNo)
        {
          case "4049" :
               //jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/bizmode_logo.swf','211','50'));

              //  jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_header_027535656.gif","alt":"02-753-5656"});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                  break;
        
            case "4045" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinejehu/samsungfire/img/logo.gif','150','43'));

       jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinejehu/samsungfire/img/t_tel.gif","alt":""});
               // jQuery("#TopTel").attr("src":"http://img.modetour.co.kr/mode2010/Onlinejehu/samsungfire/img/t_tel.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinejehu/samsungfire/img/email_btn.gif","alt":"전세기"});
                jQuery("#TopProduct").click(function(){window.open('/Popup/CA/popup20120214_samsungfire.html','','width=352, height=264');});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
                
            case "3980" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/bbdo/swf/bbdo_logo.swf','150','43'));

                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/bbdo/main/top_bbdo_tel.gif","alt":"02-2049-3418"});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "138" :
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3625" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/top_bn_3625.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3676" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/top_bn_3676.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3717" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/top_bn_3717.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3737" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/top_bn_3737.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3767":
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/top_bn_3767.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3925" :
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3844" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/onlinecp/Template_01/main/top_bn_3844.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3492" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/onlinecp/busanbank/main/swf/busanbank_logo.swf','200','43'));

                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/busanbank/main/top_busanbank_tel.gif","alt":"02-2049-3418"});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3570" :
            case "3571" :
            case "3572" :
            case "3587" :
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/hyunda/main/header_txt_surport.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            //################## 한화 ###########################################################################
            case "36" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/hanwha_logo.swf','224','63'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/header_txt_surport.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "3511" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/hanwharesort_logo.swf','224','63'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/header_txt_surport.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
            case "2864" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/swf/hanwha2_logo.swf','224','63'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/header_txt_surport.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

             //###################################################################################################

            case "3922" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ywca/main/header_txt_surport.jpg","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            case "4015" :
                jQuery("#topheader .clearfix h1").html("<a href='/'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/nice/nice_logo.gif' /></a>");
//                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/nice/top_banner.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;


            case "4016" :
                jQuery("#topheader .clearfix h1").html("<a href='/main/amorepacific.aspx'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/amore/amore_logo.gif' /></a><img src='http://img.modetour.co.kr/mode2010/Onlinecp/amore/header_txt_surport_4016.jpg'  style='margin-bottom:10px;margin-left:70px;'/>");
//                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/nice/top_banner.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            case "3942" :
                jQuery("#topheader .clearfix h1").html("<a href='http://privia1.modetour.co.kr'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/priviatravel_modetour.gif'  /></a>");
//                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
              //  jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/nice/top_banner.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            case "3634" :
                jQuery("#topheader .clearfix h1").html("<a href='http://dymos1.modetour.co.kr'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/priviatravel_modetour.gif'  /></a>");
//                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
              //  jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/nice/top_banner.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
                
            case "3661" :
                jQuery("#topheader .clearfix h1").html("<a href='http://hysco1.modetour.co.kr'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/priviatravel_modetour.gif'  /></a>");
//                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ywca/swf/ywca_logo.swf','200','43'));
              //  jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/nice/top_banner.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            case "4022" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/main/jtbc_logo.swf','224','60'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/header_txt_surport.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;


            case "4023" :
                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/dongbu/main/dongbu_logo.swf','150','43'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/dongbu/top_dongbu_tel.gif","alt":""});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;


            case "163" : //
                //top logo, 메뉴 , 전화번호

                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/nseshop/images/nseshoplogo_2008.swf','215','69'));
                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/nseshop/images/Banner_csCenter.jpg","alt":"02-755-3700"});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;

            default  : //
                //top logo, 메뉴 , 전화번호

                jQuery("#topheader .clearfix h1").html(Swf_Call('http://img.modetour.co.kr/mode2010/Onlinecp/ca/main/swf/bizmode_logo.swf','211','50'));

                jQuery("#TopTel").attr({"src":"http://img.modetour.co.kr/mode2010/onlinecp/ca/txt_header_027535656.gif","alt":"02-753-5656"});
                jQuery("#TopProduct").attr({"src":"http://img.modetour.co.kr/mode2010/Onlinecp/ca/banner/ban_header_110927.jpg","alt":"전세기"});
                jQuery("#TopProduct").click(function(){location.href="/event/event_12/0117_23th/23rd.aspx?mloc=0701";});
                jQuery("#TopProduct").css("cursor","pointer");
                break;
        }
    }
    else if(page == "left")
    {
//alert(siteNo);
        var aside = jQuery("#asidebanner");

        //left단 전화번호만 위로 올라가는 경우
        var leftTel_top = jQuery("#aside .left_tel");
        var leftTel = "";

        //left 전화번호 생성
        switch(siteNo)
        {

            case "3975"  :
                leftTel = "<div class='customer'><p><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_aside_customer.gif' alt='모두투어 예약센터 02-753-5656 평일 오전 9시~오후6시 주말 공휴일 휴무)' /></div>";
                break;
            case "4049"  :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/ywca/main/tell_3922.jpg' alt='모두투어 예약센터 02-2049-3529 평일 오전 9시~오후6시 주말 공휴일 휴무)' style='margin-bottom:6px;' />");
                break;
            case "3922" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/ywca/main/tell_3922.jpg' alt='모두투어 예약센터 02-2049-3529 평일 오전 9시~오후6시 주말 공휴일 휴무)' style='margin-bottom:6px;' />");
                break;
            case "3492"  :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/busanbank/main/img_busanbank_customer.gif' alt='모두투어 예약센터 02-2049-3418 평일 오전 9시~오후6시 주말 공휴일 휴무)' />");
                break;
            case "3980"  :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/bbdo/main/img_bbdo_customer.gif' alt='모두투어 예약센터 02-2049-3418 평일 오전 9시~오후6시 주말 공휴일 휴무)' />");
                break;
            case "4023"  :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/dongbu/img_dongbu_customer.jpg' alt='모두투어 예약센터 02-2049-3453 평일 오전 9시~오후6시 주말 공휴일 휴무)' style='margin-bottom:6px;' />");
                break;
            //################## 한화 ##########################################################################
            case "36" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/tel_hanwha.gif' alt='' />");
                break;
            case "217" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/tel_hanwharesort.gif' alt='' />");
                break;
            case "3511" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/tel_hanwharesort.gif' alt='' />");
                //leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/tel_hanwha.gif' alt='' />");
                break;
            case "2864" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/tel_hanwha.gif' alt='' />");
                break;
            //##################################################################################################
             case "4015" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/nice/tel.jpg' alt='' />");
                break;
            case "4016" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/amore/tel.jpg' alt='' />");
                break;
            case "3942" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/tel.jpg' alt='' />");
                break;

            case "3681" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/tel.jpg' alt='' />");
                break;
                
                
            case "3634" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/tel.jpg' alt='' />");
                break;

            case "3661" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/tel.jpg' alt='' />");
                break;

            case "4022" :
                leftTel_top.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/tel_jtbc.gif' alt='' />");
                break;
            case "2844" :
               leftTel = "<img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_callcenter_01.gif' alt='' style='margin-bottom:7px;' />";
                break;
            case "3487" :
               leftTel = "<img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_callcenter_02.gif' alt='' style='margin-bottom:7px;' />";
                break;

            default :
                leftTel = "";
                break;
        }

        var bannerHtml = leftTel;


        // 한화 인경우는 무이자 할부 대시 카드 할부 이미지가 보이게끔 변경
        if(siteNo == "36" || siteNo == "217" || siteNo == "3511" || siteNo == "2864" || siteNo == "4022")
        {
            //한화 계열 사이트 중 구분을 하기 위한 구문
            var bookingImg = "", cardDivImg = "", honneyMImg = "";
            if(siteNo == "4022")
            {
                bookingImg = "http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/btn_aside_booking.jpg";
                cardDivImg = "http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/btn_aside_card.jpg";
                honneyMImg = "http://img.modetour.co.kr/mode2010/Onlinecp/jtbc/btn_aside_premium.jpg";
                jQuery(".service p").css("margin-top","3px");
            }
            else
            {
                bookingImg = "http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/btn_aside_booking.gif";
                cardDivImg = "http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/btn_aside_card.gif";
                honneyMImg = "http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/btn_aside_premium.gif"
            }


            bannerHtml += "<div class='service'>";
            bannerHtml += " <p class='service'>";
            bannerHtml += "     <a href='/booking/booking/booking_member_CA.aspx'><img src='"+bookingImg+"' alt='예약확인 바로가기' /></a>";
            bannerHtml += "</p>";
            bannerHtml += "<p class='service'>";
            bannerHtml += "     <a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='"+cardDivImg+"' alt='무이자 할부 바로가기' /></a>";
            bannerHtml += "</p>";
            if(siteNo != "4022")
            {
                bannerHtml += "<p class='service'>";
                bannerHtml += " <a href='/biz/request/list.aspx?mloc=0100&bnum=260'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/main/btn_aside_quote.gif' alt='법인단체 바로가기' /></a>";
                bannerHtml += "</p>";
            }
            bannerHtml += "<p class='service'>";
            bannerHtml += " <a href=\"javascript:void window.open('http://www.modetour.com/popup/event/eventgift/input.aspx?resize=Y','','width=385,height=330,scrollbars=no');\">";
            //bannerHtml += " <a href='#'  onclick=\"javascript:alert('준비중입니다');\">";
            bannerHtml += "     <img src='"+honneyMImg+"' alt='경품 허니문신청' />";
            bannerHtml += " </a>";
            bannerHtml += "</p>";
            bannerHtml += "</div>";

            var TravelInfo = "";
            TravelInfo += " <div class='info'>";
            TravelInfo += "     <a href='/TravelInfo/passport/passport_1.aspx' class='passport'>여권/비자</a>";
            TravelInfo += "     <a href='/travelInfo/airport/incheon/port1.aspx' class='airplan'>공항정보</a>";
            TravelInfo += "     <a href='/TravelInfo/Exchange/Exchange_Main.aspx' class='exchage'>환율</a>";
            TravelInfo += "     <a href='/travelInfo/time/Time_Main.aspx' class='time'>시차</a>";
            TravelInfo += " </div>";

            jQuery(".customer #TravelInfo").html(TravelInfo);
        }
        else
        {
            bannerHtml += "<div class='service'>";
            
            if(siteNo == "3922")
            {
                bannerHtml += " <p>";
                bannerHtml += "     <a style='cursor:pointer' onclick=\"javascript:window.open('/Main/Common/YWCA/Customer.aspx','','width=790px, height=760px')\"><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_aside_inquire.gif' alt='견적문의 하러가기' /></a>";
                bannerHtml += "</p>";
            }
            bannerHtml += " <p>";
            bannerHtml += "     <a href='/booking/booking/booking_member_CA.aspx'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_aside_booking.gif' alt='예약확인 바로가기' /></a>";
            bannerHtml += "</p>";

            if(siteNo != "3942" && siteNo != "3661" && siteNo != "3634")
            {
                bannerHtml += "<p class='service'><a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_aside_card.gif' alt='무이자 할부 바로가기' /></a></p>";
            }

            if(siteNo == "3975")
            {
                bannerHtml += "<p class='service'>";
                //bannerHtml += " <a href='#' onclick='javascript:alert(\"준비중입니다\");'>";
                bannerHtml += " <a href='/biz/request/list.aspx?mloc=0100&bnum=258'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/btn_aside_quote.gif' alt='법인단체 바로가기' /></a>";
                bannerHtml += "</p>";
            }
            else if(siteNo == "3844")
            {
                bannerHtml += "<p class='service'>";
                bannerHtml += " <a href='#' onclick='javascript:alert(\"준비중입니다\");'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/main/btn_aside_premium.gif' alt='법인단체 바로가기' /></a>";
                bannerHtml += "</p>";
            }
            else if(siteNo == "3844" || siteNo == "206")
            {

            }
            
            if(siteNo == "2844" || siteNo == "3487")
            {
                bannerHtml += "</div>";
                bannerHtml += " <div class='yestour_info'>";
                bannerHtml += "     <a href='/TravelInfo/passport/passport_1.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico01.gif' /></a><a href='/travelInfo/time/Time_Main.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico02.gif' /></a><a href='/TravelInfo/Weather/Weather_Main.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico03.gif' /></a><a href='/travelInfo/airport/incheon/port1.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico04.gif' /></a><a href='/TravelInfo/Exchange/Exchange_Main.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico05.gif' /></a><a href='/travelInfo/visa/visa_1.aspx'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/l_common_ico06.gif' /></a>";
                bannerHtml += " </div>";
            }
            else 
            {
                bannerHtml += "</div>";
                bannerHtml += " <div class='info'>";
                bannerHtml += "     <a href='/TravelInfo/passport/passport_1.aspx' class='passport'>여권/비자</a>";
                bannerHtml += "     <a href='/travelInfo/airport/incheon/port1.aspx' class='airplan'>공항정보</a>";
                bannerHtml += "     <a href='/TravelInfo/Exchange/Exchange_Main.aspx' class='exchage'>환율</a>";
                bannerHtml += "     <a href='/travelInfo/time/Time_Main.aspx' class='time'>시차</a>";
                bannerHtml += " </div>";
            }
        }


        aside.html(bannerHtml);

    }
    else if(page == "skyBanner")
    {
    //alert(siteNo);
        var customer = jQuery("#Skybanner .customer");
        var customer1 = jQuery("#Skybanner .customer1");
        switch(siteNo)
        {

            case "4015" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/nice/skybanner.jpg' alt='상담문의' />");
                //customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2f010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
            break;
           case "4049" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinejehu/Todayonly/img/img_sky_discount.gif' alt='상담문의' />");
               // customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2f010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
            break;
            case "4016" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/amore/skybanner.jpg' alt='상담문의' />");
                //customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2f010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
            break;
            case "162" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/kbbank/main/img_sky_counsel.jpg' alt='상담문의' />");
                //customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2f010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
            break;
            case "206" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/kbbank/main/img_sky_counsel.jpg' alt='상담문의' />");
                //customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2f010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
            break;
            case "3980" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_counsel.png' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;
            case "138" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/banner/img_sky_hmp.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;
            case "3925" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/banner/img_sky_hmp.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;
            case "3975" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_counsel56.png' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;
            case "3492" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/busanbank/main/img_sky_busan.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;

            case "3922" :
                customer.html("<a href='/board/support/Discount.aspx'><img src='http://img.modetour.co.kr//mode2010/Onlinecp/ca/index_right_banner.gif' alt='' style='margin-bottom:4px;' /></a><img src='http://img.modetour.co.kr/mode2010/Onlinecp/ywca/main/img_sky_counsel.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;
            case "2844" : 
                customer.html("<a href=\"javascript:window.external.AddFavorite('http://www.yestour.co.kr','외환카드 Yestour')\" onfocus='blur();'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_00_favorite.gif' /></a><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_01_call.gif' style='margin-top:5px;' />")
                break;
            case "3487" :
                customer.html("<a href=\"javascript:window.external.AddFavorite('http://www.yestour.co.kr','외환카드 Yestour')\" onfocus='blur();'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_00_favorite.gif' /></a><a href='http://keb-jmspecial.modetour.co.kr'><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_jm.gif' /></a><a href='#' onclick=\"openPopup('/Popup/T3/right_popup.html','800','530')\"><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_special.gif' /></a><a href='#' onclick=\"openPopup('/Popup/T3/right_popup_yespoint.html','800','750')\"><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_save.gif'  /></a><a href='#' onclick=\"openPopup('/Popup/T3/right_popup.html','800','530')\"><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_point.gif' /></a><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_call.gif'  /><img src='http://img.modetour.co.kr/Onlinejehu/yestour/main/sky_02_reservation.gif' />");
                break;
                
                

            case "3570" :
            case "3571" :
            case "3572" :
            case "3587" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyunda/main/img_sky_counsel.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='상담문의' /></a>");
                break;

            //################## 한화 ##########################################################################

            //기존216을 한화리조트1로 변경
            //case "3511" :
//                customer.html("<a href=\"javascript:coupon('K',312, 1 ,5,'600', '709', 'http://www.modetour.com/Popup/Discount/DiscountLink/Shilla_20111229.aspx', '2011.08.11', '2012.08.18');\"><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_shilla.gif' alt='신라' style='margin-bottom:5px;' /></a><a href='/event/event_11/0215_asia/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_click.gif' alt='이주' /></a>");
//                 break;
            case "36" :
            case "3511" :
            case "2864" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/hanwha/banner/img_sky_counsel36.jpg' alt='' style='margin-bottom:5px;' /><a href=\"javascript:coupon('K',312, 1 ,5,'600', '709', 'http://www.modetour.com/Popup/Discount/DiscountLink/Shilla_20111229.aspx', '2011.08.11', '2012.08.18');\"><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_shilla.gif' alt='신라' style='margin-bottom:5px;' /></a><a href='/event/event_11/0811_hanwha/mode.aspx?mloc=0701'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_hanwha.gif' alt='장기' style='margin-bottom:5px;' /></a><a href='/event/event_11/0215_asia/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_click.gif' alt='이주' /></a>");
                break;
            //##################################################################################################

            case "206" :
                 customer.html("<a href=\"javascript:coupon('K',312, 1 ,5,'600', '709', 'http://www.modetour.com/Popup/Discount/DiscountLink/Shilla_20111229.aspx', '2011.08.11', '2012.08.18');\"><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_shilla.gif' alt='신라' style='margin-bottom:5px;' /></a><a href='/event/event_11/0811_hanwha/mode.aspx?mloc=0701'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_hanwha.gif' alt='장기' style='margin-bottom:5px;' /></a><a href='/event/event_11/0215_asia/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/sky_img_click.gif' alt='이주' /></a>");
                break;
            case  "4022" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_counsel.png' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='무이자할부' /></a>");
                break;

            case  "4023" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_counsel.png' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='무이자할부' /></a>");
                break;

            case "3942" :
			case "3634" :
            case "3661" :
              customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/hyundaicard/skybanner.jpg' alt='상담문의' />");
              break;
            case "163" :
                customer.html("<img src='http://img.modetour.co.kr/nseshop/images/skybanner_ns.jpg' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='무이자할부' /></a>");
                break;
                
            case "4045" :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinejehu/samsungfire/img/skybanner_120214.gif' alt='상담문의' />");
               // customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='무이자할부' /></a>");
                break
                
                
            default :
                customer.html("<img src='http://img.modetour.co.kr/mode2010/Onlinecp/Template_01/banner/img_sky_kepco.gif' alt='상담문의' />");
                customer1.html("<a href='/event/event_11/1027_moobank/mode.aspx?mloc=07'><img src='http://img.modetour.co.kr/mode2010/onlinecp/ca/img_sky_moobank.png' alt='무이자할부' /></a>");
                break;
        }
    }
    else if(page == "Itinerary")
    {
        switch(siteNo)
        {
            case "36" :
            case "217" :
            case "3511" :
            case "2864" :
                jQuery("#ItineraryBanner").html("<p style='margin-top:10px;'><img src='http://img.modetour.co.kr/mode2010/Onlinecp/hanwha/banner/hanwha_event_02.jpg' alt='' /></p>");
                break;
        }
    }
}

function coupon(flag, choice, gubun, gubun2, pw, ph, url ,sd, ed)// 일련번호, 상태1
{
    /*
    alert("준비중입니다");

    return false;
    */
    var coupon = window.open("http://www.modetour.com/Popup/Discount/DiscountBookingCheck.aspx?NoMember=No&flag=" + flag + "&Choice=" + choice + "&Gubun=" + gubun + "&gubun2=" + gubun2 + "&pw=" + pw + "&ph=" + ph + "&url="+url+"&sd=" + sd + "&ed=" + ed, "", "width=454px, height=274px");

    if(coupon == null)
        alert("팝업 차단을 해제시켜 주세요.");
}

function openPopup(url, wid, hei)
{
     var coupon = window.open(url,"", "width="+wid+"px, height="+hei+"px");
     if(coupon == null)
        alert("팝업 차단을 해제시켜 주세요.");
}

function getDomaint()
{
    var dns, arrDns, str;
    dns = document.location.href; //<-- 현재 URL 얻어온다
    arrDns = dns.split("//"); //<-- // 구분자로 짤라와서
    str = arrDns[0]+"//"+arrDns[1].substring(0,arrDns[1].indexOf("/")); //<-- 뒤에부터 다음 / 까지 가져온다
    return str;
}
