var scrollerwidth=756 var scrollerheight=120 var it=0 var numb =1 var scrollspeed='2000' var waitingtime='1' if (messages.length > 2) it=2 else { if(messages.length == 1){ messages[1] = messages[0] } it=0 } function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.top>0&&tlayer.top<=numb){ tlayer.top=0 setTimeout("move1(tlayer)",scrollspeed) setTimeout("move2(document.main.document.second)",scrollspeed) return } if (tlayer.top>=tlayer.document.height*-1){ tlayer.top-=numb setTimeout("move1(tlayer)",waitingtime) } else{ tlayer.top=scrollerheight tlayer.document.write(messages[it]) tlayer.document.close() if (it==messages.length-1) it=0 else it++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.top>0&&tlayer2.top<=numb){ tlayer2.top=0 setTimeout("move2(tlayer2)",scrollspeed) setTimeout("move1(document.main.document.first)",scrollspeed) return } if (tlayer2.top>=tlayer2.document.height*-1){ tlayer2.top-=numb setTimeout("move2(tlayer2)",waitingtime) } else{ tlayer2.top=scrollerheight tlayer2.document.write(messages[it]) tlayer2.document.close() if (it==messages.length-1) it=0 else it++ } } function move3(whichdiv){ tdiv=eval(whichdiv) if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=numb){ tdiv.style.pixelTop=0 setTimeout("move3(tdiv)",scrollspeed) setTimeout("move4(second2)",scrollspeed) return } if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){ tdiv.style.pixelTop-=numb setTimeout("move3(tdiv)",waitingtime) } else{ tdiv.style.pixelTop=scrollerheight tdiv.innerHTML=messages[it] if (it==messages.length-1) it=0 else it++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=numb){ tdiv2.style.pixelTop=0 setTimeout("move4(tdiv2)",scrollspeed) setTimeout("move3(first2)",scrollspeed) return } if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){ tdiv2.style.pixelTop-=numb setTimeout("move4(second2)",waitingtime) } else{ tdiv2.style.pixelTop=scrollerheight tdiv2.innerHTML=messages[it] if (it==messages.length-1) it=0 else it++ } } function onmouse_event(){ numb=0 } function mouseout_event(){ numb=1 } function startscroll(){ if (document.all){ move3(first2) second2.style.top=scrollerheight second2.style.visibility='visible' } else if (document.layers){ document.main.visibility='show' move1(document.main.document.first) document.main.document.second.top=scrollerheight+numb document.main.document.second.visibility='show' } } window.onload=startscroll document.writeln("") document.writeln("") if (document.layers) document.write(messages[0]) document.writeln("") document.writeln(" ") if (document.layers) document.write(messages[1]) document.writeln("") document.writeln("") if (document.all){ document.writeln('') document.writeln('') document.writeln('') document.writeln('') document.write(messages[0]) document.writeln('') document.writeln('') document.writeln('') document.writeln('') document.write(messages[1]) document.writeln('') document.writeln('') document.writeln('') document.writeln('') }