I need to create multiple versions of an image with a different piece of artwork in each one. I created the image in Photoshop CS3 and added each version of the artwork as layers in a folder.

From this Photoshop document, I need to export one .png or .jpg for each of the layers in the 'Images' folder in the Layers palette, with only that layer visible (plus the other layers not in the Images folder). How can I automate this process so that I don't have to manually change the layer visibility and go File > Save For Web ten to fifteen times every time I tweak the document?