In regards to the photo gallery tut

http://www.kirupa.com/developer/mx/photogallery.htm

in regards to that tut, where would i place the code so that the images change automatically on
setinterval command?