var currPos = 0;
var speed = 3;
var t1 = 0;
function scroll() {
currPos = currPos + speed
var div = document.getElementById("scroll");
div.scrollTop = currPos;
if (currPos > div.scrollHeight - 160) {
   currPos = 0;
   }
t1=setTimeout("scroll()",100);
}
