// JavaScript Document

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [277, 157], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["images/fashion-layout-thumb.jpg", "http://www.fusionboutique.co.uk/", "_blank"],
		["images/aryan-thumb-img.jpg", "http://www.aryanportfolio.com/", "_blank"],
		["images/london-theme-layout-img.jpg", "http://www.ltcollege.co.uk/", "_blank"],
		["images/as-layout-thumb-img.jpg", "http://www.arlingtonsolicitors.com/", "_blank"],
		["images/aspendos-thumb-layout.jpg", "http://www.aspendosgrill.com/", "_blank"],
		["images/cover-thumg-img.jpg", "http://www.cover-it-up.co.uk/", "_blank"],
		["images/db-layout-thumb-img.jpg", "http://www.dbelectric.co.uk/", "_blank"],
		["images/sharad-layout-thumb-img.jpg", "http://www.sharadsfinejewellers.co.uk/", "_blank"],
		["images/tiger-layout-thumb-img.jpg", "http://www.tigerwoks.co.uk/", "_blank"],
		["images/cts-layout-thumb-img.jpg", "http://www.ctsconsulting.net/", "_blank"],
		["images/mahavir-layout-thumb-img.jpg", "http://www.mahavirfoundation.org/", "_blank"],
		["images/kadiris-thumb-img.jpg", "http://www.kadiris.com/", "_blank"],
		["images/innov-layout-thumb-img.jpg", "http://www.innov-tech.com/", "_blank"],
		["images/vamser-layout-thumb-img.jpg", "http://www.vamser.com/", "_blank"],
		["images/vigipro-layout-thmub-img.jpg", "http://www.vigi-pro.com/", "_blank"]
	],
	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)
	}
})
