﻿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();
}


//-----intro
//function skip() { this.location = '/default.aspx'; }
//---------------------------------------------------------------------------------------------------------------------------------------
// ◆ Common Top Menu
//---------------------------------------------------------------------------------------------------------------------------------------




//-----인트로
function main01() { this.location = '/Event/20110216_Item/ItemMainA.aspx'; }
function main02() { this.location = '/Event/20110216_Item/ItemMainB.aspx'; }
function main03() { this.location = '/Event/20110216_Item/ItemMainC.aspx'; }

//------20110221 리뉴얼 
//SNS 팝업
function SnsPops(url)
{
    snsPop = window.open(url, "SNSPop", "width=718, height=350, top=0, left=0,scrollbars=no");
    snsPop.focus();
}

//-----20110104 인트로
function ncweb() {  WebZinPop('/Design/Intro/Webzin2.html') }       //설날 선물 특선집

function sulgift() { BrandPop('http://dbook.eland.co.kr/gallery/view.asp?seq=4659&path=110103143739'); }           //설날 선물 특선집
function gounkid() { this.location = '/Event/20110119/MainA.aspx?page=1'; }         //이혜순 고운 옷'휘' 아동복 특별행사보기


//-----20110104 웹진
function vol_1() { this.location = '/Design/Intro/Webzin.html'; }           //웹진
function vol_2() { this.location = '/Design/Intro/Webzin2.html'; }         //설날가이드북


//-----sms
function sms()        { this.location = '#'; }      //sms 
function left01()     { this.location = '#'; }      //left
function right01()    { this.location = '#'; }      //right
function left02()     { this.location = '#'; }      //left
function right02()    { this.location = '#'; }      //right

//-----brand pop
function pop01()      { BrandPop('brand_main_socie.html'); }          //
function pop02()      { BrandPop('brand_main_fromdeco.html'); }       //
function pop03()      { BrandPop('brand_main_moscona.html'); }        //
function pop04()      { BrandPop('brand_main_staff.html'); }          //
function pop05()      { BrandPop('brand_main_luett.html'); }          //
function pop06()      { BrandPop('brand_main_cindy.html'); }          //
function pop07()      { BrandPop('brand_main_cindy.html'); }          //
function pop08()      { BrandPop('brand_main_lozza.html'); }          //

var brandPop;

function BrandPop(url)
{
    brandPop = window.open(url, "BrandPop", "width=1000, height=700, top=0, left=0,scrollbars=no");
    brandPop.focus();    
}

function WebZinPop(url)
{
    WebZinPop = window.open(url, "WebZinPop", "width=1000, height=720, top=0, left=0,scrollbars=no");
    WebZinPop.focus();    
}

function dbook(url)
{
    dbook = window.open(url, "dbook", "width=1024, height=768, top=0, left=0,scrollbars=no");
    dbook.focus();    
}

//-----HotItems
//-----main_
function cpdown01() { 

 }
function buy01() {         
    window.open("http://www.spao.com/shop/WorldCup.aspx", "newWin");    
}

//-----main_
function hotitems() { this.location = '/HotItems/Main.aspx'; }     //
function openevent2() { this.location = '/Event/Main.aspx'; }     //오픈이벤트
function openevent3() { this.location = '/Event/Main.aspx'; }    //이벤트둘째줄

//-----20100819 메인링크
//function mainintro() { this.location = '/HotItems/20100901/MainA.aspx'; }     //20100819메인

//function mall() { this.location = '/Shop/PrdList.aspx?cat1=22598&cat2=22603&cat3=22618'; }         //
//function mall() { this.location = '/Shop/PrdList.aspx?cat1=22598&cat2=22602&cat3=22609'; } //2010.07.22
function mall() { this.location = 'Event/20101028/Event01.aspx'; } //2010.07.22

//-----20100913 메인링크
//function new01() { this.location = '/shopguide/Yatap/floorguide_detail.aspx'; }        //새롭게 바뀐 nc백화점
//function event01() { this.location = '/Event/20100916/Event02.aspx'; }        //event1
//function event02() { this.location = '/Event/20100916/Event01.aspx'; }        //event2
//function event03() { alert("9월 29일 오픈예정"); }        //event3

//function info01() { this.location = '/shopguide/Yatap/map_yatap.aspx'; }      //오시는길
//function info02() { window.open('http://dbook.eland.co.kr/gallery/view.asp?seq=3841&path=100907135017'); }      //전단보기
//function info03() { this.location = '/shopguide/Yatap/floorguide_yatap.aspx'; }      //층별안내

//function guide() { window.open('http://dbook.eland.co.kr/gallery/view.asp?seq=3795&path=100901111613'); }        //nc추석가이드북 보기

//-----20101102 서브 레프트 메뉴
function n_menu01() { this.location = '/HotItems/20110210/MainA_01.aspx'; }     
function n_menu02() { this.location = '/HotItems/20110210/MainB_01.aspx'; }     


//-----20101202 메인 모던하우스 크리스마스 제안전
function main_item01() { this.location = '/HotItems/20101203/MainA.aspx?page=1'; }     //GOLD
function main_item02() { this.location = '/HotItems/20101203/MainA.aspx?page=3'; }     //SILVER
function main_item03() { this.location = '/HotItems/20101203/MainA.aspx?page=7'; }     //RED
function main_item04() { this.location = '/HotItems/20101203/MainA.aspx?page=5'; }     //GREEN
function main_item05() { this.location = '/HotItems/20101203/MainA.aspx?page=9'; }     //KIDS



function mob_web() { this.location = '/Event/20101214/Event02.aspx'; }
function mod_sale() { this.location = '/HotItems/20101217/MainA.aspx'; }




