let time_load16276 = 0;
setTimeout( function() { time_load16276 = 5; } , 8000);
let intervalID16276 = setInterval( load_ads_board16276 , 300);
function load_ads_board16276()
{
var ads_board = document.getElementById("1ab4eabb60df171d0d442f0c7fb875a0");
if( !ads_board ) {
return;
}
let ads_busy = find_ads_busy16276();
if( ads_busy !== false ) {
ads_board.innerHTML = "...";
clearInterval(intervalID16276);
load_ads16276( ads_busy );
}
}
function find_ads_busy16276()
{
var ads_busy = "";
let div = [ "39f17b08bc22bba8afa2792d4089de92","e552144ef9e338f9b3223162af4fb973","047120fa7417b3d37a0573e8a24c9e43","a9b67cca413479cd258a8b3687aa693e","721cc4aaaf4e30504cb0ddcb4f756763","12d6b5e5a791029b893bf3f08733aec2","750622b888646661fb918749ee3e550f"];
for( let i = 0; i < div.length; i++ )
{
let neighbor = document.getElementById( div[i] );
if( !neighbor ) {
continue;
}
if( neighbor.innerHTML == "..." && time_load16276 < 5 ) {
return false;
}
var link = neighbor.getElementsByTagName("a");
for(var j = 0; j < link.length; j++)
{
prev_link = link[j].href;
ad = getUrlVars16276(prev_link);
if( ad ) {
ads_busy += ads_busy ? ","+ad : ad;
}
}
}
return ads_busy;
}
function getUrlVars16276(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_ads16276( 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=16276&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from;
console.log("https://click.advertnative.com/loading/?load=1&handle=16276&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from);
document.getElementsByTagName("head")[0].appendChild(script);
}