/***********************************************

***********************************************/


var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [500, 300], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["http://farm4.static.flickr.com/3574/3382138569_58b161fe65.jpg?v=0", "", "", "Cultural activities by Sanjeevani"],
		["http://farm4.static.flickr.com/3454/3382136953_8ac03858c2.jpg?v=0", "", "", "Noted poet honered by Sanjeevani"],
		["http://farm4.static.flickr.com/3541/3382129571_f6b260a7f7.jpg?v=0", "", "", "Clean up Campaign"],
		["http://farm4.static.flickr.com/3435/3382131867_fb1e5edea1.jpg?v=0", "", "", "National Children Science Congress is on"],
		["http://farm4.static.flickr.com/3029/3382927010_29c2f9b5a1.jpg?v=0", "", "", "Apprecialtion Certificate under the programme Total Sanitation Campaign (TSC)"],
		["http://farm4.static.flickr.com/3616/3428430702_74b516cec2.jpg?v=0", "", "", "Main features of SWAp"],
		["http://farm4.static.flickr.com/3630/3427169729_ff626117a9.jpg?v=0", "", "", "Rural Women Empowerment"],
		["http://farm4.static.flickr.com/3545/3427555181_b59b20c8e3.jpg?v=0", "", "", ""],
		["http://farm4.static.flickr.com/3562/3427169727_47ff92a458.jpg?v=0", "", "", ""],
		["http://farm4.static.flickr.com/3349/3427561813_7fd8e49c79.jpg?v=0", "", "", ""],
		["http://farm4.static.flickr.com/3574/3428016614_42a1aedaea.jpg?v=0", "http://www.flickr.com/photos/sanjeevani/3428016614/", "new", "Documentation of SWAp Programme"]
		
	],
	autoplay: [false, 2500, 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)
	}
})

