document.write("var filter_02A2 = \"win16|win32|win64|mac|macintel\";var cookie_min_02A2 = \"0\";var zoneid_02A2 =\"29116\"; var pagecategory_02A2 = \"chookjenews_icover\";WiderPlanetAdRendererVar = { type : \"json\", category : pagecategory_02A2, width : \"320\", height : \"50\", zoneid : zoneid_02A2, successCallback: function(o) { console.log(o); console.log(\"adpnut wider-zoneid : \" + zoneid_02A2); console.log(\"adpnut wider-pagecategory : \" + pagecategory_02A2); console.log(\"device : \" + navigator.platform.toLowerCase()); if(o.response !== \"\") { var aIframe = document.createElement(\"iframe\"); aIframe.setAttribute(\"id\",\"icoverFrame02A2\"); aIframe.style.width = \"0px\"; aIframe.style.height = \"0px\"; aIframe.style.display = \"none\"; aIframe.src = o.beacon; document.getElementsByTagName(\"body\")[0].appendChild(aIframe); if (navigator.platform ) { if (filter_02A2.indexOf(navigator.platform.toLowerCase()) < 0) { console.log(\"ÇØ´ç ±âÁ¾Àº MOBILE ÀÔ´Ï´Ù\"); pop_open_m_02A2(o.landingUrl); } else { console.log(\"ÇØ´ç ±âÁ¾Àº PC ÀÔ´Ï´Ù\"); pop_open_02A2(o.landingUrl); } } } }, errorCallback: function(err) { console.log('json error result:', err); }};function pop_open_m_02A2(landingUrl){ history.pushState(null, null, \"#pnutpop\"); var backUrl = \"\"; var dd = landingUrl; $(window).bind(\"hashchange\", function(event) { dd = event; location.replace(landingUrl); });}function pop_open_02A2(landingUrl){ var pop_width = \"1500\"; var pop_height = \"800\"; var agentInfo = navigator.userAgent.toLowerCase(); if (agentInfo.indexOf(\"chrome\") != -1) { window.open(landingUrl,'','width='+pop_width+'px, height='+pop_height+'px,scrollbars=yes'); window.setTimeout(function(){ var popup = window.open(\"http://www.\",\"_blank\"); popup.close(); }, 2000); } else { window.open(landingUrl,'','width='+pop_width+'px, height='+pop_height+'px,scrollbars=yes'); window.setTimeout(function(){ window.focus(); }, 50); }}")