var array = '';var matched = array.includes(window.location.href);var sitem = '219';if (window.innerWidth > 999 && matched == false) {var iFrameDetection = (window === window.parent) ? false : true; if(!iFrameDetection){let is_daktilo = 0; window.addEventListener('scroll', function() { const scrollY = window.scrollY || window.pageYOffset; const iframe = document.getElementById('adhframe-1609705'); if (iframe && iframe.contentWindow) { iframe.contentWindow.postMessage({ scrolled: scrollY > 50 }, '*'); } }); var currentScript = document.currentScript; if(is_daktilo == 1) { var ad_area = null; var adhouseDivs = document.querySelectorAll('adhouse.adhousediv-1609705'); for (let i = 0; i < adhouseDivs.length; i++) { let div = adhouseDivs[i]; if (div.getAttribute('data-adinserted') === 'false') { ad_area = div; div.setAttribute('data-adinserted', 'true'); break; } } } else { var adContainer = document.createElement('adhouse'); currentScript.parentElement.insertBefore(adContainer, currentScript); adContainer.appendChild(currentScript); var ad_area = currentScript.parentElement; } var scripts = document.getElementsByTagName( 'script' ); var thisScriptTag = scripts[ scripts.length - 1 ]; ad_area.className = 'adhouse-sticky-1609705'; var iframe = document.createElement('iframe'); iframe.id= "adhframe-1609705"; iframe.style=" border-style:none; width: 100%!important; height: 100% !important; display: block; overflow:hidden"; iframe.className="adhouseframe"; var html = '
'; ad_area.style = ' display:block; z-index: 99999999999;width: 728px;height: 110px;position: fixed; bottom: 0px; left: 50%; transform: translate(-50%);'; ad_area.appendChild(iframe); iframe.contentWindow.document.open(); iframe.contentWindow.document.write(html); iframe.contentWindow.document.close(); var doc = iframe.contentWindow; iframe.setAttribute('sandbox', 'allow-same-origin allow-popups allow-modals allow-orientation-lock allow-pointer-lock allow-presentation allow-scripts allow-top-navigation allow-forms'); } else { function isLoadedScript(lib) { return window.parent.document.querySelectorAll('body >[src="' + lib + '"]').length > 0 } var lib = "https://cdn.adhouse.pro/publisher/ads/1609705.js"; if (!isLoadedScript(lib)) { //document.querySelectorAll("script[src*=\"https://cdn.adhouse.pro/publisher/ads/1609705.js"]").remove(); var phh = window.parent.document.body; var ph = document.createElement("script"); ph.type = "text/javascript"; ph.src = "https://cdn.adhouse.pro/publisher/ads/1609705.js"; phh.appendChild(ph); } } }