

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

var portfolio=new Array()
portfolio[0]=["images/websites/web1.jpg", "Amy Brzoznowski", "http://www.amyzartup.com", "_new"]
portfolio[1]=["images/websites/web2.jpg", "Westphal's Inc.", "http://www.westphalsinc.com", "_new"]
portfolio[2]=["images/websites/web3.jpg", "Bates Township", "http://www.batestownship.com", "_new"]
portfolio[3]=["images/websites/web4.jpg", "U.P. Pro Rodeo", "http://www.upprorodeo.com", "_new"]
portfolio[4]=["images/websites/web5.jpg", "City of Iron River", "http://www.ironriver.org", "_new"]
portfolio[5]=["images/websites/web7.jpg", "Iron County Reporter", "http://www.ironcountyreporter.com", "_new"]
portfolio[6]=["images/websites/web13.jpg", "City of Caspian", "http://www.caspiancity.org", "_new"]
portfolio[7]=["images/websites/web8.jpg", "Kermit's Pizza Pub and Grill", "http://www.kermitspub.com", "_new"]
portfolio[8]=["images/websites/web9.jpg", "West Iron County Public Schools", "http://www.westiron.org", "_new"]
portfolio[9]=["images/websites/web10.jpg", "Bigari Ace Hardware", "http://www.bigariace.com", "_new"]
portfolio[10]=["images/websites/web11.jpg", "Christensen's Custom Woodworking and Cabinetry", "http://www.christensenscwc.com", "_new"]
portfolio[11]=["images/websites/web12.jpg", "Lovin' Country Band", "http://www.lovincountryband.com", "_new"]

//initiate a photo gallery
//Syntax: new photogallery(imagearray, cols, rows, tablewidth, tableheight, opt_[paginatetext_prefix, paginatetext_linkprefix])
var thepics=new photogallery(portfolio, 2, 3, '650px', '800px')

//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)
return false //cancel default action when clicking on image, by returning false instead of true
}