let time_load6957 = 0; setTimeout( function() { time_load6957 = 5; } , 8000); let intervalID6957 = setInterval( load_ads_board6957 , 300); function load_ads_board6957() { var ads_board = document.getElementById("6fd86e0ad726b778e37cf270fa0247d7"); if( !ads_board ) { return; } let ads_busy = find_ads_busy6957(); if( ads_busy !== false ) { ads_board.innerHTML = "..."; clearInterval(intervalID6957); load_ads6957( ads_busy ); } } function find_ads_busy6957() { var ads_busy = ""; let div = [ "27e9661e033a73a6ad8cefcde965c54d","e05e2327a8ceada096724afc802bbf7e","76cac4685e3749728f9c04bd3a86221f"]; for( let i = 0; i < div.length; i++ ) { let neighbor = document.getElementById( div[i] ); if( !neighbor ) { continue; } if( neighbor.innerHTML == "..." && time_load6957 < 5 ) { return false; } var link = neighbor.getElementsByTagName("a"); for(var j = 0; j < link.length; j++) { prev_link = link[j].href; ad = getUrlVars6957(prev_link); if( ad ) { ads_busy += ads_busy ? ","+ad : ad; } } } return ads_busy; } function getUrlVars6957(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_ads6957( 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=6957&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from; console.log("https://click.advertnative.com/loading/?load=1&handle=6957&ads_busy="+ads_busy+"&r="+Math.random()+"&host="+host+"&from="+from); document.getElementsByTagName("head")[0].appendChild(script); }