function logout(){document.getElementById("frmLogout").submit()}function logout1(){location.href="/Account/Login?handler=Logout"}function shareFacebook(){window.open(url_combine_fb,"Facebook","scrollbars = no, width = 640, height = 480")}function shareTwitter(){window.open(url_combine_tw,"Twitter","scrollbars = no, width = 640, height = 480")}function copyUrlToClipboard(){var n=$("#txtClipboard");n.val(window.document.location.href);n.select();document.execCommand("copy");n.blur();alert("주소가 복사되었습니다. 원하는 곳에 붙여넣기 해주세요.")}function limitCharacters(n,t){var i=$(n).val(),r;return i==""?($(".char_num").html("0/500"),!1):(r=CheckLength(i),r>t?(alert("글을 "+t+"Byte 이상 쓰실 수 없습니다."),$(n).val(i.substr(0,t)),$(".char_num").html("500/500"),!1):($(".char_num").html(r+"/500"),!1))}function CheckLength(n){for(var t=0,i=0,r,u;t4?i+=2:r!="\r"&&i++,u=i,t++;return u}function ViewVote(n){location.href="/CBoard/Vote/"+n}function ThisUrl(){var n,t;return n=location.href,n=n.split("//"),t=n[0],n=n[1].substr(0,n[1].indexOf("/")),t+"//"+n}function openSirenWindow(n,t,i){var r=eval("document."+n);t=="ipin"?(Siren_window=window.open("about:blank","SirenWindow","width=450, height=500, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=300, top=200"),Siren_window==null&&alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다."),r.reqInfo.value=r.reqInfo_ipin.value,r.retUrl.value="23"+ThisUrl()+"/Account/SCISecurity_result?dt=1&fn="+n+"&rs="+i+"&srv="+r.srv_ipin.value,r.action="https://ipin.siren24.com/i-PIN/jsp/ipin_j10.jsp"):(Siren_window=window.open("about:blank","SirenWindow","width=430, height=560, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=300, top=200"),Siren_window==null&&alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다."),r.reqInfo.value=r.reqInfo_hp.value,r.retUrl.value="22"+ThisUrl()+"/Account/SCISecurity_result?dt=2&fn="+n+"&rs="+i+"&srv="+r.srv_hp.value,r.action="https://pcc.siren24.com/pcc_V3/jsp/pcc_V3_j10.jsp");r.target="SirenWindow";r.submit()}function openNiceWindow(n,t,i){var r=eval("document."+n);t=="ipin"?(Nice_window=window.open("about:blank","NiceWindow","width=450, height=500, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=300, top=200"),Nice_window==null&&alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다."),r.reqInfo.value=r.enc_data.value,r.m.value="pubmain",r.retUrl.value="23"+ThisUrl()+"/Account/NICSecurity_result?dt=1&fn="+n+"&rs="+i+"&srv="+r.srv_ipin.value,r.action="https://cert.vno.co.kr/ipin.cb"):(Nice_window=window.open("about:blank","NiceWindow","width=430, height=560, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=300, top=200"),Nice_window==null&&alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다."),r.reqInfo.value=r.EncodeData.value,r.m.value="checkplusSerivce",r.retUrl.value="22"+ThisUrl()+"/Account/NICSecurity_result?dt=2&fn="+n+"&rs="+i+"&srv="+r.srv_hp.value,r.action="https://nice.checkplus.co.kr/CheckPlusSafeModel/checkplus.cb");r.target="NiceWindow";r.submit()}function GameStart(){$.ajaxSetup({cache:!1});$.ajax({type:"POST",url:ThisUrl()+"/api/Account/GameStartIdCheck",contentType:"application/json; charest=utf-8",dataType:"json",success:function(n){if(n.startYn=="Y"){var t="SealOnlineKOR://"+n.seed+","+n.iv+",0";window.protocolCheck(t,function(){alert("게임이 자동실행(설치)되지 않으면 직접 게임 다운로드 후 설치하셔야 합니다.")});event.preventDefault?event.preventDefault():event.returnValue=!1}else n.startYn=="L"?alert("로그인을 먼저 해주세요."):alert(n.msg)},error:function(n,t,i){alert("Error'"+n.status+"' (textStatus: '"+t+"', errorThrown: '"+i+"')")}})}function ClientCheck(){var n=[];n.push('