var startBang=false; var conta_adsbygoogle=0; if (document.addEventListener) document.addEventListener('DOMContentLoaded', function(event) {bannerSTART();}); function bannerSTART() { if (startBang==true) return; startBang=true; bannerGET(); } function bannerINN(g,a) { var t = document.getElementById(g); if (!t && g.indexOf('.')>=0) var t = document.getElementById( 'BAN_' + g.substr(g.indexOf('.')+1) ); if (!t) return; if (a.indexOf('adsbygoogle')>=0) { conta_adsbygoogle++; if (conta_adsbygoogle>3) {t.innerHTML = '';t.style.display='none';return;} } t.innerHTML = a; t.style.display='block'; } function bannerGET() { conta_adsbygoogle=0; bannerINN('BAN_01.skin','
'); bannerINN('BAN_06.leaderboard',' '); bannerINN('BAN_31.sidebar1',' '); bannerINN('BAN_32.sidebar2',' '); bannerINN('BAN_33.sidebar3',' '); }