<Div id = "MQ" style = "width: 100%; Height: 18px; overflow: hidden; Border: 1px solid # ffffff" onmouseout = "iscrollamount = 1">
I gently walked away, just as I gently came; <br/>
I gently waved to the cloud of the West. <Br/>
The willow on the banks of that river is the bride in the sunset. <br/>
The shadows in the light are ripple in my mind. <Br>
</Div>
<SCRIPT>
VaR omarquee = Document. getelementbyid ("MQ"); // scroll object
VaR ilineheight = 16; // Single Row Height, pixel
VaR ilinecount = 4; // the actual number of rows
VaR iscrollamount = 1; // The height of each scroll, pixel
Function run (){
Omarquee. scrolltop + = iscrollamount;
If (omarquee. scrolltop = ilinecount * ilineheight)
Omarquee. scrolltop = 0;
If (omarquee. scrolltop % ilineheight = 0 ){
Window. setTimeout ("Run ()", 2000 );
} Else {
Window. setTimeout ("Run ()", 50 );
}
}
Omarquee. innerhtml + = omarquee. innerhtml;
Window. setTimeout ("Run ()", 2000 );
</SCRIPT>
Sessions cannot be used in Ajax functions of ajaxpro.