Flash Gallery align help

I’ve customised my own version of this tutorial: http://www.kirupa.com/developer/mx/photogallery.htm

Problem is the images are a mix of portrait and landscape so I wanted to make sure they are aligned to the center of the stage rather than the portrait ones appearing to the left. Could anyone tell me the code I need to put into the movie to do this??

Thanks!