var x = 0;
var y = 0;
var limdex = 4050;
var dest = 0;
var distance = 0;
var step = 0;
var destination = 0;
var on = true;
function scrollnow() {
if (on){
if (x < limdex & x >= 0 ) {
parent.frames[0].scroll(x,0);
x = x + 1;
window.setTimeout("scrollnow()",18);
}else if (x < 0) {
x = limdex;
scrollnow();
}else{
x=0;
scrollnow();
}
}
}
function stopscroll() {
if (on){
on = false;
}else {
on = true;
scrollnow();
}
}
function startscroll() { on = true; scrollnow(); }
scrollnow();