  function PopUpImg(filename) {
    var PageUrl = "PhotoPopup.asp?FileName=" + filename;
    window.open(PageUrl,'BigImgPopup','scrollbars=auto,resizable=yes,copyhistory=no,width=520,height=450,left=0,top=0');
  }

function clear_text()
{
	if (document.hjtlogin.uid.value=="¾ÆÀÌµð")
	{
		document.hjtlogin.uid.value="";
	}
}
function root()
{
	  document.hjtlogin.uid.focus();
}

/*
function eEnterCheck(str)
{

	if ((str==2) && (event.keyCode==13))
	{
		login_ok();
	}
}
*/

function PopUpImg2(idx) 
{
         var PageUrl = "/PhotoPopup.asp?FileName=" + idx;
		window.open(PageUrl,'MainImgPopup','scrollbars=no,resizable=no,copyhistory=no,width=850,height=728,left=0,top=0');
}


function login_ok()
{
	 if(document.hjtlogin.uid.value=="")
   {
      alert("ID¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.hjtlogin.uid.focus();
	  return;
   }
   if(document.hjtlogin.pwd.value=="")
   {
      alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.hjtlogin.pwd.focus();
 	  return;
   }
	document.hjtlogin.action = "/login_ok.asp";
	document.hjtlogin.submit();
}

function eEnterCheck(i)
{
	if(event.keyCode ==13 && i==1)
	{
		document.hjtlogin.pwd.focus();
	}
	if(event.keyCode ==13 && i==2)
	{
		login_ok();
	}
}

function reg_ok()
{

	location.href="/Member_zone/join_01.asp";
}

function id_pw()
{
	location.href = "/Member_zone/member_search.asp";
}

function gamedown()
{
	location.href="/pds_zone/game_download.asp";
}

function newguest()
{
	location.href="/info_zone/online_guide_01_01.asp"
}

function choboguide()
{
	location.href="/info_zone/online_guide_01_01.asp";
}

function qaboard()
{
	location.href="/customer_zone/QA/default.asp";
}

function freeboard()
{
location.href="/community_zone/freeboard/default.asp";
}

function report()
{
	alert("ÁØºñÁßÀÔ´Ï´Ù");
}

function notice()
{
location.href="/news_zone/notice_zone/default.asp?tb=notice_board";
}

function update()
{
location.href="/news_zone/notice_zone/default.asp?tb=schedule_board";
}

function mypage()
{
	location.href="/customer_zone/mypage/default.asp";
}

function faq()
{
	location.href="/customer_zone/faq/default.asp";
}

function screenshot()
{
	location.href="/community_zone/screenshot/default.asp?tb=screenshot";
}

function poll_ok(str)
{
	var vi=0;
	for(i=0; i<hjt.pollradio.length; i++)
	{
		if(hjt.pollradio[i].checked)
		{
			vi=1
			poll_go(str,i);
			break;
		}
	}
	if (vi==0)
	{
		alert("¼±ÅÃÇØÁÖ¼¼¿ä.")
	}
}


function poll_result(str)
{
	location.href="/news_zone/onlinepoll_zone/View.asp?tb=poll&num="+str
}
function poll_go(str,str1)
{
	location.href="/news_zone/onlinepoll_zone/go.asp?idx="+str+"&num="+str1
}

function company()
{
	//alert("ÁØºñÁßÀÔ´Ï´Ù.");
	location.href = "http://www.eyainteractive.com/"
}

function Eevent()
{
location.href="/news_zone/notice_zone/default.asp?tb=event_board";
}

function logout()
{
	if (confirm("¹¬Çâ¿Â¶óÀÎ \n\n·Î±×¾Æ¿ôÀ» ÇÏ½Ã°Ú½À´Ï±î?"))
	{
		location.href="/logout.asp";
	}

}

function change()
{
	location.href="/Member_zone/join_info_modify.asp";
}


function  articleNotice(str)
{
	location.href="/";
}



function  articleupdate(str)
{
	location.href="/";
}


function  articleevent(str)
{
	location.href="/";
}

function  articleItem(str)
{
	location.href="/";
}



//ÆË..
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//°³ÀÎÁ¤º¸º¸È£Á¤Ã¥
function company2()
{
	this.MM_openBrWindow('/Site_zone/personal.htm','','scrollbars=yes,width=516,height=500,left=0,top=0');
}
//ÀÌ¿ëÀÚ ¾à°ü
function company3()
{
	this.MM_openBrWindow('/Site_zone/stipulation.htm','','scrollbars=yes,width=516,height=500,left=0,top=0');
}


//»çÀÌÆ® ¸Ê
function sitemap()
{
	location.href = "/Site_zone/site_map.asp";
}


//È¨
function home()
{
	location.href="/";
}

//1¿ù 6ÀÏ ÀÌº¥Æ® ´çÃ·ÀÚ ÃÖÁ¾...
function event_0106()
{
	//window.open("/Event_zone/pop0106/eventEndprize.asp","envetEndprize","scrollbars=0,resizable=0,width=385,height=470,top=10,left=80");
	location.href="/event_zone/event0203/event_01.asp"
}


//¸¶¿ì½º ·Ñ¿À¹ö///////////////////////////////////////////////////////////////////////////////////////////
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_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_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 send_it()
{
	if(document.board_search.key.value== "")
	{
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä!");
		document.board_search.key.focus();
	}
	else
	{
		document.board_search.action = "default.asp";
		document.board_search.submit();
	}
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////




function top_home(){location.href="/";}	
function top_sitemap(){location.href="/Site_zone/site_map.asp";}

function top_submenu01_01(){location.href="/news_zone/notice_zone/default.asp?tb=notice_board";}
function top_submenu01_02(){location.href="/news_zone/notice_zone/default.asp?tb=event_board";}
function top_submenu01_03(){location.href="/news_zone/notice_zone/default.asp?tb=schedule_board";}
function top_submenu01_04(){location.href="/news_zone/onlinepoll_zone/default.asp?tb=poll";}

function top_submenu02_01(){location.href="/info_zone/introduction.asp";}
function top_submenu02_02(){location.href="/info_zone/online_guide_01_01.asp";}
function top_submenu02_03(){location.href="/info_zone/online_guide_02_01.asp";}
function top_submenu02_04(){location.href="/info_zone/online_guide_03_01.asp";}

function top_submenu03_01(){location.href="/pds_zone/game_download.asp";}
function top_submenu03_02(){location.href="/pds_zone/movie_download.asp";}
function top_submenu03_03(){location.href="/pds_zone/illustration_download.asp";}
function top_submenu03_04(){location.href="/pds_zone/mail/default.asp";}

function top_submenu04_01(){location.href="/community_zone/freeboard/default.asp?tb=free_board";}
function top_submenu04_02(){location.href="/community_zone/serverboard/default.asp?tb=BBS_SERVER_TEEN";}
function top_submenu04_03(){location.href="/community_zone/GM/default.asp?tb=GM_board";}
function top_submenu04_04(){location.href="/community_zone/ranking/ranking.asp?tb=guild_ranking_teen";}
function top_submenu04_05(){location.href="/community_zone/screenshot/default.asp?tb=screenshot";}
function top_submenu04_06(){location.href="/community_zone/rear/rear_default.asp?tb=rear";}
function top_submenu04_07(){location.href="/community_zone/panpage/default.asp?tb=panpage";}


function top_submenu05_01(){location.href="http://darkstoryonlineMall.hanafos.com/";}
function top_submenu05_02(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=1&tb=B";}
function top_submenu05_03(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=6&tb=C";}
function top_submenu05_04(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=2&tb=D";}
function top_submenu05_05(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=3&tb=E";}
function top_submenu05_06(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=4&tb=F";}
function top_submenu05_07(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=5&tb=G";}
function top_submenu05_08(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgCatMain.asp?lvl=1&idx=7&tb=H";}
function top_submenu05_09(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgLucky.asp";}
function top_submenu05_10(){location.href="http://darkstoryonlineMall.hanafos.com/ShopZone/mgPocket.asp";}

function top_submenu06_01(){location.href="/customer_zone/mypage/default.asp";}
function top_submenu06_02(){location.href="/customer_zone/FAQ/default.asp";}
function top_submenu06_03(){location.href="/customer_zone/QA/default.asp";}
function top_submenu06_04(){location.href="/customer_zone/publish/default.asp";}
function top_submenu06_05(){alert('ÁØºñÁßÀÔ´Ï´Ù.');}