//configure the below five variables to change the style of the scroller var scrollerdelayP='15000' //delay between msg scrolls. 3000=3 seconds. var scrollerwidthP='100%' var scrollerheightP='170px' var scrollerbgcolorP='#EDEDED' //set below to '' if you don't wish to use a background image var scrollerbackgroundP='' //configure the below variable to change the contents of the scroller var messagesP=new Array() messagesP[0]="
notizie in allestimento
" ///////Do not edit pass this line/////////////////////// var ie=document.all var dom=document.getElementById if (messagesP.length>2) {iI=2;} else {iI=0} function moveP(whichdiv){ tdiv1=eval(whichdiv) if (parseInt(tdiv1.style.top)>0&&parseInt(tdiv1.style.top)<=5){ tdiv1.style.top=0+"px" setTimeout("moveP(tdiv1)",scrollerdelayP) setTimeout("moveP2(second3_obj)",scrollerdelayP) return } if (parseInt(tdiv1.style.top)>=tdiv1.offsetHeight*-1){ tdiv1.style.top=parseInt(tdiv1.style.top)-5+"px" setTimeout("moveP(tdiv1)",10) } else{ tdiv1.style.top=parseInt(scrollerheightP)+"px" tdiv1.innerHTML=messagesP[iI] if (iI==messagesP.length-1) iI=0 else iI++ } } function moveP2(whichdiv){ tdiv3=eval(whichdiv) if (parseInt(tdiv3.style.top)>0&&parseInt(tdiv3.style.top)<=5){ tdiv3.style.top=0+"px" setTimeout("moveP2(tdiv3)",scrollerdelayP) setTimeout("moveP(first3_obj)",scrollerdelayP) return } if (parseInt(tdiv3.style.top)>=tdiv3.offsetHeight*-1){ tdiv3.style.top=parseInt(tdiv3.style.top)-5+"px" setTimeout("moveP2(second3_obj)",10) } else{ tdiv3.style.top=parseInt(scrollerheightP)+"px" tdiv3.innerHTML=messagesP[iI] if (iI==messagesP.length-1) iI=0 else iI++ } } function startscrollP(){ first3_obj=ie? first3 : document.getElementById("first3") second3_obj=ie? second3 : document.getElementById("second3") moveP(first3_obj) second3_obj.style.top=scrollerheightP second3_obj.style.visibility='visible' } if (ie||dom){ document.writeln('
') document.writeln('
') document.writeln('
') document.write(messagesP[0]) document.writeln('
') document.writeln('') document.writeln('
') document.writeln('
') } if (window.addEventListener) window.addEventListener("load", startscrollP, false) else if (window.attachEvent) window.attachEvent("onload", startscrollP) else if (ie||dom) window.onload=startscrollP