﻿function flashView(_url, wsize, hsize, wmode) {
    document.write();
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width=' + wsize + ' height=' + hsize + ' VIEWASTEXT ID="Object1">');
    document.write('<param name="movie" value=' + _url + ' />');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="menu" value="false">');
    document.write('<embed src=' + _url + ' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=' + wsize + ' height=' + hsize + '></embed>');
    document.write('</object>');
    document.write();
}

//플래쉬 메뉴 링크
//1-Depth 메뉴

//ABOUT ELLESSE
function menu01() {
    document.location.href = "http://www.ellesse.co.kr/aboutellesse/thebrand.aspx";
}
    //The Brand
    function menu011() {
        document.location.href = "http://www.ellesse.co.kr/aboutellesse/thebrand.aspx";
    }
    //Heritage
    function menu012() {
        document.location.href = "http://www.ellesse.co.kr/aboutellesse/Heritage.aspx";
    }
    //Campaigns
    function menu013() {
        document.location.href = "http://www.ellesse.co.kr/aboutellesse/Campaigns11_AW.aspx";
    }


//PRODUCT
function menu02() {
    document.location.href = "http://www.ellesse.co.kr/product/hotitem.aspx?MstBrdNo=8";
}
    //Hot Item
    function menu021() {
        document.location.href = "http://www.ellesse.co.kr/product/hotitem.aspx?MstBrdNo=8";
    }
    //???
    function menu022() {
        document.location.href = "http://www.ellesse.co.kr/product/prdlist.aspx?Cate=14";
    }
    //Apparel
    function menu023() {
        document.location.href = "http://www.ellesse.co.kr/product/prdlist.aspx?Cate=4";
    }
    //Footwear
    function menu024() {
        document.location.href = "http://www.ellesse.co.kr/product/prdlist.aspx?Cate=31";
    }
    //Accessories
    function menu025() {
        document.location.href = "http://www.ellesse.co.kr/product/prdlist.aspx?Cate=37";
    }
    
    

//MEDIA
function menu03() {
    document.location.href = "http://www.ellesse.co.kr/media/pressList.aspx?MstBrdNo=4";
}
    //Press Release
    function menu031() {
        document.location.href = "http://www.ellesse.co.kr/media/pressList.aspx?MstBrdNo=4";
    }
    //Star Gallery
    function menu032() {
        document.location.href = "http://www.ellesse.co.kr/media/stargallery.aspx?MstBrdNo=11";
    }

    
    
//MESTYLE
function menu04() {
    document.location.href = "http://www.ellesse.co.kr/mestyle/stylestorylist.aspx?MstBrdNo=5";
}
    //Style 
    function menu041() {
        document.location.href = "http://www.ellesse.co.kr/mestyle/stylestorylist.aspx?MstBrdNo=5";
    }
    //Style Photo
    function menu042() {
        document.location.href = "http://www.ellesse.co.kr/mestyle/stylephotolist.aspx?MstBrdNo=7";
    }
//    //Style Photo
//    function menu043() {
//        document.location.href = "http://www.ellesse.co.kr/mestyle/stylephotolist.aspx?MstBrdNo=7";
//    }
//    //Family Wellbeing Shose
//    function menu044() {
//        document.location.href = "http://www.ellesse.co.kr/mestyle/styleshoes.aspx";
//    }
    

//EVENT
function menu05() {
    document.location.href = "http://www.ellesse.co.kr/event/processlist.aspx?MstBrdNo=1";
}
    //News & Notice
    function menu051() {
        document.location.href = "http://www.ellesse.co.kr/event/newslist.aspx?MstBrdNo=2";
    }
    //진행중인 이벤트
    function menu052() {
        document.location.href = "http://www.ellesse.co.kr/event/processlist.aspx?MstBrdNo=1";
    }
    //종료된 이벤트
    function menu053() {
        document.location.href = "http://www.ellesse.co.kr/event/endlist.aspx?MstBrdNo=1";
    }
    //당첨자 발표
    function menu054() {
        document.location.href = "http://www.ellesse.co.kr/event/prizewinnerlist.aspx?MstBrdNo=3";
    }

//2-Depth 메뉴

//javascript:menu011() ~ javascript:menu013()
//javascript:menu021() ~ javascript:menu025()
//javascript:menu031() ~ javascript:menu032()
//javascript:menu041() ~ javascript:menu044()
//javascript:menu051() ~ javascript:menu054()



//-------------Srore Map------------------------------------
    function ellmap(param) {
     
        switch (param) {
            case "제주":
                this.location.href = "http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=01";
                break;
            case "전북":
                this.location.href = "http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=02";
                break;
            case "전남":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=03';
                break;
            case "충북":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=04';
                break;
            case "충남":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=05';
                break;
            case "인천":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=06';
                break;
            case "강원도":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=07';
                break;
            case "광주":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=08';
                break;
            case "경기도":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=09';
                break;
            case "경북":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=10';
                break;
            case "경남":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=11';
                break;
            case "부산":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=12';
                break;
            case "서울":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=13';
                break;
            case "대구":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=14';
                break;
            case "대전":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=15';
                break;
            case "울산":
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=16';
                break;
            default: //경기도
                this.location.href = 'http://www.ellesse.co.kr/store/storeinfo.aspx?AreaCode=09';
                break;
        }
    }
    
//-------------Srore Map------------------------------------
    function main_b01() {
        // window.open("http://dbook.eland.co.kr/gallery/view.asp?seq=4836&path=110126131518", "main_b01");
        location.href = "http://www.ellesse.co.kr/product/hotitem.aspx?MstBrdNo=8";
    }

    function main_b02() {
        window.open("http://www.ellesseheritage.com/home.aspx", "main_b01");
    }

    function main_b03() {
        window.open("http://cafe.naver.com/ellessestyle", "main_b01");
    }

