// JavaScript Document

var mygallery=new simpleGallery({
	wrapperid: "player", //ID of main gallery container,
	dimensions: [960, 250], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["http://www.shamaadance.co.uk/images/hdBanAbout.jpg", "about-kathak.php", "", ""],
		["http://www.shamaadance.co.uk/images/hdBanClasses.jpg", "kathak-classes.php", "", ""],
		["http://www.shamaadance.co.uk/images/hdBanProd.jpg", "dance-productions-performances.php", "", ""],
		["http://www.shamaadance.co.uk/images/hdBanGall.jpg", "dance-photos-gallery.php", "", ""],
		["http://www.shamaadance.co.uk/images/hdBanSushma.jpg", "sushma-mehta.php", "", ""],
		["http://www.shamaadance.co.uk/images/hdBanContact.jpg", "contact-us.php", "", ""]
	
	],
	autoplay: [true, 3000, 3], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1500, //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)
	}
})


