﻿//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] = ["gallery/thumb_100_0454.jpg", "Wooden sliding sun covers", "gallery/100_0454.jpg"]
myvacation[1] = ["gallery/thumb_100_0447.jpg", "Laser cut bar station", "gallery/100_0447.jpg"]
myvacation[2] = ["gallery/thumb_100_0443.jpg", "Laser cut bar counter", "gallery/100_0443.jpg"]
myvacation[3] = ["gallery/thumb_100_0440.jpg", "Wooden sliding door with steel frame", "gallery/100_0440.jpg"]
myvacation[4] = ["gallery/thumb_100_0437.jpg", "Swivel meeting room sun cover", "gallery/100_0437.jpg"]
myvacation[5] = ["gallery/thumb_100_0436.jpg", "Swivel meeting room sun cover", "gallery/100_0436.jpg"]
myvacation[6] = ["gallery/thumb_100_0403.jpg", "Wooden slidng sun covers", "gallery/100_0403.jpg"]
myvacation[7] = ["gallery/thumb_100_0373.jpg", "Wooden panel gate with steel frame", "gallery/100_0373.jpg"]
myvacation[8] = ["gallery/thumb_100_0269.JPG", "Wooden garden gate", "gallery/100_0269.JPG"]
myvacation[9] = ["gallery/thumb_100_0267.JPG", "Spanish bars", "gallery/100_0267.JPG"]
myvacation[10] = ["gallery/thumb_100_0261.JPG", "Wooden deck", "gallery/100_0261.JPG"]
myvacation[11] = ["gallery/thumb_100_0247.JPG", "Sliding wooden gate", "gallery/100_0247.JPG"]
myvacation[12] = ["gallery/thumb_100_0234.JPG", "Security gates in progress", "gallery/100_0234.JPG"]
myvacation[13] = ["gallery/thumb_100_0224.JPG", "Steel security gate", "gallery/100_0224.JPG"]
myvacation[14] = ["gallery/thumb_100_0223.JPG", "Designer steel security gate", "gallery/100_0223.JPG"]
myvacation[15] = ["gallery/thumb_100_0209.jpg", "Decorative sliding wooden gates", "gallery/100_0209.jpg"]
myvacation[16] = ["gallery/thumb_100_0190.jpg", "Fold back wooden door covers", "gallery/100_0190.jpg"]
myvacation[17] = ["gallery/thumb_100_0188.jpg", "Wooden security gate", "gallery/100_0188.jpg"]
myvacation[18] = ["gallery/thumb_100_0182.jpg", "Decorative sliding wooden gates", "gallery/100_0182.jpg"]
myvacation[19] = ["gallery/thumb_100_0178.jpg", "Wooden balustrades", "gallery/100_0178.jpg"]
myvacation[20] = ["gallery/thumb_100_0152_0001.jpg", "Designer steel balustrades", "gallery/100_0152_0001.jpg"]
myvacation[21] = ["gallery/thumb_100_0147.JPG", "Half moon balustrades", "gallery/100_0147.JPG"]
myvacation[22] = ["gallery/thumb_100_0146.JPG", "Designer balustrades", "gallery/100_0146.JPG"]
myvacation[23] = ["gallery/thumb_100_0141_0001.jpg", "Steel & wood combination balustrades", "gallery/100_0141_0001.jpg"]
myvacation[24] = ["gallery/thumb_100_0139.JPG", "Spiral stairs balustrades", "gallery/100_0139.JPG"]
myvacation[25] = ["gallery/thumb_100_0133_0001.jpg", "Balustrades", "gallery/100_0133_0001.jpg"]
myvacation[26] = ["gallery/thumb_100_0131_0001.jpg", "Balustrades", "gallery/100_0131_0001.jpg"]
myvacation[27] = ["gallery/thumb_100_0072.JPG", "Wooden staircase", "gallery/100_0072.JPG"]
myvacation[28] = ["gallery/thumb_100_0011.JPG", "Construction of a second floor", "gallery/100_0011.JPG"]
myvacation[29] = ["gallery/thumb_000_0074.JPG", "Ouside balustrades with scrolls", "gallery/000_0074.JPG"]
myvacation[30] = ["gallery/thumb_000_0013.JPG", "Designer steel security gate", "gallery/000_0013.JPG"]



//initiate a photo gallery
//Syntax: new photogallery(imagearray, cols, rows, tablewidth, tableheight, opt_[paginatetext_prefix, paginatetext_linkprefix])
var thepics = new photogallery(myvacation, 2, 3, '480px', '700px')

//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")
        showPopWin(link.href, 540, 430, null);
    return false //cancel default action when clicking on image, by returning false instead of true
}
