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