// 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("Gray1.jpg", "(Image 1 of 10)", "");
images[1] = new Array("Gray2.jpg", "(Image 2 of 10)", "");
images[2] = new Array("Gray3.jpg", "(Image 3 of 10)", "");
images[3] = new Array("Gray4.jpg", "(Image 4 of 10)", "");
images[4] = new Array("Gray5.jpg", "(Image 5 of 10)", "");
images[5] = new Array("Gray6.jpg", "(Image 6 of 10)", "");
images[6] = new Array("Gray7.jpg", "(Image 7 of 10)", "");
images[7] = new Array("Gray8.jpg", "(Image 8 of 10)", "");
images[8] = new Array("Gray9.jpg", "(Image 9 of 10)", "");
images[9] = new Array("Gray10.jpg", "(Image 10 of 10)", "");

// Gallery Title
var galleryTitle = "Gray Family Reunion";

// 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\//;
