This is a quick fix of my random picture generator. It did need help. Here's how to use it straight from the author's e-mail:
Just change the pictures = 5 to the number of pictures you have and name the pictures image1.jpg - image#.jpg (no image0.jpg) and then no multiples of pictures :)
Zusukar
You heard him...Grab the Script
Please note: This script is being offered in simple text format. When you click to Grab the Script, the text should display. Internet Explorer and AOL users may get a blank page or the script may run and produce the effect. If this happens, choose SAVE AS from the FILE menu and save the blank or compiled page.