
var banner = {"336x40_1":[{"idbanner":"57","width":336,"height":40,"crop":"1","async":"0","uri":"https://www.e-napolistore.it/search.php?filter_name=camo-district","embed":"","img1":"0a40d6181e8b38ebeaee740bbedf1dd7.gif","partenza":-62169987600,"scadenza":1609455599,"pagine":""}], "150x60"[{"idbanner":"67","width":150,"height":60,"crop":"1","async":"0","uri":"http://www.bbquattropalazzi.it","embed":"","img1":"1266588835.gif","partenza":1268175600,"scadenza":1606777200,"pagine":""},{"idbanner":"126","width":150,"height":60,"crop":"1","async":"0","uri":"https://www.e-napolistore.it/lineagara.php","embed":"","img1":"37d001949363e44b44f6694cc02f3dfe.jpg","partenza":-62169987600,"scadenza":1609455599,"pagine":""},{"idbanner":"173","width":150,"height":60,"crop":"1","async":"0","uri":"https://www.facebook.com/farmacia.santelenaafragola?fref=ts","embed":"","img1":"2328d1ca61020e3ce2c3ebccb65bf2c1.gif","partenza":-62169987600,"scadenza":1609455599,"pagine":""}]};
var now = Math.round (new Date (). getTime () / 1000);
var bannerok = new Object ();
pour (zone var dans la bannière)
{
bannière[zona] = nouveau tableau ();
pour (i = 0; i
{
var ok = 1;
if (bannière[zona][i][‘scadenza’]> 0 && bannière[zona][i][‘scadenza’]<= maintenant) ok = 0;
if (bannière[zona][i][‘partenza’]! = 0 && bannière[zona][i][‘partenza’]> maintenant) ok = 0;
if (typeof action! == ‘undefined’ && action! == null) {
if (bannière[zona][i][‘pagine’] == ‘! index ’&& action ==‘ index ’) ok = 0;
sinon si (bannière[zona][i][‘pagine’] == ‘index’ && action! = ‘Index’) ok = 0;
}
if (ok == 1) bannerok[zona].push (bannière[zona][i]);
}
bannière[zona].sort (function () {return 0.5 - Math.random ()});
}
banner = bannerok;
var banner_url = ‘https://net-storage.tccstatic.com’;
var banner_path = ‘/storage/tuttonapoli.net/banner/’
fonction asyncLoad ()
{
if (action == ‘read’ && TCCCookieConsent) {
var scripts =[[
"Https://connect.facebook.net/it_IT/all.js#xfbml=1",
];
(fonction (tableau) {
pour (var i = 0, len = array.length; i
var elem = document.createElement (‘script’);
elem.type = ‘text / javascript’;
elem.async = true;
elem.src = tableau[i];
var s = document.getElementsByTagName (‘script’)[0];
s.parentNode.insertBefore (elem, s);
}
}) (Scripts);
}
setTCCCookieConsent ();
}
if (window.addEventListener) window.addEventListener («charge», asyncLoad, false);
else if (window.attachEvent) window.attachEvent («onload», asyncLoad);
else window.onload = asyncLoad;
fonction resizeStickyContainers () {
var stickyFill = document.getElementsByClassName (‘sticky-fill’)
pour (i = 0; i
stickyFill[i].style.height = null
}
pour (i = 0; i
stickyFill[i].style.height = stickyFill[i].parentElement.offsetHeight + stickyFill[i].parentElement.offsetTop - stickyFill[i].offsetTop + ‘px’
}
}
document.addEventListener (‘DOMContentLoaded’, resizeStickyContainers, false)
// layout_headjs
fonction utf8_decode (e) {for (var n = “”, r = 0; r <128? n + = String.fromCharCode