XML Photo Album to play automatically


I’ve come across a great tutorial for the xml photo album: http://www.xmlphotoalbum.com/

How would I implement the slideshow to play automatically and continuously? Also, adding some spacing in between the thumbnails would be nice as well.

Any help with this would be greatly appreciated!