<!--
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 close_poll()
{
window.open("/event_zone/event2007/1102/pop_research.asp","poll","width=617,height=700,top=0,left=0,resizable=0,scrollbars=1 ");
}

//¼³¹®Á¶»ç°æ°úº¸±â
function alpha_poll_result()
{
window.open("/event_zone/event2007/1102/research_result.asp","poll","width=617,height=700,top=0,left=0,resizable=0,scrollbars=1 ");
}

//¾ÆÀÌÅÛ »óÁ¡ ÆË¾÷
function itemmall_home()
{
//window.open("/item_zone/shop_zone/itemMall.asp","mall","width=800,height=600");
location.href = "/event_zone/2010/0309/";
//alert('ÁØºñ ÁßÀÔ´Ï´Ù.');
}

function intro() {
	window.location.href="/";
}

function member_join() {
	window.location.href="/member_zone/join_01.asp";
}

function member_search() {
	window.open('/member_zone/password/default.asp','','width=460 height=374');
	//window.location.href='/member_zone/password/default.asp';
	//window.location.href="/member_zone/member_search.asp";
}


function member_modify() {
	window.location.href="/member_zone/join_info_modify.asp";
}


function gallery() {
	window.location.href="/gallery_zone/gallery_01.asp";
}



function movieList() {
	window.location.href="/pds_zone/movieList.asp";
}

function event_board() {
	window.location.href="/news_zone/event_board/";
}

function userScreenShot() {
	window.location.href="/community_zone/userScreenShot/";
}

function wallpaper_board() {
	window.location.href="/pds_zone/wallpaper.asp";
}

function inform_board() {
	window.location.href="/news_zone/inform_board/";
}

function developer_board() {
	window.location.href="/community_zone/developer_board/";
}
//ÃÊº¸ÀÚ°¡ÀÌµå ¸µÅ©
function info_04() {
	window.location.href="/info_zone/infosystem/";
}
//ÆÒÆÐÀÌÁö ¸µÅ©
function fanpagelink() {
	window.location.href="/community_zone/fanpage/";
}

function notice_board() {
	window.location.href="/news_zone/notice_board/";
}

function clientDown() {
	window.location.href="/pds_zone/clientDown.asp";
}

function onlinePoll() {
	window.location.href="/news_zone/onlinePoll/";
}
function photo_board() {
	window.location.href="/community_zone/photo_board/";
}

function flash_call(url,width,height,background)
{


document.write('<table width="'+width+'" height="'+height+'" border="0"  cellpadding="0" cellspacing="0" id="main_event"><tr><td width="'+width+'">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">');
if (background=="N")
{
document.write('                <param name=wmode value=transparent>');
}


document.write('				<param name="movie" value="'+url+'">');
document.write('                <param name="quality" value="high">');
document.write('                <embed src="'+url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>');
document.write('              </object></td></tr></table>');


}




function flash_call_motion(url,width,height,background,number)
{


document.write('<table width="'+width+'" height="'+height+'" border="0"  cellpadding="0" cellspacing="0" id="main_event"><tr><td width="'+width+'">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">');
if (background=="N")
{
document.write('                <param name=wmode value=transparent>');
}


document.write('				<param name="movie" value="'+url+'?pageNum='+number+'">');
document.write('                <param name="quality" value="high">');
document.write('                <embed src="'+url+'?pageNum='+number+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>');
document.write('              </object></td></tr></table>');


}



function mm(o) { o.style.backgroundImage=""; }



function login_ok()
{
	 if(document.lunaLogin.uid.value=="")
   {
      alert("ID¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.lunaLogin.uid.focus();
	  return;
   }
   if(document.lunaLogin.pwd.value=="")
   {
      alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.lunaLogin.pwd.focus();
 	  return;
   }
	document.lunaLogin.action = "/luna_ssl/luna_login.asp";
	//document.lunaLogin.action = "https://lunassl.eyainteractive.com/luna_ssl/luna_login.asp";
	document.lunaLogin.submit();
}


function end_login_ok()
{
	 if(document.lunaLogin.uid.value=="")
   {
      alert("ID¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.lunaLogin.uid.focus();
	  return;
   }
   if(document.lunaLogin.pwd.value=="")
   {
      alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
	  document.lunaLogin.pwd.focus();
 	  return;
   }
	document.lunaLogin.action = "/luna_ssl/end_luna_login.asp";	
	document.lunaLogin.submit();
}








function eEnterCheck(i)
{

//alert(eval(event.keyCode));

	if  (event.keyCode ==13 && i==1)
	{
		document.lunaLogin.pwd.focus();
	}
	if  (event.keyCode ==13 && i==2)
	{
		login_ok();
	}
}

function end_eEnterCheck(i)
{

//alert(eval(event.keyCode));

	if  (event.keyCode ==13 && i==1)
	{
		document.lunaLogin.pwd.focus();
	}
	if  (event.keyCode ==13 && i==2)
	{
		end_login_ok();
	}
}



function logout()
{
	if (confirm("·ç³ª ¿Â¶óÀÎ \n\n·Î±×¾Æ¿ôÀ» ÇÏ½Ã°Ú½À´Ï±î??"))
	{
		location.href="/logout.asp";
	}

}

function end_logout()
{
	if (confirm("·ç³ª ¿Â¶óÀÎ \n\n·Î±×¾Æ¿ôÀ» ÇÏ½Ã°Ú½À´Ï±î?"))
	{
		location.href="/end_logout.asp";
	}

}


function kit_download()
{
		document.location.href="ftp://eyaftp.nefficient.co.kr/pub/eya/LUNA/ETC/kit_luna.zip";
}

function inform_popup(url,pname)
{
	window.open(url,pname,'');
}
function inform_popup1(url,pname,num)
{
	var oXMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
	var urls = "/news_zone/inform_board/view_ok.asp?num="+num;
	
	oXMLHTTP.open("get", urls, false);
	oXMLHTTP.send();

	window.open(url,pname,'');
}


//°Ô½ÃÆÇ °Ë»öºÎºÐ//////////////////////////////////////////////////////////////////////////////////////////
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();
	}
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////






//2007.10.05 ·ç³ª¿Â¶óÀÎ °Ë»ö ÀÌº¥Æ®//
function event071005(value1) {


	var oXMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
	var url = "/event_zone/event2007/1005_2/event.asp?value1="+value1+" ";
	
	oXMLHTTP.open("get", url, false);
	oXMLHTTP.send();

	

var string=oXMLHTTP.responseText;


//alert(string);


if (string == "ok")
{
window.open("http://search.naver.com/search.naver?where=nexearch&query=%B7%E7%B3%AA%BF%C2%B6%F3%C0%CE&sm=tab_hty","","")
}
else if (string == "less5hour")
{

alert('5½Ã°£ ÀÌ³» Àç°Ë»öÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.');

}
else if (string == "noLogin")
{
alert('·Î±×ÀÎ ÈÄ Âü¿©ÇØ ÁÖ¼¼¿ä.');
}

else if (string == "eventend")
{
alert('ÀÌº¥Æ®°¡ Á¾·áµÇ¾ú½À´Ï´Ù.');
}

else
{
alert('³»ºÎ ¿À·ùÀÔ´Ï´Ù. LF(¿î¿µ)ÆÀ¿¡ ¹®ÀÇÇÏ¼¼¿ä.');
}

}






//2007.10.13 À¥Ãú¼® ÀÌº¥Æ®//
function event20071013() {


	var oXMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
	var url = "/event_zone/event2007/1013/event.asp";
	
	oXMLHTTP.open("get", url, false);
	oXMLHTTP.send();

	

var string=oXMLHTTP.responseText;


//alert(string);


if (string == "ok")
{
DT = new Date();
var Today=DT.getDate();
var Month=DT.getMonth()+1;

alert(Month+'¿ù '+Today+'ÀÏ Ãâ¼® µµÀåÀÌ Ã¼Å©µÇ¾ú½À´Ï´Ù.');
//event20071013_List();
}
else if (string == "yet")
{

alert('ÀÌ¹Ì Ãâ¼® µµÀåÀ» ¹ÞÀ¸¼Ì½À´Ï´Ù.');

}
else if (string == "noLogin")
{
alert('·Î±×ÀÎ ÈÄ Âü¿©ÇØ ÁÖ¼¼¿ä.');

}

else if (string == "eventend")
{
alert('ÀÌº¥Æ®°¡ Á¾·áµÇ¾ú½À´Ï´Ù.');
}


else
{
alert('³»ºÎ ¿À·ùÀÔ´Ï´Ù. LF(¿î¿µ)ÆÀ¿¡ ¹®ÀÇÇÏ¼¼¿ä.');
}

}


function event20071013_List() {
location.href="/event_zone/event2007/1013/attend_List.asp";

}



//¸íÇÔ½ÅÃ» È®ÀÎ
function event20071109()
{
window.open("/event_zone/event2007/1009/certification.asp","ep","width=350,height=230");
}
//¸íÇÔ½ÅÃ» È®ÀÎ

//¹è½½±â´çÃ· È®ÀÎ
function event20071023()
{
window.open("/event_zone/event2007/1023/result.asp","ep","width=350,height=210");
}
//¸íÇÔ½ÅÃ» È®ÀÎ



//¼¼ºìÀÏ·¹ºìÀÌº¥Æ®
function event20071220()
{
location.href="/event_zone/event2007/1217/default.asp";
}
//¼¼ºìÀÏ·¹ºìÀÌº¥Æ®



//·ç³ªÀ¯Á® °£´ãÈ¸
function event20071231()
{
window.open("/event_zone/event2007/1231/eventPopup.asp","ep20071231","width=440,height=290");
}
//·ç³ªÀ¯Á® °£´ãÈ¸


//·ç³ªÄ¶¸°´õ
function event20080104()
{
location.href="/news_zone/event_board/view.asp?tb=event_board&num=22&ref=19&page=1&startpage=1";
}
//·ç³ªÄ¶¸°´õ


//ÄíÆù µî·Ï ÆË¾÷Ã¢
function event20080220()
{
window.open("/event_zone/event2008/0220/event_pop.asp","ep20080220","width=400,height=480");
}
//LF_Á¸ ÆË¾÷
function PopGM(){
		var winurl="/LF_zone/default.asp";
	   
		var openwindow="toolbar=no,location=no,left=150,top=150,status=no,menubar=no,scrollbars=no,resizable=no,width=769,height=566";
		window.open(winurl,'PopLFzone',openwindow);
}

//°³¹ßÁöÇ¥ ¼³¹®Á¶»ç
function dev_research(){
	window.open('/event_zone/event2008/1002/default.asp','','width=617 height=700 scrollbars=1');
}
