/*******************************************************************

	flashWrite - ÇÃ·¡½Ã ÀÓº£µðµå ¹®Á¦ ÇØ°á ½ºÅ©¸³Æ® 

	url	 		:	ÆÄÀÏ ÀÌ¸§
	w			:	³ÐÀÌ
	h			:	³ôÀÌ
	id			:	¾ÆÀÌµð
	bg			:	¹è°æ»ö
	vars		:	º¯¼ö
	win		:	À©µµ¿ì¸ðµå

*******************************************************************/
function flashWrite(url,w,h,id,bg,vars,win){
	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	document.write(flashStr);
}

function flashPlayWrite(url,w,h,id,bg,vars,win){

	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='sameDomain' />" + 
	"<param name='allowFullScreen' value='true' />" +
    "<param name='quality' value='high' />" +
	"<param name='bgcolor' value='"+bg+"' />"+
    "<param name='movie'  value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' allowFullScreen='true' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	document.write(flashStr);
}

function flashPlayWriteMac(url,w,h,id,bg,vars,win){

	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='sameDomain' />" + 
	"<param name='allowFullScreen' value='true' />" +
    "<param name='quality' value='high' />" +
	"<param name='bgcolor' value='"+bg+"' />"+
    "<param name='movie'  value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' allowFullScreen='true' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	document.write(flashStr);
}


/*******************************************************************

	·Ñ¿À¹ö °ü·Ã ÇÔ¼öµé

*******************************************************************/
function MM_swapImgRestore() { //v3.0
	 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }

}

/*******************************************************************

	·Ñ¿À¹ö ÀÌ¹ÌÁö Å×µÎ¸® ÄÃ·¯ º¯°æ 

*******************************************************************/
function tableOut(thiss) {
	thiss.style.borderColor='#E0E0E0';
}
function tableOver(thiss) {
	thiss.style.borderColor="#EAB96D";
}

/*******************************************************************

	life main best click ·¹ÀÌ¾î ÇÔ¼ö 

*******************************************************************/

function DivMnu(str){
	document.all.mnu01.style.display = "none"
	document.all.mnu02.style.display = "none"
	document.all.mnu03.style.display = "none"
	document.all.mnu04.style.display = "none"
	document.all.mnu05.style.display = "none"
	document.all.mnu06.style.display = "none"

	divs = eval("document.all.mnu" + str);
	divs.style.display = "inline"
}

/*******************************************************************

	srh() : °Ë»ö¾î ÀÔ·Â ¹Ú½º °ü·Ã ÇÔ¼ö

*******************************************************************/
function srh(){ 
	document.all.srh.style.backgroundImage=""; 
}
/*******************************************************************

	popup ¶ç¿ì´Â ÇÔ¼ö

*******************************************************************/

function openPopup(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/*******************************************************************

	ShowFaq -  helpdesk faq¿¡ µé¾î°¡´Â ½ºÅ©¸³Æ® 

*******************************************************************/
//  
var old_obj = null;
function showView(obj) {
  if (!old_obj) {
    obj.style.display = "block";
	old_obj = obj;
	return;
  }

  if (old_obj == obj) {
	if (obj.style.display == "block") {
	  obj.style.display = "none";
	  old_obj = null;
	  return;
	}
  } else {
    old_obj.style.display = "none";
    obj.style.display = "block";
	old_obj = obj;
  }

}

/*******************************************************************

	showH -  Horoscope ¿¡ µé¾î°¡´Â ½ºÅ©¸³Æ® 

*******************************************************************/

function showH(num) {
	for( i = 1; i < 13;  i++ ) {	
	  mnu=eval("document.all.btn"+i+".style");
   	  view=eval("document.all.obj"+i+".style");

	 if ( i == num ) {
				if (view.display=="block")
				{
					view.display="none";
					mnu.display="block";
				} else {
					view.display="block";
					mnu.display="none";
				}

			} else {
				view.display="none";
				mnu.display="block";
			}
	}

}
/*******************************************************************

	ÀÌ¹ÌÁö È®´ëÇÏ±â °ü·Ã ½ºÅ©¸³Æ®

*******************************************************************/
function viewImg(strUrl)
{
	document.all.vimage.src = strUrl;
}

/*******************************************************************

	½ºÅ©·ÑµÇ´Â ÀÌ¹ÌÁö °¶·¯¸® °ü·Ã ½ºÅ©¸³Æ®

*******************************************************************/
lyrHeight=300;
clipTop=0;
clipRight=300;
clipBottom=335;
clipLeft=0;
scrolltimer = null;
function verScroll(lyr, spd, tim) 
{
  if (document.layers) 
  {
     var MyLayer = eval("document.layers."+lyr);
  }
  else if (document.getElementById) 
  {   
     var MyLayer = eval("document.getElementById('"+lyr+"').style");
  }
  else if (document.all) 
  {
     var MyLayer = eval("document.all('"+lyr+"').style");
  }
  speed = parseInt(spd);
  var y_pos = parseInt(MyLayer.top); 
  if ((clipTop > 0 && speed > 0) || (clipTop <= ((2*lyrHeight)+speed-6) && speed < 0))
  {
     clipTop-=speed;
     clipBottom-=speed;
     if (document.layers) 
     {
        MyLayer.clip.top=clipTop;
        MyLayer.clip.bottom=clipBottom;   
        MyLayer.top = (y_pos + speed);
        scrolltimer = setTimeout("verScroll('"+lyr+"','"+spd+"','"+tim+"')",20);  
     } 
     else
     {
        MyLayer.clip ='rect('+clipTop+' '+clipRight+' '+clipBottom+' 0)'; 
                 MyLayer.top = (y_pos + speed);
        scrolltimer = setTimeout("verScroll('"+lyr+"','"+spd+"','"+tim+"')",20);  
     }  
  } 
}    
function stopScroll() 
{
   clearTimeout(scrolltimer);
}


/*******************************************************************

	¸ÞÀÎ ·¹ÀÌ¾î °ü·Ã ÇÔ¼ö

*******************************************************************/
function DivLife(str){
	document.all.tab01.style.display = "none"
	document.all.tab02.style.display = "none"
	document.all.tab03.style.display = "none"
	document.all.tab04.style.display = "none"
	document.all.tab05.style.display = "none"
	document.all.tab06.style.display = "none"

	divs = eval("document.all.tab" + str);
	divs.style.display = "inline"
}

function DivBe(str){
	document.all.ta01.style.display = "none"
	document.all.ta02.style.display = "none"

	divs = eval("document.all.ta" + str);
	divs.style.display = "inline"
}	

function DivM(str){
	document.all.m01.style.display = "none"
	document.all.m02.style.display = "none"
	document.all.m03.style.display = "none"
	document.all.m04.style.display = "none"
	document.all.m05.style.display = "none"
	document.all.m06.style.display = "none"

	divs = eval("document.all.m" + str);
	divs.style.display = "inline"
}	


/***********************************************************************************

	reSetBgID ÇÔ¼ö / reSetBgPWÇÔ¼ö :  LOGIN ID /PW ÀÌ¹ÌÁö »ç¶óÁö°Ô ÇÏ´Â ÇÔ¼ö 

***********************************************************************************/
function reSetBgID() {
	document.all.UserID.style.backgroundImage="";
	document.all.UserPass.style.backgroundImage="";
}

function reSetBgPW() {
	document.all.UserID.style.backgroundImage="";
	document.all.UserPass.style.backgroundImage="";
}

function menu(num) {
	
	//alert(num);

	if(num	== "1_1_0"){
		location.href='/collection/collectionMain.html';
	} else if(num	== "1_2_0"){
		location.href='/fashion/fashionMain.html';
	} else if(num	== "1_3_0"){
		location.href='/beauty/beautyMain.html';
			} else if(num	== "1_4_0"){
		location.href='/fashion/ac/alist/02_ac_alist_01.asp';
	} else if(num	== "2_0_0"){
		location.href='/people/PeopleMain.html';
	} else if(num	== "3_0_0"){
		location.href='/life/lifeMain.html';
	} else if(num	== "6_0_0"){
		location.href='/community/communityMain.html';
	} else if(num	== "5_1_0"){
		location.href='/shopping/njoynewyork.html';

	//Collection Submenu Link
	} else if(num	== "1_1_1"){
		location.href='/collection/worldCollection.html';
	} else if(num	== "1_1_2"){
		location.href='/collection/KoreaCollection.html';
	} else if(num	== "1_1_3"){
		location.href='/collection/colorList.html';
	} else if(num	== "1_1_4"){
		location.href='/collection/seasonalList.html';
	} else if(num	== "1_1_5"){
		location.href='/collection/designerList.html';
	
	//fashion submenu Link
	} else if(num	== "1_2_1"){
		location.href='/fashion/trendList.html';
	} else if(num	== "1_2_2"){
		location.href='/fashion/editorList.html';
	} else if(num	== "1_2_3"){
		location.href='/fashion/brandList.html';
	} else if(num	== "1_2_4"){
		location.href='/fashion/globalList.html';
	} else if(num	== "1_2_5"){
		location.href='/fashion/guideList.html';
	} else if(num	== "1_2_6"){
		location.href='/fashion/shopgirlList.html';

	//beauty submenu Link
	} else if(num	== "1_3_1"){
		location.href='/beauty/featureList.html';
	} else if(num	== "1_3_2"){
		location.href='/beauty/editorList.html';
	} else if(num	== "1_3_3"){
		location.href='/beauty/brandList.html';
	} else if(num	== "1_3_4"){
		location.href='/beauty/guideList.html';
	} else if(num	== "1_3_5"){
		location.href='/beauty/prettygirlList.html';
	} else if(num	== "1_3_6"){
		location.href='/beauty/classList.html';
	//People Submenu Link
	} else if(num	== "2_1_1"){
		location.href='/people/PeopleView.html?leftMenu=EL';
	} else if(num	== "2_1_2"){
		location.href='/people/PeopleView.html?leftMenu=EG';
	} else if(num	== "2_1_3"){
		location.href='/people/PeopleView.html?leftMenu=PM';
	} else if(num	== "2_2_0"){
		location.href='/people/HotsnapsView.html';
	} else if(num	== "2_3_0"){
		location.href='/people/WhosView.html';
	} else if(num	== "2_4_1"){
		location.href='/entertain/enterList.html';
	} else if(num	== "2_4_2"){
		location.href='/entertain/musicList.html';
	//Life Submenu Link

	} else if(num	== "3_1_0"){
		location.href='/life/lifeStyleList.html';
	} else if(num	== "3_2_0"){
		location.href='/life/loveView.html';
	//} else if(num	== "3_2_1"){
	//	location.href='/life/loveSexList.html';
	//} else if(num	== "3_2_2"){
	//	location.href='/life/sayLoveList.html';
	//} else if(num	== "3_3_0"){
	//	location.href='/life/Horoscope.html';
	} else if(num	== "3_3_1"){
		location.href='/life/Horoscope.html';
	} else if(num	== "3_3_2"){
		location.href='/life/Horoscope_past.html';
	} else if(num	== "3_4_0"){
		location.href='/life/tarot_main.asp ';
	//} else if(num	== "3_4_2"){
	//	location.href='#';
	} else if(num	== "3_5_0"){
		location.href='/life/carrerFeatureView.html';
	} else if(num	== "3_6_0"){
		location.href='/life/travelPickView.html';
	//} else if(num	== "3_5_2"){
	//	location.href='/life/travelPickList.html';
	} else if(num	== "3_7_0"){
		location.href='/life/cuisineList.html';

	//2008-04-02Ãß°¡
	//elle deco
	} else if(num	== "3_8_1"){
		location.href='/life/elleDecoView.html?chk=tr';
	} else if(num	== "3_8_2"){
		location.href='/life/elleDecoView.html?chk=co';
	} else if(num	== "3_8_3"){
		location.href='/life/elleDecoView.html?chk=st';

	//2008-04-25Ãß°¡
	//elle a seoul
	} else if(num	== "3_9_1"){
		location.href='/life/elleAseoulView.html?leftMenu=se';
	} else if(num	== "3_9_2"){
		location.href='/life/elleAseoulView.html?leftMenu=fd';
	} else if(num	== "3_9_3"){
		location.href='/life/elleAseoulView.html?leftMenu=ct';
	} else if(num	== "3_9_4"){
		location.href='/life/elleAseoulView.html?leftMenu=li';
	} else if(num	== "3_9_5"){
		location.href='/life/elleAseoulView.html?leftMenu=te';
	} else if(num	== "3_9_6"){
		location.href='/life/elleAseoulView.html?leftMenu=sr';
		
	//entertainment
	} else if(num	== "4_1_0"){
		location.href='/entertain/enterList.html';
	} else if(num	== "4_2_0"){
		location.href='/entertain/musicList.html';

	//Shopping Submenu Link
	} else if(num	== "5_1_1"){
		location.href='/shopping/fashionList.html';
	} else if(num	== "5_1_2"){
		location.href='/shopping/beautyList.html';
    } else if(num	== "5_2_0"){
		location.href='#';
    } else if(num	== "5_3_0"){
		location.href='/shopping/select_shop.html';
		

		
  

	//community Submenu Link
	} else if(num	== "6_1_0"){
		location.href='/community/communityMain.html';
	

	//event Submenu Link
	} else if(num	== "7_0_0"){
		location.href='/event/eventList.html';
	} else if(num	== "7_1_0"){
		location.href='/event/eventList.html';
	} else if(num	== "7_2_0"){
		location.href='/event/eventPastList.html';
	} else if(num	== "7_3_0"){
		location.href='/event/beautyTesterList.html';
	} else if(num	== "7_4_0"){
		location.href='/event/testerUserList.html';
	} else if(num	== "7_5_0"){
		location.href='/event/winnerList.html';
	} else if(num	== "7_6_0"){
		location.href='/event/brandLoungeList.html';

	//elle tv Link
	} else if(num	== "8_0_0"){
		location.href='/elletv/elleTvMain_collection.html';

	//Á¤±â±¸µ¶
		} else if(num	== "9_1_0"){
		location.href='/magazine/ebookList.html ';
	} else if(num	== "9_2_1"){
		location.href='/magazine/subscription_notice.html';
	} else if(num	== "9_2_2"){
		location.href='/magazine/mySubInfo.html';
	} else if(num	== "9_2_3"){
		location.href='/helpdesk/qnaList_subscription.html?SubSection=3';
	} else if(num	== "9_3_0"){
		location.href='/magazine/clublounge_list.html';

	
		
//ad Link
	} else if(num	== "13_1_0"){
		location.href='/footer/adguide.html';
	} else if(num	== "13_2_0"){
		location.href='/footer/ad_off_basic.html';
	} else if(num	== "13_3_0"){
		location.href='/footer/ad_on_basic.html';
	} else if(num	== "13_4_0"){
		location.href='/footer/adAsk.html';
	} else if(num	== "13_5_0"){
		location.href='/footer/partner.html';
	}

	//°í°´¼¾ÅÍ
	else if(num	== "10_1_0"){
		location.href='/helpdesk/noticeList.html';
	} else if(num	== "10_2_0"){
		location.href='/helpdesk/faqList.html';
	} else if(num	== "10_3_0"){
		location.href='/helpdesk/qnaList.html';
	} else if(num	== "10_4_0"){
		location.href='/helpdesk/oneToone.html';
		
	} else if(num	== "10_5_0"){
		location.href='/helpdesk/applyList.html';
	} else if(num	== "10_6_0"){
		location.href='/footer/sitemap.html';
    } else if(num	== "10_7_0"){
		location.href='/helpdesk/cardList.html';
	}

	//myelle
	else if(num	== "11_1_0"){
		location.href='/myelle/myInfomodify.html';
	} else if(num	== "11_2_1"){
		location.href='/myelle/mypoint.html';
	} else if(num	== "11_2_2"){
		location.href='/myelle/mypoint_guide.html';
	} else if(num	== "11_3_0"){
		location.href='/myelle/myhoroscope.html';
	} else if(num	== "11_4_0"){
		location.href='/myelle/mytarot.html';
	} else if(num	== "11_5_0"){
		location.href='/myelle/myscrap.html';
	} else if(num	== "11_6_0"){
		location.href='/myelle/myevent.html';
	} else if(num	== "11_7_0"){
		location.href='/myelle/myebook.html';
	} else if(num	== "11_8_0"){
		location.href='/myelle/myqna.html';
	}
	//mac_f
		else if(num	== "15_1_0"){
		location.href='/myelle/myInfomodify.html';
	} else if(num	== "15_1_1"){
		location.href='/fashion/trendList.html';
	} else if(num	== "15_1_2"){
		location.href='/fashion/editorList.html';
	} else if(num	== "15_1_3"){
		location.href='/fashion/brandList.html';
	} else if(num	== "15_1_4"){
		location.href='/fashion/globalList.html';
	} else if(num	== "15_1_5"){
		location.href='/fashion/guideList.html';
	} else if(num	== "15_1_6"){
		location.href='/fashion/shopgirlList.html';
		
	} else if(num	== "15_2_1"){
		location.href='/fashion/ac/alist/04_ac_alist_01.asp';
	} else if(num	== "15_2_2"){
		location.href='/fashion/ac/aguide/04_ac_aguide_01.asp';
	} else if(num	== "15_2_3"){
		location.href='/fashion/ac/shoes/04_ac_shoes_01.asp';
	} else if(num	== "15_2_4"){
		location.href='/fashion/ac/bags/04_ac_bags_01.asp';
	} else if(num	== "15_2_5"){
		location.href='/fashion/ac/acc/04_ac_acc_01.asp';
	} else if(num	== "15_2_6"){
		location.href='/fashion/ac/trend/04_ac_trend_01.asp';
	} else if(num	== "15_2_7"){
		location.href='/fashion/ac/match/04_ac_match_01.asp';
	} else if(num	== "15_2_8"){
		location.href='/fashion/ac/horoscope/02_ac_horoscope.asp';
	}
		//acc
	else if(num	== "14_0_0"){
		location.href='/fashion/ac/alist/04_ac_alist_01.asp';
	} else if(num	== "14_1_0"){
		location.href='/fashion/ac/alist/04_ac_alist_01.asp';
	}
	//alert(num);

}



function content_movie(url,wid,hei) {

	document.write('<object id=medi codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 width='+wid+' height='+hei+' type=application/x-oleobject standby=Loading Microsoft?Windows?Media Player components...>')
	document.write('<param name=Filename value='+url+'>')
	document.write('<param name=loop value=1>')
	document.write('<param name=mute value=0>')
	document.write('<param name=AutoStart value=0>')
	document.write('<param name=AutoSize value=0>')
	document.write('<param name=AutoResize value=0>')
	document.write('<param name=AnimationAtStart value=0>')
	document.write('<param name=TransparentAtStart value=1>')
	document.write('<param name=AutoRewind value=1>')
	document.write('<param name=ShowDisplay value=0>')
	document.write('<param name=ClickToPlay value=1>')
	document.write('<param name=EnableContextMenu value=0>')
	document.write('<param name=ShowPositionControls value=1>')
	document.write('<param name=ShowStatusBar value=0>')
	document.write('<param name=ShowControls value=1>')
	document.write('<param name=EnableTracker value=1>')
	document.write('<param name=Volume value=0>')
	document.write('<param name=wmode value=transparent>')
	document.write('</OBJECT>')
}


function flash_movie_play(name,url,wid,hei)
{
	document.write('<OBJECT classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 id='+name+' name='+name+' width='+wid+' height='+hei+' type=application/x-oleobject standby=Loading Windows Media Player components...>')
	document.write('<PARAM NAME=FileName VALUE='+url+'>')
	document.write('<PARAM NAME=ShowControls VALUE=0>')
	document.write('<PARAM NAME=ShowStatusBar VALUE=0>')
	document.write('<PARAM NAME=AutoRewind VALUE=0>')
	document.write('<PARAM NAME=ShowDisplay VALUE=0>')
	document.write('<PARAM NAME=DefaultFrame VALUE=Slide>')
	document.write('<PARAM NAME=Autostart VALUE=1>')
	

	document.write('<PARAM NAME=SendMouseClickEvents VALUE=1>')
	document.write('<PARAM NAME=EnableContextMenu value=false>')
	document.write('<PARAM NAME=TransparentAtStart value=-1>')
	document.write('<PARAM NAME=AnimationAtStart value=0>')
	document.write('</object>')
}

/*
ºê·£µå¶óÀÌºê·¯¸®
*/
var old_obj = null;
function showViewB(obj) {
  if (!old_obj) {
    obj.style.display = "block";
	old_obj = obj;
	return;
  }

  if (old_obj == obj) {
	if (obj.style.display == "block") {
	  obj.style.display = "none";
	  old_obj = null;
	  return;
	}
  } else {
    old_obj.style.display = "none";
    obj.style.display = "block";
	old_obj = obj;
  }

}

///////////Flash Insert///////////////////////////////////////////////////////////////
function insertFlash( id, flashUri, vWidth, vHeight, winMode ) {
	var _obj_ = "";

	_obj_ = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" align="middle">';
	_obj_ += '<param name="movie" value="' + flashUri + '" />';
	_obj_ += '<param name="quality" value="high" />';
	_obj_ += '<param name="wmode" value="' + winMode + '" />    ';
	_obj_ += '<param name="bgcolor" value="#ffffff" />        ';
	_obj_ += '<embed src="' + flashUri + '" quality="high" wmode="' + winMode + '" bgcolor="#ffffff" width="' + vWidth +'" height="' + vHeight + '" id="' + id + '" align="middle" allowscriptaccess="allways" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>    ';
	_obj_ += '</object>';
	document.writeln( _obj_ );
}

function LoginCheck(){
		alert('·Î±×ÀÎÀÌ ÇÊ¿äÇÕ´Ï´Ù.\n·Î±×ÀÎ ÆäÀÌÁö·Î ÀÌµ¿ÇÏ½Ã°Ú½À´Ï±î?');
		location.href='http://login.elle.co.kr/login/login.html?rurl=' + encodeURIComponent(document.location);
	}

	function LogoutCheck(){
		location.href='http://login.elle.co.kr/login/Logout.asp';
	}