// 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("PICT0946.jpg", "(Image 1 of 6)", "");
images[1] = new Array("PICT0947.jpg", "(Image 2 of 6)", "");
images[2] = new Array("PICT0948.jpg", "(Image 3 of 6)", "");
images[3] = new Array("PICT0949.jpg", "(Image 4 of 6)", "");
images[4] = new Array("PICT0950.jpg", "(Image 5 of 6)", "");
images[5] = new Array("PICT0951.jpg", "(Image 6 of 6)", "");

// Gallery Title
var galleryTitle = "&quot;The Color Purple&quot; on Broadway";

// Gallery Description
var galleryDescription = "";

// Declare variables
var currentImage = 0;

// Viewer variables
var openViewerInNewWindow = false;
var viewerWindow = "";
var viewerWindowName = "imageViewer";
var viewerWindowProperties = "width=740,height=515,toolbars=no,status=no";
var numOfThumbs = 5;
var center = 3;
var highlightColorOn = "white";
var highlightColorOff = "#FFD96E";

// Slideshow variables
var openSlideshowInNewWindow = false;
var slideshowWindow = "";
var slideshowWindowName = "imageSlideshow";
var slideshowWindowProperties = "width=740,height=515,toolbars=no,status=no";
var delay = 4000;
var fadeTime = 500;
var paused = false;


// FILE LOCATIONS

// The name of the image directory
var imageDir = "imgs/fullsize";

// The name of the navigation image directory
var navDir = "../../nav";

// The name of the thumbnail image directory
var thumbDir = "imgs/thumbs";
var thumbRegExp = /thumbs\//;
