I have a client that wants a gallery similar to that on http://www.ivorprickett.co.uk/story-free-libya.html where you can turn captions on and off. I have something similar working form slide-viewer but need to add in the caption option as seen on the link above.

Being new to web development I'm a bit stuck, can anyone lend a hand?