Theretically this is how it will be done.
create a <div name="jump"></div>
Set the default position of this div to be absolute
then on any event which u desire
either onload or onclick
get the divs position.top and position.left
Left will always be the same since you want it to be at same side,
from the top minus the number that you want the jump.gif to be scrolling down
and then at the end reset the location of the div
jump.top = new value
jump.left = same value
and finally call the method that does this all to the desired condition,which could be to the end of page etc.