// JavaScript Document<script type="text/javascript">

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [896, 599], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["images/home/003.jpg","","",""],
		["images/home/019.jpg","","",""],
		["images/home/013.jpg","","",""],
		["images/home/028.jpg","","",""],
		["images/home/002.jpg","","",""],
		["images/home/022.jpg","","",""],
		["images/home/005.jpg","","",""],
		["images/home/021.jpg","","",""],
		["images/home/006.jpg","","",""],
		["images/home/020.jpg","","",""],
		["images/home/033.jpg","","",""],
		["images/home/032.jpg","","",""],
		["images/home/010.jpg","","",""],
		["images/home/011.jpg","","",""],
		["images/home/012.jpg","","",""],
		["images/home/036.jpg","","",""],
		["images/home/014.jpg","","",""],
		["images/home/015.jpg","","",""],
		["images/home/016.jpg","","",""],
		["images/home/017.jpg","","",""],
		["images/home/023.jpg","","",""],
		["images/home/024.jpg","","",""],
		["images/home/025.jpg","","",""],
		["images/home/026.jpg","","",""],
		["images/home/027.jpg","","",""],
     	["images/home/029.jpg","","",""],
		["images/home/030.jpg","","",""],
		["images/home/031.jpg","","",""],
		["images/home/032.jpg","","",""],
		["images/home/034.jpg","","",""],
		["images/home/035.jpg","","",""],
		["images/home/037.jpg","","",""]
		
		
	
	],
	autoplay: [true, 2500, 20], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //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)
	}
})


