let time_load16275 = 0; setTimeout( function() { time_load16275 = 5; } , 8000); let intervalID16275 = setInterval( load_ads_board16275 , 300); function load_ads_board16275() { var ads_board = document.getElementById("399c8d4d98e43851b57e4284943e9c01"); if( !ads_board ) { return; } let ads_busy = find_ads_busy16275(); if( ads_busy !== false ) { ads_board.innerHTML = "..."; clearInterval(intervalID16275); load_ads16275( ads_busy ); } } function find_ads_busy16275() { var ads_busy = ""; let div = [ "1feee423953de9328419f5ad5d608425","f8e64ef83e6f6881ceca3a3922921ddd","2572bd363583b4c28b31fcbb15df5837","e6baae661f54db3aa1d9f76b2c893882","0599212ac5b4670c30619bac376c189c"]; for( let i = 0; i < div.length; i++ ) { let neighbor = document.getElementById( div[i] ); if( !neighbor ) { continue; } if( neighbor.innerHTML == "..." && time_load16275 < 5 ) { return false; } var link = neighbor.getElementsByTagName("a"); for(var j = 0; j < link.length; j++) { prev_link = link[j].href; ad = getUrlVars16275(prev_link); if( ad ) { ads_busy += ads_busy ? ","+ad : ad; } } } return ads_busy; } function getUrlVars16275(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_ads16275( 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=16275&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from; console.log("https://click.advertnative.com/loading/?load=1&handle=16275&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from); document.getElementsByTagName("head")[0].appendChild(script); }