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] = 1795987448; na[0][1] = 'https://www.amaranta.it/basket/a2-libertas-sbanca-torino-continua-test-serie-a2-59-75-32346'; na[0][2] = 'A2. La Libertas sbanca Torino e continua in testa alla Serie A2: 59 a 75'; na[1] = new Array(3); na[1][0] = 1795986661; na[1][1] = 'https://www.amaranta.it/calcio/postgara-carmine-gara-brutta-risultato-giusto-32345'; na[1][2] = 'Postgara. Di Carmine: "Gara brutta ma il risultato è giusto"'; na[2] = new Array(3); na[2][0] = 1795986528; na[2][1] = 'https://www.amaranta.it/basket/lnb-pielle-sogno-travolge-virtus-roma-84-61-32344'; na[2][2] = 'LNB. Una Pielle da sogno travolge la Virtus Roma, 84 a 61'; na[3] = new Array(3); na[3][0] = 1795971855; na[3][1] = 'https://www.amaranta.it/calcio/perugia-livorno-pagelle-amaranto-32343'; na[3][2] = 'Perugia-Livorno, le pagelle degli Amaranto'; na[4] = new Array(3); na[4][0] = 1795970915; na[4][1] = 'https://www.amaranta.it/calcio/sala-stampa-lucarelli-dobbiamo-salvarci-possibile-32341'; na[4][2] = 'Sala stampa. Lucarelli: "Dobbiamo salvarci prima possibile"'; na[5] = new Array(3); na[5][0] = 1795970464; na[5][1] = 'https://www.amaranta.it/calcio/sala-stampa-diana-siamo-vera-squadra-possiamo-migliorare-32342'; na[5][2] = 'Sala stampa. Diana: "Siamo una vera squadra ma davanti possiamo migliorare"'; na[6] = new Array(3); na[6][0] = 1795966805; na[6][1] = 'https://www.amaranta.it/calcio/perugia-rigore-battere-livorno-1-0-32340'; na[6][2] = 'Al Perugia basta un rigore per battere il Livorno, 1 a 0'; na[7] = new Array(3); na[7][0] = 1795958406; na[7][1] = 'https://www.amaranta.it/calcio/diretta-web-perugia-livorno-32339'; na[7][2] = 'Diretta web. Perugia-Livorno 1 a 0 (finale)'; na[8] = new Array(3); na[8][0] = 1795950986; na[8][1] = 'https://www.amaranta.it/calcio/perugia-livorno-ultime-match-probabili-formazioni-32338'; na[8][2] = 'Perugia-Livorno, le ultime prima del match e le probabili formazioni'; na[9] = new Array(3); na[9][0] = 1795905329; na[9][1] = 'https://www.amaranta.it/basket/lnb-pielle-arriva-capolista-virtus-roma-palsmacchia-32336'; na[9][2] = 'LNB. Pielle, arriva la capolista Virtus Roma al Pala Macchia'; 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 ('