//Define your own array to hold the photo album images
//Syntax: ["path_to_thumbnail", "opt_image_title", "opt_destinationurl", "opt_linktarget"]

var bobpic=new Array()
bobpic[0]=["images/passengers/david_geers/david_geers12_sm.jpg", "David Geers - 2004", "passenger_gallery_david_geers.htm"]
bobpic[1]=["images/passengers/Lynette Ross/lynette_ross9_sm.jpg", "Lynette Ross - 2006", "passenger_gallery_lynette_ross.htm"]
bobpic[2]=["images/passengers/ross_tancred/ross_tancred_sm.jpg", "Ross Tancred - 2006", "passenger_gallery_ross_tancred.htm"]
bobpic[3]=["images/misc/misc1_sm.jpg", "Miscellaneous", "photo_gallery_misc.htm"]

//initiate a photo gallery
//Syntax: new photogallery(imagearray, cols, rows, tablewidth, tableheight, opt_[paginatetext_prefix, paginatetext_linkprefix])

var thepics=new photogallery(bobpic, 3, 2, '450px', '275px', ['Browse Gallery:', ''])
//OPTIONAL: Run custom code when an image is clicked on, via "onselectphoto"
//DELETE everything below to disable
//Syntax: function(img, link){}, whereby img points to the image object of the image, and link, its link object, if defined
thepics.onselectphoto=function(img, link){
if (link!=null) //if this image is hyperlinked
window.open(link.href, "", "width=1024, height=768, status=1, resizable=1")
return false //cancel default action when clicking on image, by returning false instead of true
}
