document.write("try{ function pop_open_m_02y7(pop_url,adver_url) { history.pushState(null, null, \"#phasepop\"); var backUrl = adver_url; var dd = \"\"; $(window).bind(\"hashchange\", function(event) { dd = event; location.replace(backUrl); }); click_02y7(pop_url); } function pop_open_02y7(pop_url,adver_url) { var pop_width = \"1500\"; var pop_height = \"800\"; var agentInfo = navigator.userAgent.toLowerCase(); if (agentInfo.indexOf(\"chrome\") != -1) { window.open(adver_url,'','width='+pop_width+'px, height='+pop_height+'px,scrollbars=yes'); window.setTimeout(function(){ var popup = window.open(\"http://www.\",\"_blank\"); popup.close(); }, 50); } else { window.open(adver_url,'','width='+pop_width+'px, height='+pop_height+'px,scrollbars=yes'); window.setTimeout(function(){ window.focus(); }, 50); } click_02y7(pop_url); } function click_02y7(pop_url) { var l_date = new Date(); var click_url = decodeURIComponent(pop_url); var l_url=click_url+\"&tm=\"+l_date.getTime()+\"&out=empty\"; var l_Body = document.getElementsByTagName('BODY')[0]; var l_divObj=document.createElement('DIV'); var l_style = {position:\"absolute\", left:\"0px\", top:\"0px\", width:\"0px\", height:\"0px\", margin:\"0px\", padding:\"0px\", border:\"none\", overflow:\"hidden\"}; for(var key in l_style){ l_divObj.style[key] = l_style[key]; } l_Body.appendChild(l_divObj); var l_scrObj=document.createElement('IFRAME'); l_scrObj.src = l_url; l_scrObj.width = \"0\"; l_scrObj.height = \"0\"; l_scrObj.allowTransparency = \"true\"; l_scrObj.marginwidth = \"0\"; l_scrObj.marginheight = \"0\"; l_scrObj.hspace = \"0\"; l_scrObj.vspace = \"0\"; l_scrObj.frameborder = \"0\"; l_scrObj.scrolling = \"no\"; l_style = {width:\"0px\", height:\"0px\", margin:\"0px\", padding:\"0px\", border:\"none\"}; for(var key in l_style){ l_scrObj.style[key] = l_style[key]; } l_divObj.appendChild(l_scrObj); } function getCookie_02y7( c_name ) { if ( document.cookie.length>0 ) { c_start=document.cookie.indexOf(c_name + \"=\"); if( c_start!=-1 ) { c_start=c_start + c_name.length+1 ; c_end=document.cookie.indexOf(\";\",c_start); if( c_end==-1 ) { c_end=document.cookie.length; } return unescape(document.cookie.substring(c_start,c_end)); } } return \"\" } function setCookie_02y7( c_name,value,expireminute ) { var exdate = new Date(); exdate.setTime(exdate.getTime() + (expireminute * 60 * 1000)); document.cookie = c_name + \"=\" + escape(value) + ((expireminute==null) ? \"\" : \";expires=\"+exdate.toUTCString()); } var filter_02y7 = \"win16|win32|win64|mac|macintel\"; function popAd_open_02y7(){ if(getCookie_02y7(\"phaserep_pop_02y7\") == \"\") { if ( navigator.platform ) { if ( filter_02y7.indexOf( navigator.platform.toLowerCase() ) < 0 ) { if(device_02y7 == \"all\" || device_02y7 == \"mobile\") { pop_open_m_02y7(pop_url_02y7,adverurl_02y7); } } else { if(device_02y7 == \"all\" || device_02y7 == \"pc\") { pop_open_02y7(pop_url_02y7,adverurl_02y7); } } } setCookie_02y7(\"phaserep_pop_02y7\",\"1\",cookie_minute_02y7); } else { $.ajax({ type: \"GET\", async: true, data: \"pageid=02y7&grade=$nextgrade$&out=json\", url: \"//ad.phaserep.com/cgi-bin/pelicanc.dll?impr\", cache: false, dataType: \"jsonp\", jsonp: \"jquerycallback\", success: function(data) { $(\"#phaserep_02y7\").html(data.tag); }, error: function(xhr, status, error) { ; } }); } } if(typeof(jQuery)=='undefined') { var scr"+"ipt = document.createElement('scr"+"ipt'); scr"+"ipt.onload = function () { jQuery(document).ready(function() { popAd_open_02y7(); }); }; scr"+"ipt.src = \"https://js.ad4989.co.kr/common/jquery/jquery.js\"; document.head.appendChild(scr"+"ipt); } else { jQuery(document).ready(function() { popAd_open_02y7(); }); };}catch(e){console.log(e);}
")