var menu_info_obj=document.getElementById('menu_info');var menu_info_count=0;if(isset('menu_info_elem1')){menu_info_count=menu_info_elem1.length;}else{var menu_info_elem1=[];var menu_info_elem2=[];var menu_animation=true;}if(!menu_info_count){menu_info_elem1[0]='Partecipa alle "Gare"';menu_info_elem2[0]='<a href="/forum/viewtopic.php?f=80" target="_blank"><strong>&gt;&gt; <span id="menu_info_scroll">Partecipa alle "Gare"</span> &lt;&lt;</strong></a>';menu_info_count=1;}
var rand=0;var num=0;var step=1;var menutimescroll=10;var menutimechange=20000;if(!menu_animation)menutimescroll=0;function refreshMenuInfo2(){var menu_info_scroll=document.getElementById('menu_info_scroll');str=menu_info_scroll.innerHTML;if(step==1){if(str.length){str=substr(str, 0,(str.length - 1));menu_info_scroll.innerHTML=str;setTimeout('refreshMenuInfo2()', menutimescroll);}else{step=2;setTimeout('refreshMenuInfo2()', menutimescroll);}}else if(step==2){var len1=menu_info_elem1[rand].length;if(num < len1){str=substr(menu_info_elem1[rand], 0,(num+1));menu_info_scroll.innerHTML=str;num++;setTimeout('refreshMenuInfo2()', menutimescroll);}else{step=3;num=0;setTimeout('refreshMenuInfo2()', menutimescroll);}}else{menu_info_obj.innerHTML=menu_info_elem2 [rand];setTimeout('refreshMenuInfo()', menutimechange);}}function refreshMenuInfo(){num=rand=0;step=1;last_rand=rand;rand=Math.floor(Math.random()*(menu_info_count)); 
refreshMenuInfo2();}setTimeout('refreshMenuInfo()', 3);