// 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("1.JPG", "Church Photos", "");
images[1] = new Array("2.JPG", "Church Photos", "");
images[2] = new Array("3.JPG", "Church Photos", "");
images[3] = new Array("4.JPG", "Church Photos", "");
images[4] = new Array("5.JPG", "Church Photos", "");
images[5] = new Array("6.JPG", "Church Photos", "");
images[6] = new Array("7.JPG", "Church Photos", "");
images[7] = new Array("8.JPG", "Church Photos", "");
images[8] = new Array("9.JPG", "Church Photos", "");
images[9] = new Array("10.JPG", "Church Photos", "");
images[10] = new Array("11.JPG", "Church Photos", "");

images[11] = new Array("12.JPG", "Church Photos", "");
images[12] = new Array("13.JPG", "Church Photos", "");
images[13] = new Array("14.JPG", "Church Photos", "");
images[14] = new Array("15.JPG", "Church Photos", "");
images[15] = new Array("16.JPG", "Church Photos", "");
images[16] = new Array("17.JPG", "Church Photos", "");
images[17] = new Array("18.JPG", "Church Photos", "");
images[18] = new Array("19.JPG", "Church Photos", "");
images[19] = new Array("20.JPG", "Church Photos", "");
images[20] = new Array("21.JPG", "Church Photos", "");

images[21] = new Array("22.JPG", "Church Photos", "");
images[22] = new Array("23.JPG", "Church Photos", "");
images[23] = new Array("24.JPG", "Church Photos", "");
images[24] = new Array("25.JPG", "Church Photos", "");
images[25] = new Array("26.JPG", "Church Photos", "");
images[26] = new Array("27.JPG", "Church Photos", "");
images[27] = new Array("28.JPG", "Church Photos", "");

// Gallery Title
var galleryTitle = "St. Thomas Malankara Catholic Church, Valliyanthy";

// 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\//;
