// 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/aegis-wireless-sytem.jpg", "http://www.summitsurgicaltech.com/aegis-wireless-system/aegis-wireless-monitoring-solution.html", "_new", "Aegis Monitoring Systems"],
		["/homepagebanner/images/harloff-cart.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=225_41_76&products_id=6198", "", "Harloff 3123 Start Cart Treatment for IV Epidural Procedures"],
		["/homepagebanner/images/UMF.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=223_250_251&products_id=6229", "", "UMF POSBO10 Physician Office Standard Starter Package"],
		["/homepagebanner/images/Summit-HomePageBanner1.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=226_9_46_10&products_id=66", "", ""],
		["/homepagebanner/images/Summit-HomePageBanner2.jpg", "http://www.summitsurgicaltech.com/index.php?main_page=product_info&cPath=1_121&products_id=1163", "", ""],
		["/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", "", ""]
		//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)
	}
})
