// 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("benherdt.jpg", "Ben Herdt", "");
images[1] = new Array("stevemahler.jpg", "Steve Mahler", "");
images[2] = new Array("nicolagrissom.jpg", "Nicola Grissom", "");
images[3] = new Array("benflaster.jpg", "Ben Flaster", "");
images[4] = new Array("becafried.jpg", "Beca Fried", "");
images[5] = new Array("chassycleland.jpg", "Chassy Cleland", "");
images[6] = new Array("acaciaparks.jpg", "Acacia Parks", "");
images[7] = new Array("richgrissom.jpg", "Rich Grissom", "");
images[8] = new Array("benmullins.jpg", "Ben Mullins", "");
images[9] = new Array("seandesantis.jpg", "Sean Desantis", "");
images[10] = new Array("kyle.jpg", "Kyle has a drinking problem.", "");
images[11] = new Array("oribassoff.jpg", "Ori took better pictures than this one.", "");

// Gallery Title
var galleryTitle = "Photos from Chris &amp; Nicola's Wedding";

// Gallery Description
var galleryDescription = "Candid snapshots from single-use cameras.";

// 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\//;

