i = 0
var speed = 1
function scroll() {
i = i + speed
var div = document.getElementById("scroll")
div.scrollTop = i
if (i > div.scrollHeight - 0) {i = 0}
t1=setTimeout("scroll()",40)
}