/*
function autoBlur()
{ 
  if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") 
  document.body.focus(); 
} 
  document.onfocusin=autoBlur; 
*/

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function AttachFile(path){
	window.open("http://intra.lh.co.kr/filemanage/intraupload.jsp?path="+path,'upload','width=315,height=250,scrollbars=no,resizable=no');
	return false;
}

function addFileName(filename, size, filepath, filetype, temp) {
	document.form.filename.value = filename;
	document.form.filesize.value = size;
	document.form.filepath.value = filepath;
	document.form.filetype.value = filetype;
	document.form.temp.value = temp;
}

//È¬µû¿ÈÇ¥ Ã¼Å© --> °æ°íÃ¢
function ch_str(){
	if(event.keyCode==39){
		alert('ÀÔ·ÂÇÒ ¼ö ¾ø´Â ¹®ÀÚ ÀÔ´Ï´Ù');
		event.returnValue=false;
	}
}

function checkForm()
{
	var fn = document.form;
	if(fn.subject.value == ""){
		alert("Á¦¸ñÀ» ÀÔ·ÂÇÏ¼¼¿ä!");
		fn.subject.focus();
		return;
	}
	if(fn.content.value == ""){
		alert("³»¿ëÀ» ÀÔ·ÂÇÏ¼¼¿ä!");
		fn.content.focus();
		return;
	}
	if(fn.memoto.length <= 0){
		alert("¹ÞÀ¸½Ç ºÐÀ» ÁöÁ¤ÇÏ¼¼¿ä!");
		return;
	}
	
	for(var i = 0; i < fn.memoto.length; i++){
		fn.memoto.options[i].selected = true;
	}
	
	document.form.submit();
}
	
function sendDel()
{
	var memoto = document.form.memoto;
	for (var i = 0; i < document.form.memoto.length; i++){
		if(memoto.options[i].selected == true){
			memoto.options[i] = null;
		}
	}
}

function sendList(){
	var selmemo = document.form.selmemo;
	var memoto = document.form.memoto;
	var i;
	var n;
	if(selmemo.value != ""){
		if(memoto.length > 0){
			for(i = 0; i < document.form.memoto.length; i++){
				if(memoto.options[i].value == selmemo.value){
					alert("¹ÞÀ¸½Ç ºÐ ¸ñ·Ï¿¡ ÀÌ¹Ì µî·ÏµÇ¾î ÀÖ½À´Ï´Ù.");
					return;
				}
			}
		}
		var op = new Option(selmemo.options[selmemo.selectedIndex].text, selmemo.value);
		memoto.options[memoto.length] = op;
	}
}

// ±ÛÀÚ¼ö Á¦ÇÑ
function updateChar(form_name, length_limit, seq)
{
	var comment='';
	comment = eval("document."+form_name+"."+seq);
	var form = "document."+form_name;
	var length = calculate_msglen(comment.value);
	//document.getElementById("textlimit").innerHTML = length;
	if (length > length_limit) {
		alert("ÃÖ´ë " + length_limit + "byteÀÌ¹Ç·Î ÃÊ°úµÈ ±ÛÀÚ¼ö´Â ÀÚµ¿À¸·Î »èÁ¦µË´Ï´Ù.");
		comment.value = comment.value.replace(/\r\n$/, "");
		comment.value = assert_msglen(comment.value, length_limit);
	}
}

function calculate_msglen(message)
{
	var nbytes = 0;

	for (i=0; i<message.length; i++) {
		var ch = message.charAt(i);
		if(escape(ch).length > 4) {
			nbytes += 2;
		} else if (ch == '\n') {
			if (message.charAt(i-1) != '\r') {
				nbytes += 1;
			}
		} else if (ch == '<' || ch == '>') {
			nbytes += 4;
		} else {
			nbytes += 1;
		}
	}

	return nbytes;
}

function assert_msglen(message, maximum)
{
	var inc = 0;
	var nbytes = 0;
	var msg = "";
	var msglen = message.length;

	for (i=0; i<msglen; i++) {
		var ch = message.charAt(i);
		if (escape(ch).length > 4) {
			inc = 2;
		} else if (ch == '\n') {
			if (message.charAt(i-1) != '\r') {
				inc = 1;
			}
		} else if (ch == '<' || ch == '>') {
			inc = 4;
		} else {
			inc = 1;
		}
		if ((nbytes + inc) > maximum) {
			break;
		}
		nbytes += inc;
		msg += ch;
	}
	//document.getElementById("textlimit").innerHTML = nbytes;
	return msg;
}	


//¿¹Á¦ page010100 = new Array("", "/Game/Sun/info.asp");//....
//¿¹Á¦ page050100 = new Array("pop", "/Webzengames/Korea/Game/Mu/default.asp");// È¸¿øÅ»Åð
//¿¹Á¦ page060100 = new Array("pop", "/Webzengames/Korea/Game/Mu/default.asp");// È¸¿øÅ»Åð

top_home		= new Array("", "/main/main.aspx");//È¨
top_login		= new Array("", "/Special/login.aspx");//·Î±×ÀÎ
top_logout		= new Array("", "/Special/logout.aspx");//·Î±×¾Æ¿ô
top_join		= new Array("eventCheck", "/Special/join_agree.aspx");//È¸¿ø°¡ÀÔ
top_member		= new Array("", "/Myduoback/join_modify.aspx");//Á¤º¸¼öÁ¤
top_my			= new Array("", "/Myduoback/main.aspx");//³ªÀÇµà¿À¹é
top_confirm		= new Array("", "/Special/verification_Info.aspx");//Á¤Ç°ÀÎÁõ
top_english		= new Array("new", "http://www.duoback.co.kr/eng/index.htm");//¿µ¹®

quick01 = new Array("",		"/Comfortable/comfor_science.aspx");//ÀÎÃ¼°øÇÐµà¿À¹é
quick02 = new Array("",		"/Company/Brand/goodian.aspx");//±¸µð¾È
quick03 = new Array("",		"/Quick/pro_search.aspx");//Á¦Ç°°Ë»ö
quick04 = new Array("",		"/Customer_Supply/shop_search_seoul.aspx");//¸ÅÀåÃ£±â
quick05 = new Array("",		"/Customer_Supply/As/asApplication01.aspx");//AS½ÅÃ»
quick06 = new Array("new",	"http://duo-back.co.kr/");//ÀÎÁõ¼îÇÎ¸ô
quick07 = new Array("",		"/Community/Virification_Lounge/MemberLounge_main.aspx");//Á¤Ç°ÀÎÁõ È¸¿ø ¶ó¿îÁö
quick08 = new Array("",		"/Common/store.msi");//¸ÅÀå°ü¸®

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//page010000 = new Array("", "/Product_info/main.aspx");//Á¦Ç°¼Ò°³
page010000 = new Array("", "/Product_info/DuobackAlpha/productAlphaMain.aspx");//Á¦Ç°¼Ò°³

page010100 = new Array("", "/Product_info/DuobackAlpha/productAlphaMain.aspx");//µà¿À¹é¾ËÆÄ
page010101 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?prdDivCode=PDDVDBMS");//µà¿À¹é ¸Þ½¬
page010101_1 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha100M");//µà¿À¹é ¸Þ½¬(¾ËÆÄ100M)
page010101_2 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha150M");//µà¿À¹é ¸Þ½¬(¾ËÆÄ150M)
page010101_3 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha200M");//µà¿À¹é ¸Þ½¬(¾ËÆÄ200M)
page010101_4 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha250M");//µà¿À¹é ¸Þ½¬(¾ËÆÄ250M)
page010102 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?prdDivCode=PDDVDBSP");//µà¿À¹é ½ºÆùÁö
page010102_1 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha100S");//µà¿À¹é ½ºÆùÁö(¾ËÆÄ100S)
page010102_2 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha150S");//µà¿À¹é ½ºÆùÁö(¾ËÆÄ150S)
page010102_3 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha200S");//µà¿À¹é ½ºÆùÁö(¾ËÆÄ200S)
page010102_4 = new Array("", "/Product_info/DuobackAlpha/productAlpha.aspx?modelName=alpha250S");//µà¿À¹é ½ºÆùÁö(¾ËÆÄ250S)

page010200 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBLC");//µà¿À¹é
page010201 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBLC");//µà¿À¹é µà¾ó¸°´õ ¾î¸°ÀÌ¿ë
page010202 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBLS");//µà¿À¹é µà¾ó¸°´õ ÇÐ»ý¿ë

page010300 = new Array("", "/Product_info/main.aspx");//µà¿À¹é
page010301 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBCH");//µà¿À¹é Ã¼¾î¸Ç
page010302 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBRD");//µà¿À¹é ¸®´õ½º
page010303 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBSM");//µà¿À¹é ½º¸¶Æ®
page010304 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBLD");//µà¿À¹é ·¹ÀÌµð
page010305 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBKS");//µà¿À¹é Å°Áîa
page010305_e = new Array("", "/Product_info/Duoback/product.aspx?modelName=DK028E");//µà¿À¹é Å°Áîe
page010306 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBSN");//µà¿À¹é ¼¼¹Ì³ª
page010307 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBNS");//µà¿À¹é ¾ÆÀÌµð¾î
page010308 = new Array("", "/Product_info/Duoback/product.aspx?prdDivCode=PDDVDBDS");//µà¿À¹é ½ºÄð
page010309 = new Array("", "/Product_info/Duoback/option.aspx");//¿É¼Ç
page010310 = new Array("", "/guide/DK-2500G.aspx");//Á¦Ç°»ç¿ë¹ý
page010311 = new Array("", "/Customer_Supply/duoback_search_form.aspx");//³»°Ô ¸Â´Â µà¿À¹éÃ£±â
page010312 = new Array("", "/Product_info/Duoback/product.aspx?modelName=DK-227");//dk-227

page010400 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBDB");//µà¿À¹é °¡¹æ
page010401 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBDB");//µà¿À¹é °¡¹æ ÀúÇÐ³â¿ë
page010402 = new Array("", "/Product_info/DuobackDual/productDual.aspx?prdDivCode=PDDVDBDBA");//µà¿À¹é °¡¹æ °íÇÐ³â¿ë

page010500 = new Array("pop3", "/Catalogue/alpha/default1.html");//EÄ«´Þ·Î±×
page010501 = new Array("pop3", "/Catalogue/default1.html");//°¡Á¤¿ë Ä«´Þ·Î±×
page010502 = new Array("pop3", "/Catalogue/office/default1.html");//»ç¹«¿ë Ä«´Þ·Î±×
page010503 = new Array("pop3", "/Catalogue/alpha/default1.html");//¾ËÆÄ Ä«´Þ·Î±×

page010600 = new Array("", "/guide/DK-2500G.aspx");//Á¦Ç°»ç¿ë¹ý
page010601 = new Array("", "/guide/DK-2500G.aspx");//°¡Á¤¿ë
page010602 = new Array("", "alert2");//»ç¹«¿ë
page010603 = new Array("", "alert2");//Á¶´Þ¿ë
page010604 = new Array("", "/guide/DK-2500G.aspx");//Á¦Ç°»ç¿ë¹ý
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
page070410_3 = new Array("", "/guide/DK-2500G.aspx");//µà¿À¹é ±â´É »ç¿ë¹ý

page020000 = new Array("", "/Comfortable/main.aspx");//Æí¾ÈÇÔÀÇ °úÇÐ µà¿À¹é

page020100 = new Array("", "/Comfortable/Column/medical_list.aspx");//µà¿À¹é Ä®·³
page020101 = new Array("", "/Comfortable/Column/medical_list.aspx");//Àü¹®ÀÇ Ä®·³
//page020102 = new Array("", "/Comfortable/Column/general_list.aspx");//ÀÏ¹Ý Ä®·³
page020103 = new Array("", "/Comfortable/Column/general_list.aspx");//ÀÏ¹Ý Ä®·³ºä
page020200 = new Array("", "/Comfortable/Cartoon/cartoon_view.aspx?k_f=&k_w=");//µà¿À¹éÄ«Å÷
page020201 = new Array("", "/Comfortable/Cartoon/cartoon_list.aspx?cate=CA001");//»ç¹«½Ç ±è´ë¸®
page020202 = new Array("", "/Comfortable/Cartoon/cartoon_list.aspx?cate=CA002");//Àå³­²Ù·¯±â Â¯±¸
page020300 = new Array("", "/Comfortable/comfor_science.aspx");//ÀÎÃ¼°øÇÐ µà¿À¹é ±Ã±ÝÇØ¿ä
page020400 = new Array("", "/Comfortable/duo_past_view.aspx");//µà¿À¹éÀÌ Áö³ª¿Â ±æ
page020500 = new Array("", "/Comfortable/Duopds/duo_treatise.aspx");//ÀÎÃ¼°øÇÐ µà¿À¹é ÀÚ·á½Ç
page020501 = new Array("", "/Comfortable/Duopds/duo_treatise.aspx");//µà¿À¹é³í¹®
page020502 = new Array("", "/Comfortable/Duopds/fact_1_1.aspx");//Æ¯ÇãÇöÈ²
page020503 = new Array("", "/Comfortable/Duopds/prize.aspx");//¼ö»óÇöÈ²
page020504 = new Array("", "/Community/Event/200602/jujuEvent/event_Main.aspx");//ÀÓ½Ã¹è³Ê

page030000 = new Array("", "/Community/main.aspx");//Ä¿¹Â´ÏÆ¼

page030100 = new Array("", "/Community/Event/duo_eventlist.aspx");//µà¿À¹éÀÌº¥Æ®
page030101 = new Array("", "/Community/Event/duo_eventlist.aspx");//µà¿À¹éÀÌº¥Æ®
page030102 = new Array("", "/Community/EventLast/best_community.aspx");//ÀÌº¥Æ®ÈÄ±â
page030200 = new Array("", "/Community/Love/duo_lovelist.aspx");//µà¿À¹é»ç¶û½ÇÃµ
page030300 = new Array("", "/Community/Photo/duo_photolist.aspx");//Âû¯—µà¿À¹é
page030400 = new Array("", "/Community/Experience/duo_experience_list.aspx");//µà¿À¹éÃ¼Çè±â
page030500 = new Array("", "/community/health/defendofwaist_view.aspx");//µà¿À¹é°Ç°­¼¾ÅÍ 
page030501 = new Array("", "/community/health/defendofwaist_view.aspx");//´ç½ÅÀÇ Çã¸®°Ç°­Àº
//page030501 = new Array("", "alertbest");//´ç½ÅÀÇ Çã¸®°Ç°­Àº
page030502 = new Array("", "/community/health/health_view.aspx");//»ýÈ° ¼Ó Çã¸® ÁöÅ´ÀÌ
page030503 = new Array("", "/community/health/growth_story.aspx");//¹Ù¸¥ ¼ºÀå ÀÌ¾ß±â
page030600 = new Array("", "/Community/Idea/duo_idealist.aspx");//µà¿À¹é¾ÆÀÌµð¾îÁ¦¾È
page030700 = new Array("", "/Community/EventLast/duo_game.aspx");//µà¿À¹é °ÔÀÓÁ¸
page030800 = new Array("", "/Community/Virification_Lounge/MemberLounge_main.aspx");//Á¤Ç°ÀÎÁõ È¸¿ø¶ó¿îÁö
page030801 = new Array("", "/Community/Virification_Lounge/Culture_main.aspx");//µà¿À¹é ÄÃÃÄ
page030802 = new Array("", "/Community/Virification_Lounge/DuoDoctor_list.aspx");//´ÚÅÍµà¿À¹é

page040000 = new Array("", "/Customer_Supply/main.aspx");//°í°´Áö¿ø

page040100 = new Array("", "/Customer_Supply/As/as_login_check.aspx");//AS½ÅÃ»
page040101 = new Array("", "/Customer_Supply/As/as_guide.aspx");//AS½ÅÃ»¾È³»
page040102 = new Array("", "/Customer_Supply/As/as_login_check.aspx");//AD½ÅÃ»
page040200 = new Array("", "/Customer_Supply/Faq/Faq_Question.aspx");//ÀÚÁÖ¹¯´ÂÁú¹®
page040300 = new Array("", "/Customer_Supply/qna_list.aspx");//°í°´¹®ÀÇ
page040400 = new Array("", "/Customer_Supply/Manual/manual_1_list.aspx");//µà¿À¹é¸Å´º¾ó
page040401 = new Array("", "/Customer_Supply/Manual/manual_1_list.aspx");//Á¶¸³/ºÐ¸®¹æ¹ý
page040402 = new Array("", "/Customer_Supply/Manual/manual_2_list.aspx");//Á¦Ç°¼³¸í¼­
page040500 = new Array("", "/Customer_Supply/duoback_search_form.aspx");//³»°Ô ¸Â´Â µà¿À¹é Ã£±â
page040600 = new Array("", "/Customer_Supply/month_duoback_list.aspx");//ÀÌ´ÞÀÇ µà¿À¹é ÃÑÆÇ
page040700 = new Array("", "/Customer_Supply/shop_search_seoul.aspx");//¸ÅÀåÃ£±â
page040701 = new Array("", "/Customer_Supply/shop_search_seoul.aspx");//¸ÅÀåÃ£±â-ÃÑÆÇ/µà¿À¹éÁ¸
page040702 = new Array("", "/Customer_Supply/shop_search_dpstore.aspx");//¸ÅÀåÃ£±â-¹éÈ­Á¡
page040800 = new Array("pop", "/pop/duo_find_start.aspx");//µà¿À¹é ¸ðµ¨¸íÀÌ ±Ã±ÝÇÏ¼¼¿ä?

//page050000 = new Array("", "/Company/main.aspx");//È¸»ç¼Ò°³¸ÞÀÎ
page050000 = new Array("new", "http://www.withduoback.co.kr/");//¿¢¼¼¼­¸®¼¥

page050100 = new Array("", "/Company/Introduction/ideology.aspx");//È¸»ç¼Ò°³
page050101 = new Array("", "/Company/Introduction/ideology.aspx");//°æ¿µÀÌ³ä
page050102 = new Array("", "/Company/Introduction/ceo_message.aspx");//CEOÀÎ»ç¸»
page050103 = new Array("", "/Company/Introduction/history.aspx");//¿¬Çõ
page050104 = new Array("", "/Company/Introduction/cibi_info.aspx");//CIBI¼Ò°³
page050105 = new Array("", "/Company/Introduction/location.aspx");//Ã£¾Æ¿À½Ã´Â±æ

page050200 = new Array("", "/Company/institute/intention.aspx");//¿¬±¸¼Ò¼Ò°³
//page050201 = new Array("", "/Company/institute/intention.aspx");//¼³¸³ÀÇµµ ¹× ¹è°æ
page050201 = new Array("new", "http://withduoback.co.kr/");//¿¢¼¼¼­¸®¼¥
page050202 = new Array("", "/Company/institute/employee.aspx");//Á¶Á÷¿ø
page050203 = new Array("", "/Company/institute/domain.aspx");//»ç¾÷¿µ¿ª
page050204 = new Array("", "/Company/institute/target.aspx");//»ç¾÷¸ñÇ¥

/*
page050200 = new Array("", "alert");//¿¬±¸¼Ò¼Ò°³
page050201 = new Array("", "alert");//¼³¸³ÀÇµµ ¹× ¹è°æ
page050202 = new Array("", "alert");//Á¶Á÷¿ø
page050203 = new Array("", "alert");//»ç¾÷¿µ¿ª
page050204 = new Array("", "alert");//»ç¾÷¸ñÇ¥
*/
page050300 = new Array("", "/Company/Brand/goodian.aspx");//ºê·£µå¼Ò°³
page050301 = new Array("", "/Company/Brand/goodian.aspx");//±¸µð¾È
page050302 = new Array("", "/Company/Brand/duo_back.aspx");//µà¿À¹é
//page050303 = new Array("", "/Company/Brand/duo_school.aspx");//µà¿À½ºÄð
page050303 = new Array("", "/guide/DK-2500G.aspx");//EÄ«´Þ·Î±×
page050400 = new Array("", "/Company/Publicity_Center/notice_list.aspx?CATE=NO001");//È«º¸¼¾ÅÍ
page050401 = new Array("", "/Company/Publicity_Center/notice_list.aspx?CATE=NO001");//°øÁö»çÇ×
page050402 = new Array("", "/Company/Publicity_Center/duo_new_list.aspx");//µà¿À¹é´º½º
page050403 = new Array("", "/Company/Publicity_Center/duo_ad1.aspx");//µà¿À¹é±¤°í
page050404 = new Array("", "/Company/Publicity_Center/publicity.aspx");//È«º¸¿µ»ó
page050405 = new Array("", "/Company/Publicity_Center/duo_brochure.aspx");//±â¾÷ºê·Î½´¾î
page050500 = new Array("", "/Company/Ir/disclosure_list.aspx");//ÅõÀÚÁ¤º¸
page050501 = new Array("", "/Company/Ir/disclosure_list.aspx");//ÁÖ°¡Á¤º¸
page050502 = new Array("", "/Company/Ir/stock_balance.aspx");//Àç¹«Á¤º¸
page050503 = new Array("new", "http://dart.fss.or.kr");//°ø½ÃÁ¤º¸
page050504 = new Array("", "/Company/Ir/forum_list.aspx");//ÁÖÁÖÆ÷·³
page050600 = new Array("", "/Company/Recruit/recruit_guide.aspx");//Ã¤¿ëÁ¤º¸
page050601 = new Array("", "/Company/Recruit/recruit_guide.aspx");//Ã¤¿ë¾È³»
page050602 = new Array("", "/Company/Recruit/recruit_announce.aspx");//Ã¤¿ë°ø°í
page050603 = new Array("", "/Company/Recruit/people.aspx");//ÀÎÀç»ó
page050604 = new Array("", "/Company/Recruit/welfare.aspx");//º¹¸®ÈÄ»ý

page060000 = new Array("", "/Myduoback/main.aspx");//³ªÀÇµà¿À¹é

page060100 = new Array("", "/Myduoback/MyPoint_list.aspx");//³ªÀÇ Æ÷ÀÎÆ®
//page060100 = new Array("", "alert");//³ªÀÇ Æ÷ÀÎÆ®
page060200 = new Array("", "/Myduoback/myas_confirmList.aspx");//Á¤Ç°ÀÎÁõ³»¿ª
page060300 = new Array("", "/Myduoback/myas_confirm_requestlist.aspx");//AS½ÅÃ»Á¶È¸
page060400 = new Array("", "/Myduoback/myas_confirm_referencelist.aspx");//³ªÀÇ¹®ÀÇ³»¿ª
page060500 = new Array("", "/Myduoback/event_progresslist.aspx");//ÇöÀçÁøÇàÀÌº¥Æ®
page060600 = new Array("", "/Myduoback/join_modify.aspx");//°³ÀÎÁ¤º¸º¯°æ
page060700 = new Array("", "/Myduoback/join_withdrawal.aspx");//È¸¿øÅ»Åð

//page070000 = new Array("", "");//¸â¹ö½±
page070100 = new Array("", "/Special/login.aspx");//·Î±×ÀÎ
page070200 = new Array("eventCheck", "/Special/join_agree.aspx");//È¸¿ø°¡ÀÔ
page070300 = new Array("", "/Special/idsearch.aspx");//¾ÆÀÌµð/ºñ¹Ð¹øÈ£Ã£±â

//¸ÞÀÎ¹è³Ê
//banner = new Array("", "/Community/Virification_Lounge/Event070727_Cmt.aspx");//¸ÞÀÎ¹è³Ê °æ·Î
function GoSwfUrl(name, win) {
	if (eval(name)[1] == "alert") {
		alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		return;	
	} else if(eval(name)[1] == "alert2") {
		alert("ÇöÀç ÁøÇàÁßÀÎ E-Ä«´Þ·Î±×°¡ ¾ø½À´Ï´Ù.");
		return;
	} else if(eval(name)[1] == "alertbest") {
		alert("ÁË¼ÛÇÕ´Ï´Ù. Áö±Ý ¼­ºñ½ºÁØºñÁßÀÔ´Ï´Ù");
		return;		
	} else if(eval(name)[0] == "eventCheck") {		
		var value = location.search.substring(location.search.indexOf("Event="), location.search.length);
		window.location.href = "/Special/join_agree.aspx?" + value
	}else {
		if (eval(name)[0] == null || eval(name)[0] == "") {
//			parent.location.href = eval(name)[1];
			location.href = eval(name)[1];
		} else {
			if(eval(name)[0] == "new"){
				window.open(eval(name)[1],"","");
			}else if(eval(name)[0] == "pop"){
				window.open(eval(name)[1],"mini",eval(name)[2]);			
			}else if(eval(name)[0] == "top"){
				top.location.href = eval(name)[1];d
			}else if(eval(name)[0] == "pop2"){
				window.open(eval(name)[1],"mini","width=770, height=660");		
			}else if(eval(name)[0] == "pop3"){
			window.open(eval(name)[1],"mini","width=1014, height=700");			
			}
		}
	}
}

function modelFind() 
{ 
window.open("/pop/duo_find_start.aspx","model","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=650,height=433"); 
}

function Catalogue() 
{ 
window.open("/Catalogue/default1.html","Catalogue","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1014,height=700"); 
}

function chairzoom(Dk004)
{
	var positionX = (screen.width-560)/2;
	var positionY = (screen.height-674)/2;
	Policy=window.open(Dk004,'Schedule',"toolbar=no,status=no,width=560,height=674,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function sendmail(mail)
{
	var positionX = (screen.width-680)/2;
	var positionY = (screen.height-520)/2;
	Policy=window.open(mail,'Schedule',"toolbar=no,status=no,width=680,height=520,directories=no,scrollbars=yes,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function chairman004(cDk004)
{
	var positionX = (screen.width-650)/2;
	var positionY = (screen.height-650)/2;
	Policy=window.open(cDk004,'Schedule',"toolbar=no,status=no,width=650,height=415,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function viewbrochure(brochure)
{
	var positionX = (screen.width-680)/2;
	var positionY = (screen.height-855)/2;
	Policy=window.open(brochure,'Schedule',"toolbar=no,status=no,width=860,height=550,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function research(search)
{
	var positionX = (screen.width-615)/2;
	var positionY = (screen.height-400)/2;
	Policy=window.open(search,'Schedule',"toolbar=no,status=no,width=615,height=400,directories=no,scrollbars=yes,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function Question(faq)
{
	var positionX = (screen.width-900)/2;
	var positionY = (screen.height-600)/2;
	Policy=window.open(faq,'Schedule',"toolbar=no,status=no,width=900,height=600,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

 function productinfo(info)
{
	var positionX = (screen.width-680)/2;
	var positionY = (screen.height-800)/2;
	Policy=window.open(info,'Schedule',"toolbar=no,status=no,width=680,height=800,directories=no,scrollbars=yes,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

 function spammers(spammers)
{
	var positionX = (screen.width-400)/2;
	var positionY = (screen.height-270)/2;
	Policy=window.open(spammers,'Schedule',"toolbar=no,status=no,width=400,height=270,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}


function salemap(map)
{
	var positionX = (screen.width-550)/2;
	var positionY = (screen.height-500)/2;
	Policy=window.open(map,'Schedule',"toolbar=no,status=no,width=550,height=500,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

function duo_salemap(title,duoname,address)//³×ÀÌ¹ömap
{
	var positionX = (screen.width-550)/2;
	var positionY = (screen.height-500)/2;
	var map = "http://www.duoback.co.kr/Pop/duo_map.aspx?title="+title+"&duoname="+duoname+"&address="+address;
	
	Policy=window.open(map,'Schedule',"toolbar=no,status=no,width=550,height=500,directories=no,scrollbars=no,location=no,resizable=no,menubar=no, left="+positionX+", top="+positionY+"")
	Policy.focus();
}

 function showhide(objNum) {
  if (objNum==1) {
   document.getElementById('A').style.display = "block";
   document.getElementById('B').style.display = "none";
  } else if (objNum==2) {
   document.getElementById('A').style.display = "none";
   document.getElementById('B').style.display = "block";
  }
 }
 
 
 
 ////////////////////////////////
 //////////2006.01.02 °íÇöÃ¶ 
 //////////¿ø¹®º¸±â ½ºÅ©¸³Æ® ½ÃÀÛ
 function slide(Id, interval, to)
{
    var obj		= document.getElementById(Id);
    var H		=	1;	
    var step	=	100;

    if (obj == null) return;
    if (to == undefined) { // user clicking
        if (obj._slideStart == true) return;
        if (obj._expand == true) {
            to = 0;
            obj.style.overflow = "hidden";
        } else {
            slide.addId(Id);
            for(var i=0; i < slide.objects.length; i++) {
                if (slide.objects[i].id != Id && slide.objects[i]._expand == true) {
                    slide(slide.objects[i].id);
                }
            }

            obj.style.height = "";
            obj.style.overflow = "";
            obj.style.display = "block";
            to = obj.offsetHeight;
            obj.style.overflow = "hidden";
            obj.style.height = "1px";
        }
        obj._slideStart = true;
    }
    
    step            = ((to > 0) ? 1:-1) * step;
    interval        = ((interval==undefined)?1:interval);
    obj.style.height = (H=((H=(isNaN(H=parseInt(obj.style.height))?0:H))+step<0)?0:H+step)+"px";
    
    if (H <= 0) {
        obj.style.display = "none";
        obj.style.overflow = "hidden";
        obj._expand = false;
        obj._slideStart = false;		
    } else if (to > 0 && H >= to) {
        obj.style.display = "block";
        obj.style.overflow = "visible";
        obj.style.height = H + "px";
        obj._expand = true;
        obj._slideStart = false;
    } else {
        setTimeout("slide('"+Id+"' , "+interval+", "+to+");", interval);
    }
}
slide.objects = new Array();
slide.addId = function(Id)
{
    for (var i=0; i < slide.objects.length; i++) {
        if (slide.objects[i].id == Id) return true;
    }
    slide.objects[slide.objects.length] = document.getElementById(Id);
}
 //////////¿ø¹®º¸±â ½ºÅ©¸³Æ® ³¡
 ////////////////////////////////
 
 //ÆË¾÷ Áß¾Ó¿¡ ¶ç¿ì±â 2006-10-28 À±Á¾Çõ
//NewWindow("URL", "ÆË¾÷¸í", "°¡·ÎSize", "¼¼·ÎSize", "½ºÅ©·Ñ¹Ù") 
function NewWindow2(mypage, myname, w, h, scroll)
{
	var win = null;
	
	LeftPosition=(screen.width) ? (screen.width-w)/2 : 0;
	TopPosition=(screen.height) ? (screen.height-h)/2 : 0;				
	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',resizable=yes, scrollbars=' + scroll
	win=window.open(mypage,myname,settings);
}

//ÇÁ¸°Æ® ÆË¾÷¿¡ ³»¿ëÀ» ¼­ºê¹Ø ÇÏ¿© ÆË¾÷Ã¢ ¶ç¿ò
function popPrint(print_c, gubun) {

	var src_contents = document.getElementById(print_c).innerHTML;

	var elmBody = document.getElementsByTagName("body")[0];
	var elmForm = document.createElement("form");
	elmForm.name='print';

	if (gubun == "1") {
		elmForm.action='/Pop/PopPrint.aspx';
	} 

	elmForm.method='post';	

  tags = document.createElement("input");
	tags.setAttribute("type", "hidden");
	tags.name = "contents";
	tags.value = src_contents;
	elmForm.appendChild(tags);

	elmBody.appendChild(elmForm);

	if (gubun == "1") {
		ow = window.open('', 'print', 'status=no, toolbar=no, location=no, menubar=no, directories=no, resizeable=no, scrollbars=yes, width=660, height=600');
	}
	
	elmForm.target = 'print';

	elmForm.submit();

}

/* ¿À¸¥ÂÊ ¹öÆ° ¸·±â ½ÃÀÛ*/

document.oncontextmenu=function(){return false;}
document.ondragstart=function(){return false;}
document.onselectstart=function(){return false;} 
document.onmousedown=click
document.onkeydown=click

function click() {
	if ((event.button==2) || (event.button==3) || (event.keyCode == 93)) {
		return false;
	}
	else {
		if((event.ctrlKey) && (event.keyCode == 67)) {
			return false;
		}
	}
}

/* ¿À¸¥ÂÊ ¹öÆ° ¸·±â ³¡*/

