// imageArray.js
// Variables to control the Image Gallery (index, viewer, slideshow)

// Declare image array
// Format: filename, description/alt text, URL
var images = new Array();
images[0] = new Array("P1010042.JPG", "Christmas Mid Night Mass", "");
images[1] = new Array("P1010043.JPG", "Christmas Mid Night Mass", "");
images[2] = new Array("P1010044.JPG", "Christmas Mid Night Mass", "");
images[3] = new Array("P1010045.JPG", "Christmas Mid Night Mass", "");
images[4] = new Array("P1010046.JPG", "Christmas Mid Night Mass", "");
images[5] = new Array("P1010047.JPG", "Christmas Mid Night Mass", "");
images[6] = new Array("P1010048.JPG", "Christmas Mid Night Mass", "");
images[7] = new Array("P1010049.JPG", "Christmas Mid Night Mass", "");
images[8] = new Array("P1010050.JPG", "Christmas Mid Night Mass", "");
images[9] = new Array("P1010051.JPG", "Christmas Mid Night Mass", "");
images[10] = new Array("P1010052.JPG", "Christmas Mid Night Mass", "");
images[11] = new Array("P1010053.JPG", "Christmas Mid Night Mass", "");
images[12] = new Array("P1010054.JPG", "Christmas Mid Night Mass", "");
images[13] = new Array("P1010055.JPG", "Christmas Mid Night Mass", "");
images[14] = new Array("P1010056.JPG", "Christmas Mid Night Mass", "");
images[15] = new Array("P1010057.JPG", "Christmas Mid Night Mass", "");
images[16] = new Array("P1010058.JPG", "Christmas Mid Night Mass", "");
images[17] = new Array("P1010059.JPG", "Christmas Mid Night Mass", "");
images[18] = new Array("P1010060.JPG", "Christmas Mid Night Mass", "");


// Gallery Title
var galleryTitle = "Christmas Mid-Night Mass";

// Gallery Description
var galleryDescription = "";

// Declare variables
var currentImage = 0;

// Viewer variables
var openViewerInNewWindow = false;
var viewerWindow = "";
var viewerWindowName = "imageViewer";
var viewerWindowProperties = "width=630,height=515,toolbars=no,status=no";
var numOfThumbs = 5;
var center = 3;
var highlightColorOn = "yellow";
var highlightColorOff = "white";

// Slideshow variables
var openSlideshowInNewWindow = false;
var slideshowWindow = "";
var slideshowWindowName = "imageSlideshow";
var slideshowWindowProperties = "width=630,height=480,toolbars=no,status=no";
var delay = 4000;
var fadeTime = 500;
var paused = false;


// FILE LOCATIONS

// The name of the image directory
var imageDir = "images";

// The name of the navigation image directory
var navDir = "nav";

// The name of the thumbnail image directory
var thumbDir = "thumbs";
var thumbRegExp = /thumbs\//;
