var mygallery2=new simpleGallery({
	wrapperid: "simplegallery2", //ID of main gallery container,
	dimensions: [600, 351], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
				  ["images/22d.jpg", "", "", "Contemporary glass handles for kitchen cabinets and wall cupboards"],
				   ["slide/1.jpg", "", "", "Glass Handles"],
                ["slide/2.jpg", "", "", "Glass Artwork"],
                ["slide/3.jpg", "", "", "Glass Artwork"],
		["images/1.jpg", "", "", "Beautiful fused glass - can be used in artwork for your walls - on canvas or perspex"],
        ["slide/4.jpg", "", "", "Glass Artwork"],
		["images/2.jpg", "", "", "Dichroic glass used to stunning effect in this bracelet"],
        ["slide/5.jpg", "", "", "Glass Artwork"],
		["slide/6.jpg", "", "", "Glass Artwork"],
                ["images/5.jpg", "", "", "Items such as these for cufflinks, pendants and bracelets"], 
                ["slide/7.jpg", "", "", "Glass Artwork"], 
                ["slide/8.jpg", "", "", "Glass Artwork"],
                 ["slide/9.jpg", "", "", "Glass Artwork"],
                 ["slide/10.jpg", "", "", "Glass Artwork"],
                  ["slide/12.jpg", "", "", "Glass Artwork"],
                  ["slide/13.jpg", "", "", "Glass Plate"],
                   ["slide/14.jpg", "", "", "Tiptoe Image"],
                   ["slide/15.jpg", "", "", "Glass Vase"],
                 ["slide/11.jpg", "", "", "Glass Artwork"]
                                                     
	],
	autoplay: [false, 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)
	}
})

