if (typeof intervalIDNCSrimj ==="undefined") { intervalIDNCSrimj = setInterval( load_informerNCSrimj , 150); } function load_informerNCSrimj() { var block = document.getElementById("2a8a8bde56a1a353f4e5fdd641f0b199"); if( block ) { var offset = getCoordsBlockNCSrimj(block); var screen_height = window.innerHeight; var scrollTop = window.pageYOffset || document.documentElement.scrollTop; if(offset.top < screen_height + scrollTop ) { clearInterval(intervalIDNCSrimj); if( block.id != "2a8a8bde56a1a353f4e5fdd641f0b199" ) block.id = "2a8a8bde56a1a353f4e5fdd641f0b199"; var script = document.createElement("script"); script.src="https://click.nativclick.com/loading/?handle=7542&load=1&r="+Math.random()+"&ads_busy="; block.parentNode.appendChild(script); } } } function getCoordsBlockNCSrimj(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 }; }