var tick_news_txt=new Array(); var tick_news_url=new Array(); var tick_news_date=new Array(); tick_news_txt[0]='Le Membre N°163 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[0]='ptp-163.html'; tick_news_date[0]='Il y a 35 secondes'; tick_news_txt[1]='Site du Jour n°3 : http://formule1.ns7-wistee.fr/'; tick_news_url[1]='http://formule1.ns7-wistee.fr/'; tick_news_date[1]='Il y a 12 minutes et 51 secondes'; tick_news_txt[2]='Site du Jour n°2 : http://zeepri.com/inscri.php?parrai'; tick_news_url[2]='http://zeepri.com/inscri.php?parrain2=lameuh'; tick_news_date[2]='Il y a 12 minutes et 51 secondes'; tick_news_txt[3]='Site du Jour n°1 : http://gratcodes.fr/inscription.php'; tick_news_url[3]='http://gratcodes.fr/inscription.php?parrain=lameuh'; tick_news_date[3]='Il y a 12 minutes et 51 secondes'; tick_news_txt[4]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[4]='ptp-175.html'; tick_news_date[4]='Il y a 52 minutes et 57 secondes'; tick_news_txt[5]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[5]='ptp-175.html'; tick_news_date[5]='Il y a 1 heure et 5 minutes'; tick_news_txt[6]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[6]='ptp-175.html'; tick_news_date[6]='Il y a 1 heure et 10 minutes'; tick_news_txt[7]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[7]='ptp-175.html'; tick_news_date[7]='Il y a 1 heure et 24 minutes'; tick_news_txt[8]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[8]='ptp-175.html'; tick_news_date[8]='Il y a 2 heures et 53 minutes'; tick_news_txt[9]='Le Membre N°175 Vient de Gagner 5 Crédits grâce à sa Page de PTP'; tick_news_url[9]='ptp-175.html'; tick_news_date[9]='Il y a 3 heures et 1 minute'; tick_actual = 0; document.write('
'+tick_news_txt[tick_actual]+' ('+tick_news_date[tick_actual]+')
'); function tick_print() { tick_old = tick_actual; tick_actual++; if(tick_actual >= tick_news_url.length) tick_actual = 0; tick_slot = 0; tick_trans(tick_old, tick_actual); setTimeout("tick_print()", 10000); } function tick_trans(old, actual) { tick_slot ++; var max_len = Math.max(tick_news_txt[actual].length, tick_news_txt[old].length); if(tick_slot<=max_len) { var debut = tick_news_txt[actual].substr(0,tick_slot); var fin = tick_news_txt[old].substr(tick_slot,tick_news_txt[old].length); document.getElementById("tick_box").innerHTML = ""+debut+fin+" ("+tick_news_date[tick_actual]+")"; setTimeout("tick_trans("+old+", "+actual+")", 0); } else { if (tick_news_url[actual]!='') document.getElementById("tick_box").innerHTML = ''+tick_news_txt[actual]+' ('+tick_news_date[tick_actual]+')'; else document.getElementById("tick_box").innerHTML = ''+tick_news_txt[actual]+' ('+tick_news_date[tick_actual]+')'; } } window.onload = tick_print;