var banners1 = [{"banner":"4119","campaign":"717","image":"https:\/\/banner.faitango.it\/immaginibanner\/17552488531_175140218711_174832668411_faitango.gif","url":"https:\/\/www.faitango.it\/modulistica.html","alt":"https:\/\/www.faitango.it\/modulistica.html"},{"banner":"4126","campaign":"735","image":"https:\/\/banner.faitango.it\/immaginibanner\/17552505731_BANENR-BRAVO2025.jpeg","url":"https:\/\/booking.titango.it\/forms\/festival-bravo-2025","alt":"https:\/\/booking.titango.it\/forms\/festival-bravo-20"},{"banner":"4132","campaign":"736","image":"https:\/\/banner.faitango.it\/immaginibanner\/17556746151_Banner-Obliviontango-27-09-2025-.gif","url":"https:\/\/www.facebook.com\/events\/1504350344310667","alt":"https:\/\/www.facebook.com\/events\/1504350344310667"},{"banner":"4047","campaign":"714","image":"https:\/\/banner.faitango.it\/immaginibanner\/17514014981_Marisol-classe-canto-2.png","url":"https:\/\/forms.gle\/NDnPnxgsHsMEY4qS8?fbclid=IwZXh0bgNhZW0CMTAAYnJpZBEweEVPNVJSR0F2SGo1T2xsSAEeNfByk30A7MdIiyxtDOQb8Fh3oq6KDLVeKmCttMin1iUtk-f1FvT4lICbAoE_aem_iiaEA_07DNdKUwhZ2qI27w","alt":"https:\/\/forms.gle\/NDnPnxgsHsMEY4qS8?fbclid=IwZXh0b"}]; var sessionid = '3ljipfa9qu8tvdt0mjksitvk53'; var rotationTime1=180000; var bannerArea1='1'; var bannerNum1=5; var referrer1 = ''; var exposeNum1 = bannerNum1; var bannerPos1 = 0; var urlLog1 = "//banner.faitango.it/app/log.php"; if(document.attachEvent){ document.attachEvent("onreadystatechange", bnnload1); }else if(window.addEventListener){ window.addEventListener('DOMContentLoaded', bnnload1, false ); }else{ console.log('Unable to attach event to dom in banner.js.php'); } function bnnload1() { console.log('bnnload executed.'); if(banners1.length>0){ exposeNum1 = Math.min(bannerNum1, banners1.length); expose1(); if(bannerNum1' + '' + ''; sendViews1(banners1[bannerPos1].banner,banners1[bannerPos1].campaign,'impression'); bannerPos1 = (bannerPos1+1)%(banners1.length); } document.getElementById('bannerFaitango'+bannerArea1).innerHTML = htmlCode; //setTimeout(expose1, rotationTime1); }