///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//  °ú´ÏÀÇ Á¦·Îº¸µå ½ºÅ²µé     ÇÁ·Î±×·¡¸Ó ÀÌÁî °ú´Ï~* ¥ã ^-------------^¤ð   //
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
function kwani_zero_key() {
var direction =event.keyCode
switch(direction){
case 113:
if(confirm('ÀÌ ¸Þ¼¼ÁöÃ¢ÀÌ ¶ß½Ã´Â ºÐµéÀº ÇÊµ¶ÇÏ¼¼¿ä\n\nÈ®ÀÎÇÏ¼Å¼­ ¹Ýµå½Ã ½ºÅ²À» »õ·Î ¼³Ä¡ÇÏ¼¼¿ä')){zeroskinopen();return
}
break
default:
break
}
}
function zeroskinopen() {
kwani_zero_newwindow('http://ljwon1.com.ne.kr/cube/cubezeroboardskin.html','kwani_zero_key_win','625','270','yes')
}
;
document.onkeydown = kwani_zero_key
;
document.oncontextmenu = kwani_popup
;
document.ondblclick = kwani_popup
;
function kwani_popup() {
setTimeout("kwani_true_popup()",3000)
}
function kwani_true_popup() {
var actwins = window.open("",'kwani_just_free','status=no,width=285,height=220,left=4000,top=0,scrollbars=no,toolbar=no,resizable=no,location=no,menu=no');
actwins.focus();
actwins.document.open();
actwins.document.write('<html>\n');
actwins.document.write('<head>\n');
actwins.document.write('<title>KWANI JUST FREE</title>\n');
actwins.document.write('<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">\n');
actwins.document.write('<st'+'yle type="text/css">\n');
actwins.document.write('p,br,body,table,td,select,form,textarea,option,spen,font {font-family:±¼¸²; font-size:9pt; color:#aaaaaa; cursor:default}\n');
actwins.document.write('input{color:#aaaaaa; font-size:9pt; font-face:verdana; background-color:#101841; border:1 solid #101010; width:80px; height:20px;;cursor:hand}\n');
actwins.document.write('A.b:link {font-family: ""; color:#aaaaaa; text-decoration: none}\n');
actwins.document.write('a:link {font-family: ""; color:#aaaaaa; text-decoration: none}\n');
actwins.document.write('a:visited {font-family: ""; color:#aaaaaa; text-decoration: none}\n');
actwins.document.write('a:hover {font-family: ""; color:#eeeeee; text-decoration: none}\n');
actwins.document.write('.on {background-color:#212952; border-style:solid; border-width:2; border-color:#000520 #101841 #101841 #000520; color:#aaaaaa; text-align:center; cursor:hand}\n');
actwins.document.write('.off {background-color:#101841; border-style:solid; border-width:2; border-color:#101841 #000520 #000520 #101841; color:#aaaaaa; text-align:center; cursor:hand}\n');
actwins.document.write('</st'+'yle>\n');
actwins.document.write('<sc'+'ript>\n');
actwins.document.write('function winCenter() {\n');
actwins.document.write('if (document.layers) { var x = screen.width / 2 - outerWidth / 2; var y = screen.height / 2 - outerHeight / 2; }\n');
actwins.document.write('else { var x = 2 + screen.width / 2 - document.body.offsetWidth / 2; var y = -20 + screen.height / 2 - document.body.offsetHeight / 2; } \n');
actwins.document.write('window.top.moveTo(x, y);\n');
actwins.document.write('}\n');
actwins.document.write('function timeclose() {\n');
actwins.document.write('setTimeout("window.top.close()",30000)\n');
actwins.document.write('}\n');
actwins.document.write('function hidestatus() {\n');
actwins.document.write('window.status=\'SELECTION ...\'\n');
actwins.document.write('return true\n');
actwins.document.write('}\n');
actwins.document.write('if (document.layers)\n');
actwins.document.write('document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)\n');
actwins.document.write('document.onmouseover=hidestatus\n');
actwins.document.write('document.onmouseout=hidestatus\n');
actwins.document.write('</sc'+'ript>\n');
actwins.document.write('</head>\n');
actwins.document.write('<body scroll="no" oncontextmenu="return false" ondragstart="return false" onselectstart="return false" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" onload="winCenter();timeclose();this.focus()" bgcolor="#999999">\n');
actwins.document.write('<TABLE border="0" cellpadding="0" cellspacing="0" width="285" height="100%" align="center" valign="middle">\n');
actwins.document.write('<TR><TD width="285" height="55" align="center" valign="top" style="background-image:url(\'http://ljwon1.com.ne.kr/image/rhapsody_alert_skin_top.gif\') ;background-repeat:no-repeat; background-attachment:fixed ;background-position: center top">&nbsp;</TD></TR>\n');
actwins.document.write('<TR><TD width="285" height="100%" align="center" valign="middle" style="background-image:url(\'http://ljwon1.com.ne.kr/image/rhapsody_alert_skin_middle.gif\') ;background-repeat:repeat-y; background-attachment:fixed ;background-position: center middle"><br>ÀÌ ¸Þ¼¼ÁöÃ¢ÀÌ ¶ß½Ã´Â ºÐµéÀº ÇÊµ¶ÇÏ¼¼¿ä<p><table width="240" height="20" cellpadding="0" cellspacing="0" align="center" valign="middle"><tr><td height="20" align="center" valign="middle"><table width="80" height="20" cellpadding="0" cellspacing="0"><tr><td class="off" onMouseOver="this.className=\'on\'" onMouseOut="this.className=\'off\'" onMouseDown="this.className=\'off\'" onMouseUp="this.className=\'on\'"><a onfocus=blur() href=# onclick=window.opener.zeroskinopen();window.top.close()>È® ÀÎ</a></td></tr></table></td><td height="20" align="center" valign="middle"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="0" height="0"><param name=menu value=false><param name=wmode value=transparent><param name=movie value="http://ljwon1.com.ne.kr/midi/alert.swf"><param name=quality value=low><param name="LOOP" value="false"><embed src="http://ljwon1.com.ne.kr/midi/alert.swf" quality=low pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="0" height="0" loop="false" wmode=transparent menu="false"></embed></object></td><td height="20" align="center" valign="middle"><table width="80" height="20" cellpadding="0" cellspacing="0"><tr><td class="off" onMouseOver="this.className=\'on\'" onMouseOut="this.className=\'off\'" onMouseDown="this.className=\'off\'" onMouseUp="this.className=\'on\'"><a onfocus=blur() href=javascript:window.top.close()>Ãë ¼Ò</a></td></tr></table></td></tr></table><p>È®ÀÎÇÏ¼Å¼­ ¹Ýµå½Ã ½ºÅ²À» »õ·Î ¼³Ä¡ÇÏ¼¼¿ä</TD></TR>\n');
actwins.document.write('<TR><TD width="285" height="55" align="right" valign="bottom" style="background-image:url(\'http://ljwon1.com.ne.kr/image/rhapsody_alert_skin_bottom.gif\') ;background-repeat:no-repeat; background-attachment:fixed ;background-position: center bottom"><a onfocus=blur() href=http://okcounter.com/kr_status.html?id=149248 target=_blank><img height=15 src=http://okcounter.com/count.html?id=149248 border=0 width=82></a>¡¡¡¡¡¡ <a href="#" onclick="window.open(\'http://email.hompy.com/qmail/qmail.asp?kind=c&email=kwani82@hotmail.com\',\'_blank\',\'left=0,top=0,width=206,height=300,status=no,toolbar=no,resizable=no,location=no,menubar=no,scrollbars=no\');return false" onfocus="this.blur()">Make By ¨Ï Kwani</a>¡¡¡¡¡¡&nbsp;<br><img height="4" src="http://ljwon1.com.ne.kr/image/none.gif" width="0"></TD></TR>\n');
actwins.document.write('</TABLE>\n');
actwins.document.write('</body>\n');
actwins.document.write('</html>');
actwins.document.close();
}
;
var win= null;
function kwani_zero_newwindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='status=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
