var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [500, 375], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	// The next section is the only section you need to update.  You can just copy & paste a line to insert a new photo wherever you want it.
	// The first part is the name of the file (complete with path), 2nd is an optional link, 3rd is an optional link target, the last section is the caption you want to display
        // NB the last image does NOT have a comma following the line

	imagearray: [
		["images/slideshow/1.jpg", "", "", "Potter's Brewery"],
		["images/slideshow/2.jpg", "", "", "Hunter Beer Co"],
		["images/slideshow/3.jpg", "", "", "Head Brewer - Keith Grice"],
		["images/slideshow/4.jpg", "", "", "Brewer - Jess"],
		["images/slideshow/6.jpg", "", "", "Brewery"],
		["images/slideshow/7.jpg", "", "", "Hops"]	,	
		["images/slideshow/8.jpg", "", "", "Brewery"],		
		["images/slideshow/9.jpg", "", "", "Motto to live by"],		
		["images/slideshow/10.jpg", "", "", "St Patrick's Day"],		
		["images/slideshow/11.jpg", "", "", "Vistors enjoying the brewery"],		
		["images/slideshow/12.jpg", "", "", "Vistors enjoying the brewery"],		
		["images/slideshow/13.jpg", "", "", "Vistors enjoying the brewery"],		
		["images/slideshow/14.jpg", "", "", "Vistors enjoying the brewery"],		
		["images/slideshow/15.jpg", "", "", "Vistors enjoying the brewery"]		
	],
	// stop editing now
	autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	oninit:function(){ //event that fires when gallery has initialized/ ready to run
		//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
	},
	onslide:function(curslide, i){ //event that fires after each slide is shown
		//Keyword "this": references current gallery instance
		//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)
	}
})

