// JavaScript Document

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [522, 187], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["/homepagebanner/images/Summit-HomePageBanner1.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=226_9_46_10&products_id=66&zenid=14ns2vo66ae1u0e43a99rci2c6", "", ""],
		["/homepagebanner/images/Summit-HomePageBanner2.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=1_121&products_id=1163&zenid=abtqs6qofan6nsnaiuqlesqll4", "", ""],
		["/homepagebanner/images/Summit-HomePageBanner3.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=index&manufacturers_id=4", "", ""],
		["/homepagebanner/images/Summit-HomePageBanner4.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=index&cPath=224", "", ""],
		["/homepagebanner/images/Summit-HomePageBanner5.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=223_250_253&products_id=3365&zenid=14ns2vo66ae1u0e43a99rci2c6", "", ""]
		//BELOW IS AN EXAMPLE OF ALL POSSIBLE OPTIONS FOR BANNER ADVERTISMENTS.
		//["IMAGE URL HERE", "HYPER LINK HERE", "NEW WINDOW OR NOT TARGET="_NEW"", "DESCRIPTION HERE"],
	],
	autoplay: [true, 3000, 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)
	}
})