var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [217, 281], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["./images/headerslide/book1.jpg", "book.html", "_self", "Suppers of Many Dishes"],
		["./images/headerslide/book2.jpg", "book2.html", "_self", "Suppers of Many Dishes: Part I "],
		["./images/headerslide/book3.jpg", "book3.html", "_self", "Suppers of Many Dishes II: My Odyssey To The West And Beyond"],
		["./images/headerslide/book4.jpg", "book4.html", "_self", "THE GODS HAVE NOT YET SPOKEN"],
		["./images/headerslide/book5.jpg", "book5.html", "_self", "Taste Of The West"],
		["./images/headerslide/book6.jpg", "book6.html", "_self", "NATION OF DEAD PATRIOTS"],
		["./images/headerslide/book7.jpg", "book7.html", "_self", "COMING LATE TO AMERICA"],
		["./images/headerslide/book8.jpg", "book8.html", "_self", "BATURE"],
		["./images/headerslide/book9.jpg", "book9.html", "_self", "The Honorable"],
		["./images/headerslide/book10.jpg", "book10.html", "_self", "Earth's Man of Color: Earth's Man of Color"],
		["./images/headerslide/book11.jpg", "book11.html", "_self", "The Trial of Monogamy"],
		["./images/headerslide/book12.jpg", "book12.html", "_self", "Arranged Marriage and The Vanishing Roots"],
		["./images/headerslide/book13.jpg", "book13.html", "_self", "Soldier Ants of War"],
		["./images/headerslide/book14.jpg", "book14.html", "_self", "Konganoga: Mauling The Polity"],
		["./images/headerslide/book15.jpg", "book14.html", "_self", "Comedy of Naked Vampires"]

	],
	autoplay: [true, 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)
	}
})


