JavaScript Picture/Slideshow Script

I wrote this little script in an evening, and figured I'd throw it up here in case somebody comes looking for something just like this. It's a handy way to avoid having to code a bunch of little html files when you want to display a series of pictures. (Of course, learning curves being what they are, the "long" way probably would've been faster, but that's really not the point.) As a bonus, if you have double-sided items, like postcards, the script contains a relatively easy way of displaying the reverse side.

The script is fairly straightforward, and I've commented the hell out of the thing so it's pretty easy to keep track of what's going on and figure out what needs to go where. It's still in its early stages, although it's usable as is. I plan on tweaking the script a little bit to make it a little more user-friendly.

You can get the script here.