if (newLeft < -3192) {
list.style.left = -798 + "px";
}
}
}
go();
}
list.style.left = -798 + "px";
}
}
}
go();
}
function go() {
if ((speed < 0 && parseInt(list.style.left) > newLeft) || (speed > 0 &&
parseInt(list.style.left) < newLeft)) {
list.style.left = speed + parseInt(list.style.left) + "px";
setTimeout(go, terval);
if ((speed < 0 && parseInt(list.style.left) > newLeft) || (speed > 0 &&
parseInt(list.style.left) < newLeft)) {
list.style.left = speed + parseInt(list.style.left) + "px";
setTimeout(go, terval);