let time_load16075 = 0; setTimeout( function() { time_load16075 = 5; } , 8000); let intervalID16075 = setInterval( load_ads_board16075 , 300); function load_ads_board16075() { var ads_board = document.getElementById("d3509679d8747ff9cf4257cddb67f72b"); if( !ads_board ) { return; } let ads_busy = find_ads_busy16075(); if( ads_busy !== false ) { ads_board.innerHTML = "..."; clearInterval(intervalID16075); load_ads16075( ads_busy ); } } function find_ads_busy16075() { var ads_busy = ""; let div = [ "1d18c59d33149e93443c87bf4d1ab535","c6829ca27f302086136c94bcf195f51b","3c8179de1979ed5f080f0871c7bd9bde","32065a1a7dd7b2070f93b815e5e11b6d","2760e894ae70a26f9e0ffb5ebb51dab4"]; for( let i = 0; i < div.length; i++ ) { let neighbor = document.getElementById( div[i] ); if( !neighbor ) { continue; } if( neighbor.innerHTML == "..." && time_load16075 < 5 ) { return false; } var link = neighbor.getElementsByTagName("a"); for(var j = 0; j < link.length; j++) { prev_link = link[j].href; ad = getUrlVars16075(prev_link); if( ad ) { ads_busy += ads_busy ? ","+ad : ad; } } } return ads_busy; } function getUrlVars16075(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_ads16075( 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=16075&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from; console.log("https://click.advertnative.com/loading/?load=1&handle=16075&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from); document.getElementsByTagName("head")[0].appendChild(script); }