var scrollerdelayz='3000' //delay between msg scrolls. 3000=3 seconds. var scrollerwidthz='250px' var scrollerheightz='150px' var scrollerbgcolorz='white' var scrollerspeedz=100 //set below to '' if you don't wish to use a background image var scrollerbackgroundz='' //configure the below variable to change the contents of the scroller var messagesz=new Array() messagesz[0]="כיצד להתמודד עם תאונת דרכים?
אילו פרטים יש לאסוף לאחר התאונה וכיצד מקבלים טיפול רפואי.
15/1/2013" messagesz[1]="אתר אוטוסטרדה המחודש
האתר עבר מתיחת פנים: הורחבו התכנים באתר ועודכן עיצוב חדש.
18/2/2011" ///////Do not edit pass this line/////////////////////// var iez=document.all var domz=document.getElementById if (messagesz.length>2) iz=2 else iz=0 function movez(whichdivz){ tdivz=eval(whichdivz) if (parseInt(tdivz.style.top)>0&&parseInt(tdivz.style.top)<=5){ tdivz.style.top=0+"px" setTimeout("movez(tdivz)",scrollerdelayz) setTimeout("movez2(second2_objz)",scrollerdelayz) return } if (parseInt(tdivz.style.top)>=tdivz.offsetHeight*-1){ tdivz.style.top=parseInt(tdivz.style.top)-5+"px" setTimeout("movez(tdivz)",scrollerspeedz) } else{ tdivz.style.top=parseInt(scrollerheightz)+"px" tdivz.innerHTML=messagesz[iz] if (iz==messagesz.length-1) iz=0 else iz++ } } function movez2(whichdivz){ tdivz2=eval(whichdivz) if (parseInt(tdivz2.style.top)>0&&parseInt(tdivz2.style.top)<=5){ tdivz2.style.top=0+"px" setTimeout("movez2(tdivz2)",scrollerdelayz) setTimeout("movez(first2_objz)",scrollerdelayz) return } if (parseInt(tdivz2.style.top)>=tdivz2.offsetHeight*-1){ tdivz2.style.top=parseInt(tdivz2.style.top)-5+"px" setTimeout("movez2(second2_objz)",scrollerspeedz) } else{ tdivz2.style.top=parseInt(scrollerheightz)+"px" tdivz2.innerHTML=messagesz[iz] if (iz==messagesz.length-1) iz=0 else iz++ } } function startscrollz(){ first2_objz=iez? first2z : document.getElementById("first2z") second2_objz=iez? second2z : document.getElementById("second2z") movez(first2_objz) second2_objz.style.top=scrollerheightz second2_objz.style.visibility='visible' } if (iez||domz){ document.writeln('
') document.writeln('
') document.writeln('
') document.write(messagesz[0]) document.writeln('
') document.writeln('') document.writeln('
') document.writeln('
') } if (window.addEventListener) window.addEventListener("load", startscrollz, false) else if (window.attachEvent) window.attachEvent("onload", startscrollz) else if (iez||domz) window.onload=startscrollz