document.write("
let adsManager;let adsLoader;let adDisplayContainer;let playButton;let videoContent;let adsInitialized;let autoplayAllowed;let autoplayRequiresMuted;function autoplayChecksResolved() { const adsRequest = new google.ima.AdsRequest(); adsRequest.adTagUrl = 'https://pubads.g.doubleclick.net/gampad/ads?iu=/21682743634,22794398858/s035/koreaherald/ga02/pc/post_right_menu_bottom_btf_300x250&descr"+"iption_url=http%3A%2F%2Fkoreaherald.com&tfcd=0&npa=0&sz=300x250&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator='; adsRequest.linearAdSlotWidth = 300; adsRequest.linearAdSlotHeight = 250; adsRequest.nonLinearAdSlotWidth = 300; adsRequest.nonLinearAdSlotHeight = 250; adsRequest.setAdWillAutoPlay(autoplayAllowed); adsRequest.setAdWillPlayMuted(autoplayRequiresMuted); adsLoader.requestAds(adsRequest);}function playAds() { try { if (!adsInitialized) { adDisplayContainer.initialize(); adsInitialized = true; } adsManager.init(300, 250, google.ima.ViewMode.NORMAL); adsManager.start(); } catch (adError) { videoContent.play(); }}function contentEndedListener() { var googleAds = document.getElementById(\"mainContainer\"); googleAds.style.width = \"300px\"; googleAds.style.height = \"250px\"; googleAds.style.position = \"unset\"; var tag = \"\\x3c/scr"+"ipt>\"; var passback_ifr = document.createElement('iframe'); passback_ifr.setAttribute(\"width\", \"300px\"); passback_ifr.setAttribute(\"height\", \"250px\"); 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(); videoContent.onended = null; if (adsLoader) { adsLoader.contentComplete(); }}
"); document.write("window.foin_cookie_setting={html5:true,slotNum:\"\",cookieName:\"\",targetCode:\"\",cookieVal:\"\",adServerUrl:\"//ad.ad4989.co.kr\",refServerUrl:\"https://engine.tend-table.com/cgi-bin/WebLog.dll\"};");