function getImageTitle(currentGallery, imageIndex) {	
	if(imageIndex < currentGallery.imageTitles.length) {		
		return(currentGallery.imageTitles[imageIndex]);
	}else {
		return("");
	}
}


var _contactSheetFile = "thornbush_cs.html";
var _pictureFrameFile = "thornbush_pf.html";
var galleryindex = 0;
var _galleries = new Array();

/* Gallery 0 */
galleryindex = 0;
_galleries[galleryindex] = new Object();
_galleries[galleryindex].parentFile = "thornbush.html";
_galleries[galleryindex].parentTitle = "Thornbush";
_galleries[galleryindex].imageDirectory = "images/thornbush";
_galleries[galleryindex].imagePrefix = "";
_galleries[galleryindex].imageSuffix = " (Custom).jpg";
_galleries[galleryindex].thumbSuffix = " (Custom) (2).jpg";
_galleries[galleryindex].index = galleryindex;

_galleries[galleryindex].title = "A Taste of Winter";
_galleries[galleryindex].subTitle = "";
_galleries[galleryindex].imageFiles = new Array("snow1", "snow2","Blizzard.01.05 003","Blizzard.01.05 004","Blizzard.01.05 007","Blizzard.01.05 009","Blizzard.01.05 018","Blizzard.01.05 019","03.26.05 013");
_galleries[galleryindex].imageTitles = new Array();

/* Gallery 1 */
galleryindex++;
_galleries[galleryindex] = new Object();
_galleries[galleryindex].parentFile = "thornbush.html";
_galleries[galleryindex].parentTitle = "Thornbush";
_galleries[galleryindex].imageDirectory = "images/thornbush";
_galleries[galleryindex].imagePrefix = "";
_galleries[galleryindex].imageSuffix = " (Custom).jpg";
_galleries[galleryindex].thumbSuffix = " (Custom) (2).jpg";
_galleries[galleryindex].index = galleryindex;

_galleries[galleryindex].title = "The Gardens";
_galleries[galleryindex].subTitle = "";
_galleries[galleryindex].imageFiles = new Array("July.22.2003 004","July.22.2003 003","July.22.2003 005","July.22.2003 008","swing1","Pascale.10.03 010");
_galleries[galleryindex].imageTitles = new Array();

/* Gallery 2 */
galleryindex++;
_galleries[galleryindex] = new Object();
_galleries[galleryindex].parentFile = "thornbush.html";
_galleries[galleryindex].parentTitle = "Thornbush";
_galleries[galleryindex].imageDirectory = "images/thornbush";
_galleries[galleryindex].imagePrefix = "";
_galleries[galleryindex].imageSuffix = " (Custom).jpg";
_galleries[galleryindex].thumbSuffix = " (Custom) (2).jpg";
_galleries[galleryindex].index = galleryindex;

_galleries[galleryindex].title = "Dining";
_galleries[galleryindex].subTitle = "";
_galleries[galleryindex].imageFiles = new Array("Easter.05 001","Easter.05 002","Easter.05 003","5.27.05 041","5.27.05 042","5.27.05 045","5.27.05 048","SusanAndJodeBabyShower 032","PorchFun008","PorchFun009");
_galleries[galleryindex].imageTitles = new Array();																      

/* Gallery 3 */
galleryindex++;
_galleries[galleryindex] = new Object();
_galleries[galleryindex].parentFile = "thornbush.html";
_galleries[galleryindex].parentTitle = "Thornbush";
_galleries[galleryindex].imageDirectory = "images/thornbush";
_galleries[galleryindex].imagePrefix = "";
_galleries[galleryindex].imageSuffix = " (Custom).jpg";
_galleries[galleryindex].thumbSuffix = " (Custom) (2).jpg";
_galleries[galleryindex].index = galleryindex;

_galleries[galleryindex].title = "Childrens' Rooms";
_galleries[galleryindex].subTitle = "";
_galleries[galleryindex].imageFiles = new Array("1.24.2004 037","6-8-05 002","6-8-05 026","Blizzard.01.05 015","Blizzard.01.05 017","DSC03437");
_galleries[galleryindex].imageTitles = new Array();


/* Gallery 4 */
galleryindex++;
_galleries[galleryindex] = new Object();
_galleries[galleryindex].parentFile = "thornbush.html";
_galleries[galleryindex].parentTitle = "Thornbush";
_galleries[galleryindex].imageDirectory = "images/thornbush";
_galleries[galleryindex].imagePrefix = "";
_galleries[galleryindex].imageSuffix = " (Custom).jpg";
_galleries[galleryindex].thumbSuffix = " (Custom) (2).jpg";
_galleries[galleryindex].index = galleryindex;

_galleries[galleryindex].title = "The Murals";
_galleries[galleryindex].subTitle = "";
_galleries[galleryindex].imageFiles = new Array("Murals and Pool.6-26-05 001","Murals and Pool.6-26-05 002","Murals and Pool.6-26-05 003","Murals and Pool.6-26-05 004","Murals and Pool.6-26-05 005","Murals and Pool.6-26-05 006","Murals and Pool.6-26-05 007","Murals and Pool.6-26-05 008","Murals and Pool.6-26-05 009","Murals and Pool.6-26-05 010","Murals and Pool.6-26-05 011","Murals and Pool.6-26-05 012","Murals and Pool.6-26-05 013","Murals and Pool.6-26-05 014","Murals and Pool.6-26-05 015","Murals and Pool.6-26-05 016","Murals and Pool.6-26-05 017","Murals and Pool.6-26-05 018");
_galleries[galleryindex].imageTitles = new Array();


