amaranta_it_width = typeof window.amaranta_it_width != "undefined" ? window.amaranta_it_width : 160; amaranta_it_target = typeof window.amaranta_it_target != "undefined" ? window.amaranta_it_target : "_blank"; amaranta_it_bg_color = typeof window.amaranta_it_bg_color != "undefined" ? window.amaranta_it_bg_color : "#FFFFFF"; amaranta_it_border_color = typeof window.amaranta_it_border_color != "undefined" ? window.amaranta_it_border_color : "#002BB7"; amaranta_it_border_bottom_color = typeof window.amaranta_it_border_bottom_color != "undefined" ? window.amaranta_it_border_bottom_color : amaranta_it_bg_color; amaranta_it_link_color = typeof window.amaranta_it_link_color != "undefined" ? window.amaranta_it_link_color : "#000000"; amaranta_it_link_color_hover = typeof window.amaranta_it_link_color_hover != "undefined" ? window.amaranta_it_link_color_hover : amaranta_it_link_color; amaranta_it_date_color = typeof window.amaranta_it_date_color != "undefined" ? window.amaranta_it_date_color : amaranta_it_link_color; amaranta_it_date_format = typeof window.amaranta_it_date_format != "undefined" ? window.amaranta_it_date_format : "d/m"; amaranta_it_logo_align = typeof window.amaranta_it_logo_align != "undefined" ? window.amaranta_it_logo_align : "center"; amaranta_it_logo_align = amaranta_it_logo_align != "nologo" ? amaranta_it_logo_align : ""; amaranta_it_logo_align = ((typeof window.amaranta_it_logo != "undefined") && ((typeof window.amaranta_it_logo == "https://www.amaranta.it/template/tmw/img/newsticker_amaranta.gif") || (typeof window.amaranta_it_logo == "https://www.amaranta.it/img/newticker_amaranta.gif") || ((typeof window.amaranta_it_logo == "https://www.amaranta.it/template/tmw/img/newsticker.gif")))) ? "center" : amaranta_it_logo_align; // per i vecchi newsticker var na = new Array(); na[0] = new Array(3); na[0][0] = 1774906347; na[0][1] = 'https://www.amaranta.it/calcio/intervista-all-ex-merlo-livorno-e-una-piazza-che-rimane-nel-cuore-31592'; na[0][2] = 'Intervista all'ex. Merlo: "Livorno è una piazza che rimane nel cuore"'; na[1] = new Array(3); na[1][0] = 1774901648; na[1][1] = 'https://www.amaranta.it/basket/la-pielle-ufficializza-un-rinforzo-di-grande-qualita-ha-firmato-traini-31591'; na[1][2] = 'La Pielle ufficializza un rinforzo di grande qualità, ha firmato Traini'; na[2] = new Array(3); na[2][0] = 1774861696; na[2][1] = 'https://www.amaranta.it/pallavolo/b2-f-perullo-arriva-la-terza-vittoria-consecutiva-con-albenga-3-a-0-31590'; na[2][2] = 'B2/F. Perullo arriva la terza vittoria consecutiva con Albenga, 3 a 0'; na[3] = new Array(3); na[3][0] = 1774820401; na[3][1] = 'https://www.amaranta.it/basket/a2-la-libertas-risorge-ma-vince-cividale-nel-finale-76-a-77-31589'; na[3][2] = 'A2. La Libertas risorge ma vince Cividale nel finale, 76 a 77'; na[4] = new Array(3); na[4][0] = 1774729277; na[4][1] = 'https://www.amaranta.it/basket/lnb-la-pielle-esce-alla-distanza-e-sconfigge-loreto-64-a-72-31588'; na[4][2] = 'LNB. La Pielle esce alla distanza e sconfigge Loreto, 64 a 72'; na[5] = new Array(3); na[5][0] = 1774720100; na[5][1] = 'https://www.amaranta.it/calcio/torres-livorno-le-pagelle-degli-amaranto-31587'; na[5][2] = 'Torres-Livorno, le pagelle degli Amaranto'; na[6] = new Array(3); na[6][0] = 1774719204; na[6][1] = 'https://www.amaranta.it/calcio/sala-stampa-greco-torres-partiti-bene-abbiamo-sofferto-poco-31586'; na[6][2] = 'Sala stampa. Greco, Torres: "Partiti bene, abbiamo sofferto poco"'; na[7] = new Array(3); na[7][0] = 1774715855; na[7][1] = 'https://www.amaranta.it/calcio/sala-stampa-venturato-livorno-primo-tempo-fatto-male-31585'; na[7][2] = 'Sala stampa. Venturato, Livorno: "Primo tempo fatto male"'; na[8] = new Array(3); na[8][0] = 1774713898; na[8][1] = 'https://www.amaranta.it/calcio/il-livorno-affonda-in-sardegna-vince-la-torres-3-a-1-31584'; na[8][2] = 'Il Livorno affonda in Sardegna, vince la Torres, 3 a 1'; na[9] = new Array(3); na[9][0] = 1774701416; na[9][1] = 'https://www.amaranta.it/calcio/diretta-web-torres-livorno-3-a-1-finale-31583'; na[9][2] = 'Diretta web. Torres-Livorno 3 a 1 (finale)'; Date.prototype.format = function(format) { var returnStr = ''; var replace = Date.replaceChars; for (var i = 0; i < format.length; i++) { var curChar = format.charAt(i); if (replace[curChar]) returnStr += replace[curChar].call(this); else returnStr += curChar; } return returnStr; }; Date.replaceChars = { // Day d: function() { return (this.getDate() < 10 ? '0' : '') + this.getDate(); }, // Month m: function() { return (this.getMonth() < 9 ? '0' : '') + (this.getMonth() + 1); }, // Year Y: function() { return this.getFullYear(); }, // Time H: function() { return (this.getHours() < 10 ? '0' : '') + this.getHours(); }, i: function() { return (this.getMinutes() < 10 ? '0' : '') + this.getMinutes(); }, s: function() { return (this.getSeconds() < 10 ? '0' : '') + this.getSeconds(); } } var dateS= new Date(); var style=dateS.getTime(); document.write (''); document.write ('
'); if (amaranta_it_logo_align!="") document.write ('
'); for ( var k = 0; k < na.length; k++ ) { document.write ("
"); if (amaranta_it_date_format!="") { datef = new Date(na[k][0]*1000); document.write (""+datef.format(amaranta_it_date_format)+" "); } document.write (""+na[k][2]+"
"); } document.write ('
');