Random First Image

Hello KIRUPA,
First of all, what a great site this is! I’m new here and have a question right away.

I was doing this tutorial: http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm

and succesfully completed it! Great tutorial. But now I was wondering. How do I make the first Image random?

First image function:


function firstImage() { 
if (loaded == filesize) { 
picture._alpha = 0; 
picture.loadMovie(image[0], 1); 
desc_txt.text = description[0]; 
picture_num(); 
} 
}

Thanks In Advance!