if (typeof intervalIDSRZGEBT ==="undefined") { intervalIDSRZGEBT = setInterval( load_informerSRZGEBT , 400); } function load_informerSRZGEBT() { var block = document.getElementById("07a96b1f61097ccb54be14d6a47439b0"); if( block ) { var offset = getCoordsBlockSRZGEBT(block); var screen_height = window.innerHeight; var scrollTop = window.pageYOffset || document.documentElement.scrollTop; if(offset.top < screen_height + scrollTop ) { clearInterval(intervalIDSRZGEBT); var script = document.createElement("script"); script.src="https://click.advertnative.com/loading/?handle=689&load=1&r="+Math.random(); block.parentNode.appendChild(script); } } } function getCoordsBlockSRZGEBT(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 }; }