Repeat images over again? (XML Photo Gallery)

Hi,

I’m configuring Kirupa’s XML photo gallery (http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) How can I make it the gallery start over again when it reaches the last image? So far it’s coded so that it stops on the last image…

thanks for your help,
John