

//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/freddo/freddo_sm.jpg", "Freddo", "freddo.htm"]
bobpic[1]=["images/views/views15_sm.jpg", "City Views", "photo_gallery_views.htm"]
bobpic[2]=["images/views/views20_sm.jpg", "More City Views", "photo_gallery_views2.htm"]
bobpic[3]=["images/sirromet/sirromet1_sm.jpg", "Sirromet Balloon", "sirromet_balloon.htm"]
bobpic[4]=["images/checkedballoon/checked_sm.jpg", "Check Balloon", "checked_balloon.htm"]
bobpic[5]=["images/andrews_balloon/andrew_sm.jpg", "Andrew's Balloon", "andrew_balloon.htm"]
bobpic[6]=["images/setup_launch/setup_launch15_sm.jpg", "Setup & Launch", "setup_launch.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, '475px', '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
}


