document.write(" var googletag = googletag || {}; googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function () { googletag.defineSlot('/36656269,34781463/ekn_01_Pinarticleright_200_200', [200, 200], 'ekn_01_Pinarticleright_200_200').addService(googletag.pubads().set(\"page_url\", \"https://www.ekn.kr\")); googletag.pubads().addEventListener('slotRenderEnded', function (event) { if (event.slot.getSlotElementId() == \"ekn_01_Pinarticleright_200_200\") { if (event.isEmpty) { var tag = \"\\x3c/scr"+"ipt>\"; var googleAds = document.getElementById(event.slot.getSlotElementId()); var passback_ifr = document.createElement('iframe'); passback_ifr.setAttribute(\"width\", \"200px\"); passback_ifr.setAttribute(\"height\", \"200px\"); passback_ifr.setAttribute(\"allowTransparency\", \"true\"); passback_ifr.setAttribute(\"marginwidth\", \"0\"); passback_ifr.setAttribute(\"marginheight\", \"0\"); passback_ifr.setAttribute(\"frameborder\", \"0\"); passback_ifr.setAttribute(\"scrolling\", \"no\"); googleAds.innerHTML = \"\"; googleAds.appendChild(passback_ifr); var doc = passback_ifr.contentWindow.document; doc.open(); doc.write(\"\\x3c/head>\"+tag+\"\\x3c/body>\\x3c/html>\"); doc.close(); } } }); googletag.enableServices(); googletag.display('ekn_01_Pinarticleright_200_200'); });
$(function(){ $('#news_body_area_contents').contents().filter(function() { return this.nodeType == 1; }).wrap(''); var spanLength = $(\"#news_body_area_contents > span\").length; $(\"#ekn_01_Pinarticleright_200_200\").css( {'float':'right', 'width':'200', 'height':'200', 'padding':'5px 0 5px 10px' }); var spanPos = 3; if(spanLength < 5 ) spanPos = spanLength - 2; $(\"#news_body_area_contents > span\").eq(spanPos).after($(\"#ekn_01_Pinarticleright_200_200\")); var is_card =$('.view-main-title').text().match(/^[Ä«µå´º½º]/); if(is_card != null){ $(\"#ekn_01_Pinarticleright_200_200\").remove(); } });")