var mygallery=new simpleGallery({
	wrapperid: "simplegallery", //ID of main gallery container,
	dimensions: [440, 359], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		//["images2/acts/philandaly.jpg", "", "_blank", "Phil and Aly"],
		["images2/acts/redhotchillis.jpg", "http://www.speyfest.com/programme/artist/RedHotChilliPipers", "_blank", ""],
		["http://farm5.staticflickr.com/4109/4948950999_1303ceaf05.jpg", "http://www.speyfest.com/programme/artist/RedHotChilliPipers", "_blank", ""],
		
		
		
		["images2/acts/wolfstone.jpg", "http://www.speyfest.com/programme/artist/wolfstone", "_blank", ""],
		["http://a2.ec-images.myspacecdn.com/images02/130/6da35ae4648c4b5e87ed64bbecdb8da2/l.jpg", "http://www.speyfest.com/programme/artist/wolfstone", "_blank", ""],
		["http://a2.ec-images.myspacecdn.com/images02/141/a50c39f63dcc42989eed564db971d48d/l.jpg", "http://www.speyfest.com/programme/artist/wolfstone", "_blank", ""],
		
        
		["images2/acts/philandaly1.jpg", "http://www.speyfest.com/programme/artist/philandaly", "_blank", ""],
		["http://farm7.staticflickr.com/6140/6201400697_a584a2a42a.jpg", "http://www.speyfest.com/programme/artist/philandaly", "_blank", ""],
        ["http://farm7.staticflickr.com/6167/6201411953_8893a9356c.jpg", "http://www.speyfest.com/programme/artist/philandaly", "_blank", ""],
		
		["images2/acts/heikkicalum.jpg", "http://www.speyfest.com/programme/artist/CalumStewartHeikkiBourgault", "_blank", ""],
		["images2/acts/heikkicalum_2.jpg", "http://www.speyfest.com/programme/artist/CalumStewartHeikkiBourgault", "_blank", ""],
        ["images2/acts/heikkicalum_3.jpg", "http://www.speyfest.com/programme/artist/CalumStewartHeikkiBourgault", "_blank", ""],
        
	 	
		["images2/acts/manran.jpg", "http://www.speyfest.com/programme/artist/manran", "_blank", ""],
		["images2/acts/manran1.jpg", "http://www.speyfest.com/programme/artist/manran", "_blank", ""],
        ["images2/acts/manran2.jpg", "http://www.speyfest.com/programme/artist/manran", "_blank", ""],
		
		["images2/acts/TillersFolly.jpg", "http://www.speyfest.com/programme/artist/TillersFolly", "_blank", ""],
		["images2/acts/TillersFolly1.jpg", "http://www.speyfest.com/programme/artist/TillersFolly", "_blank", ""],
        ["images2/acts/TillersFolly2.jpg", "http://www.speyfest.com/programme/artist/TillersFolly", "_blank", ""],
		
		["images2/acts/jaywalkers.jpg", "http://www.speyfest.com/programme/artist/jaywalkers", "_blank", ""],
		["images2/acts/jaywalkers_1.jpg", "http://www.speyfest.com/programme/artist/jaywalkers", "_blank", ""],
		
        ["images2/acts/cachd1.jpg", "http://www.speyfest.com/programme/artist/CachdAchCruaidh", "_blank", ""],
		
		["images2/acts/fochabersfiddlers.jpg", "http://www.speyfest.com/programme/artist/FochabersFiddlers", "_blank", ""]
		
	

	],
	autoplay: [true, 8000, 1000], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: true, //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)
	}
})



