AS2-beginner-need help expanding on kirupa photo gallery

I really like the function and look of the photo gallery from kirupa’s tutorial, http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm but I want to create a flash page that has 3 photo galleries side by side. I imagine I need 3 sets of code which reflect the different instance names for the empty movie clips in my flash file and new xml files. How do I change the code to reflect new instance names and a new xml doc? Essentially, what would the code look like if I had gallery1, gallery2, gallery3 in the same flash pg?