		

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [919, 314], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["images/slide/1.jpg"],
		["images/slide/2.jpg"],
		["images/slide/3.jpg"],
		["images/slide/4.jpg"],
		["images/slide/5.jpg"],
		["images/slide/6.jpg"],
		["images/slide/7.jpg"],
		["images/slide/8.jpg"],
		["images/slide/9.jpg"],
		["images/slide/10.jpg"],
		["images/slide/11.jpg"],
		["images/slide/12.jpg"],
		["images/slide/13.jpg"],
		["images/slide/14.jpg"],
		["images/slide/15.jpg"],
		["images/slide/16.jpg"],
		["images/slide/17.jpg"],
		["images/slide/18.jpg"]
	
	],
	
	
	autoplay: true,
	persist: false,
	pause: 2500, //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)
	}
})
