pb_width = typeof window.pb_width != "undefined" ? window.pb_width : 160; pb_target = typeof window.pb_target != "undefined" ? window.pb_target : "_blank"; pb_bg_color = typeof window.pb_bg_color != "undefined" ? window.pb_bg_color : "#FFFFFF"; pb_border_color = typeof window.pb_border_color != "undefined" ? window.pb_border_color : "#002BB7"; pb_border_bottom_color = typeof window.pb_border_bottom_color != "undefined" ? window.pb_border_bottom_color : pb_bg_color; pb_link_color = typeof window.pb_link_color != "undefined" ? window.pb_link_color : "#000000"; pb_link_color_hover = typeof window.pb_link_color_hover != "undefined" ? window.pb_link_color_hover : pb_link_color; pb_date_color = typeof window.pb_date_color != "undefined" ? window.pb_date_color : pb_link_color; pb_date_format = typeof window.pb_date_format != "undefined" ? window.pb_date_format : "d/m"; pb_logo_align = typeof window.pb_logo_align != "undefined" ? window.pb_logo_align : "center"; pb_logo_align = pb_logo_align != "nologo" ? pb_logo_align : ""; pb_logo_align = ((typeof window.pb_logo != "undefined") && ((typeof window.pb_logo == "http://www.pianetabasket.com/template/default/img/newsticker_pianetabasket.gif") || (typeof window.pb_logo == "http://www.pianetabasket.com/img/newticker_pianetabasket.gif") || ((typeof window.pb_logo == "http://www.pianetabasket.com/template/default/img/newsticker.gif")))) ? "center" : pb_logo_align; // per i vecchi newsticker var na = new Array(); na[0] = new Array(3); na[0][0] = 1519255846; na[0][1] = 'http://www.pianetabasket.com/varie/giovedi-22-febbraio-la-seconda-bcc-cup-sfida-sotto-canestro-tra-varese-e-legnano-per-solidarieta-153611'; na[0][2] = 'Giovedì 22 febbraio la seconda BCC Cup: sfida sotto canestro tra Varese e Legnano per solidarietà'; na[1] = new Array(3); na[1][0] = 1519254971; na[1][1] = 'http://www.pianetabasket.com/serie-a2/a2-caroti-la-vittoria-con-legnano-ci-ha-dato-fiducia-a-roma-vogliamo-confermarci-153612'; na[1][2] = 'A2 - Caroti: "La vittoria con Legnano ci ha dato fiducia, a Roma vogliamo confermarci"'; na[2] = new Array(3); na[2][0] = 1519254696; na[2][1] = 'http://www.pianetabasket.com/nba/nba-spurs-popovich-sarei-sorpreso-se-kawhi-leonard-tornasse-questa-stagione-153614'; na[2][2] = 'NBA - Spurs, Popovich: Sarei sorpreso se Kawhi Leonard tornasse questa stagione'; na[3] = new Array(3); na[3][0] = 1519254655; na[3][1] = 'http://www.pianetabasket.com/varie/old-star-game-2018-si-avvicina-il-derby-delle-stelle-153610'; na[3][2] = 'Old Star Game 2018, Si avvicina il Derby delle Stelle '; na[4] = new Array(3); na[4][0] = 1519254232; na[4][1] = 'http://www.pianetabasket.com/varie/lega-a-dinamo-sassari-i-giganti-alla-scoperta-delle-suggestioni-del-qatar-153609'; na[4][2] = 'Lega A - Dinamo Sassari, i giganti alla scoperta delle suggestioni del Qatar'; na[5] = new Array(3); na[5][0] = 1519254158; na[5][1] = 'http://www.pianetabasket.com/nba/nba-boston-attende-il-ritorno-in-campo-di-marcus-smart-153613'; na[5][2] = 'NBA - Boston attende il ritorno in campo di Marcus Smart'; na[6] = new Array(3); na[6][0] = 1519254066; na[6][1] = 'http://www.pianetabasket.com/serie-c/serie-c-maddaloni-nell-infrasettimanale-a-cercola-153608'; na[6][2] = 'Serie C - Maddaloni nell'infrasettimanale a Cercola'; na[7] = new Array(3); na[7][0] = 1519254006; na[7][1] = 'http://www.pianetabasket.com/serie-c/serie-c-al-palapuca-il-san-nicola-supera-la-partenope-153607'; na[7][2] = 'Serie C - Al PalaPuca il San Nicola supera la Partenope'; na[8] = new Array(3); na[8][0] = 1519247157; na[8][1] = 'http://www.pianetabasket.com/nba/nba-pistons-ancora-due-settimane-per-il-ritorno-di-reggie-jackson-153606'; na[8][2] = 'NBA - Pistons: ancora due settimane per il ritorno di Reggie Jackson'; na[9] = new Array(3); na[9][0] = 1519245549; na[9][1] = 'http://www.pianetabasket.com/nba/nba-multone-di-600000-dollari-per-mark-cuban-mavericks-153605'; na[9][2] = 'NBA - Multone di 600.000 dollari per Mark Cuban (Mavericks)'; 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 (pb_logo_align!="") document.write ('
'); for ( var k = 0; k < na.length; k++ ) { document.write ("
"); if (pb_date_format!="") { datef = new Date(na[k][0]*1000); document.write (""+datef.format(pb_date_format)+" "); } document.write (""+na[k][2]+"
"); } document.write ('
');