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