<DIV id=demo>
<div id=demo1>
<IMG SRC=o.jpg><BR>
<IMG src=1.jpg><BR>
</div>
<div id=demo2></div>
</div>
</DIV>
<script>
var speed=15
demo2.innerHTML=demo1.innerHTML
function Marquee3(){
if(demo2.offsetTop-demo.scrollTop<=0)
demo.scrollTop-=demo1.offsetHeight
else{
demo.scrollTop++
}
}
var MyMar=setInterval(Marquee3,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee3,speed)}
</script>