/*
** This script will add photos to the gallery in the 
** current directory. If there is only one picture in
** the gallery and it is the Coming Soon placeholder, 
** the placeholder will be replaced by the first photo
** in this script.
*/

/*
** The following lines are required as is:
*/

pic = picArray.length;
if (pic == 1 && picArray[0] == "ComingSoon.jpg") {
  pic = 0;
}

/*
** The remainder of the script should contain a block of 
** code for each photo following the template below:
** 
** picArray[pic] = "filename";
** titleArray[pic] = "title text";
** captionArray[pic] = "caption text";
** photoCreditArray[pic] = "photo credit text";
** 
** pic++;
*/

picArray[pic] = "990925-1701-14.jpg";
titleArray[pic] = "";
captionArray[pic] = "";
photoCreditArray[pic] = "Stuart Greenberg";

pic++;

picArray[pic] = "991031-1334-14.jpg";
titleArray[pic] = "";
captionArray[pic] = "";
photoCreditArray[pic] = "Stuart Greenberg";

pic++;

picArray[pic] = "DSCN1135.jpg";
titleArray[pic] = "";
captionArray[pic] = "";
photoCreditArray[pic] = "Stuart Greenberg";

pic++;

picArray[pic] = "DSCN4072.jpg";
titleArray[pic] = "";
captionArray[pic] = "";
photoCreditArray[pic] = "Stuart Greenberg";

pic++;

