Hi there,

I've written a script to make a series of images into a kind of slideshow. It's live here:


It works fine, except if you open another tab and surf the web for 15-20 mins, then click back on to the page, the animation has broken, and the slideshow behaves very strangely. Could it be something to do with setTimeout? Is there a jQuery method that I should be using?

Many thanks,