// JavaScript Document
var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [760, 300], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["./img/slideshow/01_201101_1.jpg", "", "", "2011年 1月「越谷市役所表敬訪問」"],
		["./img/slideshow/02_201106_1.jpg", "", "", "2011年 6月「わんぱく相撲越谷場所」"],
		["./img/slideshow/03_201106_2.jpg", "", "", "2011年 6月「親学講座」"],
		["./img/slideshow/04_201108_1.jpg", "", "", "2011年 8月・9月「越谷JC青経塾セミナー」"],
		["./img/slideshow/05_201110_1.jpg", "", "", "2011年 10月「越谷市民まつり」"],
		["./img/slideshow/06_201110_2.jpg", "", "", "2011年 10月「埼玉ブロック協議会 第41回会員大会」"],
		["./img/slideshow/07_201110_3.jpg", "", "", "2011年 10月「もみの木の植樹・福島」"],
		["./img/slideshow/08_201111_1.jpg", "", "", "2011年 11月「きらめき相馬」"],
		["./img/slideshow/09_201111_2.jpg", "", "", "2011年 11月「OMOIYARIアイランド」"],
	],
	autoplay: [true, 3500, 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)
	}
})

