Autoplay button

Hi,

would you help me - what the code should has the button for autoplay Photo Gallery.
I used this template:
http://www.kirupa.com/developer/mx/photogallery.htm

Thank you for your help
G.