if (typeof intervalIDzoQdfiF ==="undefined") { intervalIDzoQdfiF = setInterval( load_informerzoQdfiF , 400); } function load_informerzoQdfiF() { var block = document.getElementById("edfbe1afcf9246bb0d40eb4d8027d90f"); if( block ) { var offset = getCoordsBlockzoQdfiF(block); var screen_height = window.innerHeight; var scrollTop = window.pageYOffset || document.documentElement.scrollTop; if(offset.top < screen_height + scrollTop ) { clearInterval(intervalIDzoQdfiF); var script = document.createElement("script"); script.src="https://click.advertnative.com/loading/?handle=740&load=1&r="+Math.random(); block.parentNode.appendChild(script); } } } function getCoordsBlockzoQdfiF(elem) { var box = elem.getBoundingClientRect(); var body = document.body; var docEl = document.documentElement; var scrollTop = window.pageYOffset || docEl.scrollTop || body.scrollTop; var scrollLeft = window.pageXOffset || docEl.scrollLeft || body.scrollLeft; var clientTop = docEl.clientTop || body.clientTop || 0; var clientLeft = docEl.clientLeft || body.clientLeft || 0; var top = box.top + scrollTop - clientTop; var left = box.left + scrollLeft - clientLeft; return { top: top, left: left }; }