let time_load16820 = 0; setTimeout( function() { time_load16820 = 5; } , 8000); let intervalID16820 = setInterval( load_ads_board16820 , 300); function load_ads_board16820() { var ads_board = document.getElementById("9e18189975e5454f9335f3f1a17e0aa9"); if( !ads_board ) { return; } let ads_busy = find_ads_busy16820(); if( ads_busy !== false ) { ads_board.innerHTML = "..."; clearInterval(intervalID16820); load_ads16820( ads_busy ); } } function find_ads_busy16820() { var ads_busy = ""; let div = [ "4542d2e436ceac357ad7d9073a2c1665","cefa4e5ffdb1f7c3a39e51f105a83109","339e2f61ba171de04b12646bb30b329b","2adee3823fe0b1c49ce2b4124cdcecda","5eea6fd7b02448c35fd405cfe823d128","fec82acb7f6b4e8672bda38f9a7ddad3","c0b3cb0842f9f8148f618c587b48d5ba","1d5988d346d89a4e49e0b43c0f0d28d0","7ad874c1df47197ed606592e1a07c230","cef683681c0db9c2e21e705976d1c886"]; for( let i = 0; i < div.length; i++ ) { let neighbor = document.getElementById( div[i] ); if( !neighbor ) { continue; } if( neighbor.innerHTML == "..." && time_load16820 < 5 ) { return false; } var link = neighbor.getElementsByTagName("a"); for(var j = 0; j < link.length; j++) { prev_link = link[j].href; ad = getUrlVars16820(prev_link); if( ad ) { ads_busy += ads_busy ? ","+ad : ad; } } } return ads_busy; } function getUrlVars16820(link) { var hash; var hashes = link.slice(link.indexOf("?") + 1).split("&"); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split("="); if(hash[0] == "i" ) { ad = atob(hash[1]); return ad.split(",")[0]; } } return ""; } function load_ads16820( ads_busy ) { var host = window.location.hostname; var from = document.referrer; var script = document.createElement("script"); script.charset = "utf-8"; script.src = "https://click.advertnative.com/loading/?load=1&handle=16820&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from; console.log("https://click.advertnative.com/loading/?load=1&handle=16820&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from); document.getElementsByTagName("head")[0].appendChild(script); }