// JavaScript Document 
var mygallery=new simpleGallery({
        wrapperid: "simplegallery3", //ID of main gallery container,
        dimensions: [330, 260], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
        imagearray: [
                ["images/dehexenizer-tower.jpg", "http://www.ramsaygroup.com", "_new"],
                ["images/specialized-metals/slidespecial/ship-loader-conveyor-system.jpg", "http://www.ramsaygroup.com", " "],
				["images/tower-loading.jpg", "http://www.ramsaygroup.com", " "],
                ["images/ramsay-machine-shop.jpg", "http://www.ramsaygroup.com", ""],
				["images/bridges/brslide/trestle-tracks.jpg", "http://www.ramsaygroup.com", ""],
				["images/barge-loading/locationslide/machining-pedelstals.jpg", "http://www.ramsaygroup.com", ""],
                ["images/ramsay-re-build.jpg", "http://www.ramsaygroup.com", ""],
                ["images/frac-tank/ftsl/fractank3.jpg", "http://www.ramsaygroup.com", ""]
        ],
        autoplay: [true, 5000, 3], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
        persist: true,
        fadeduration: 2500, //transition duration (milliseconds)
        onslide:function(curslide, i){ //event that fires after each slide is shown
                //curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
                //i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
        }
})


