
//Define your own array to hold the photo album images
//Syntax: ["path_to_thumbnail", "opt_image_title", "opt_destinationurl", "opt_linktarget"]

var myvacation=new Array()
myvacation[0]=["kep/Eri1K.JPG", "", "kep/Eri1.JPG"]
myvacation[1]=["kep/Eri2K.JPG", "", "kep/Eri2.JPG"]
myvacation[2]=["kep/Eri3K.JPG", "", "kep/Eri3.JPG"]
myvacation[3]=["kep/Eri4K.JPG", "", "kep/Eri4.JPG"]
myvacation[4]=["kep/Eri5K.JPG", "", "kep/Eri5.JPG", ""]
myvacation[5]=["kep/Eri6K.JPG", "", "kep/Eri6.JPG"]
myvacation[6]=["kep/Eri7K.JPG", "", "kep/Eri7.JPG"]

//initiate a photo gallery
//Syntax: new photogallery(imagearray, cols, rows, tablewidth, tableheight, opt_[paginatetext_prefix, paginatetext_linkprefix])
var thepics=new photogallery(myvacation, 3, 1, '700px', '200px');

//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=800, height=600, status=1, resizable=1")
return false //cancel default action when clicking on image, by returning false instead of true
}

