var mygallery=new simpleGallery({
	wrapperid: "fencing_gallery", //ID of main gallery container,
	dimensions: [430, 500], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		[img_folder +"fencing_gate_side_view.jpg", "", "", "Marcher fencing works with any size of fence post, round or square."],
		[img_folder +"fence_uses.jpg", "", "", "Semi engineered design is more versatile than other post & rail fencing."],
		[img_folder +"long_field_fencing.jpg", "", "", "Prices are comparable to that of other post & rail systems"],
		[img_folder +"fence_around_tree.jpg", "", "", "Marcher fencing easily fits to corners and uneven ground height."],
		[img_folder +"fencing_and_stile.jpg", "", "", "The components are the same regardless of the number of rails used."],
		[img_folder +"sheep_fencing.jpg", "", "", "Verstile fixings do not require perfectly straight or square rails."], //new
		[img_folder +"fencing_up_hill.jpg", "", "", "Symmetrical design means that the appearance is identical on both sides"], //new
		[img_folder +"fencing_in_sun.jpg", "", "", "Attractive riven appearance."]
	],
	autoplay: [true, 4000,999999], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 800, //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)
	}
});


