var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [480, 360], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
["images/gallery/Hoppers.jpg", "", ""],["images/gallery/gallery-001.jpg", "", ""],["images/gallery/gallery-002.jpg", "", ""],["images/gallery/gallery-003.jpg", "", ""],["images/gallery/gallery-004.jpg", "", ""],["images/gallery/gallery-005.jpg", "", ""],["images/gallery/gallery-006.jpg", "", ""],["images/gallery/gallery-007.jpg", "", ""],["images/gallery/gallery-008.jpg", "", ""],["images/gallery/gallery-009.jpg", "", ""],["images/gallery/gallery-010.jpg", "", ""],["images/gallery/gallery-011.jpg", "", ""],["images/gallery/gallery-012.jpg", "", ""],["images/gallery/gallery-013.jpg", "", ""],["images/gallery/gallery-014.jpg", "", ""],["images/gallery/gallery-015.jpg", "", ""],["images/gallery/gallery-016.jpg", "", ""],["images/gallery/gallery-017.jpg", "", ""]		
	],
	autoplay: true,
	persist: false,
	pause: 3000, //pause between slides (milliseconds)
	fadeduration: 500, //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)
	}
})

