﻿
    var mygallery2 = new simpleGallery({
        wrapperid: "simplegallery2", //ID of main gallery container,
        dimensions: [400, 267], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
        imagearray: [
		["_images/front/2009_001.jpg", "", "", ""],
		["_images/front/2009_010.jpg", "", "", ""],
		["_images/front/2009_014.jpg", "", "", ""],
		["_images/front/2009_022.jpg", "", "", ""],
		["_images/front/2009_025.jpg", "", "", ""],
		["_images/front/2009_031.jpg", "", "", ""],
		["_images/front/2009_043.jpg", "", "", ""],
		["_images/front/2009_063.jpg", "", "", ""],
		["_images/front/2009_073.jpg", "", "", ""],
		["_images/front/2009_080.jpg", "", "", ""],
		["_images/front/2009_090.jpg", "", "", ""],
		["_images/front/2009_186.jpg", "", "", ""]
	],
        autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
        persist: true,
        fadeduration: 1000, //transition duration (milliseconds)
        oninit: function() { //event that fires when gallery has initialized/ ready to run
        },
        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)
        }
    })
 
