indexSeparator = ' / ';
// Add one line per photo, using
//         addPhoto ('filename', 'caption', 'index text');
// The third parameter is optional and will default to the number
// of the photo if not provided.

addPhoto('images/gallery/pic1.jpg',"This caption is automatically updated as you browse photos. Each element's style is completely configurable.");
addPhoto('images/gallery/pic2.jpg','Caption goes here',"Pic 2");