// JavaScript Document
var mygallery=new simpleGallery({
	wrapperid: "slide", //ID of main gallery container,
	dimensions: [690, 290], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["./gallery/topmain-banner1.jpg", "http://www.shortshorts.org/2010/tabi/heavens_island/", "_new", ""],
		["./gallery/topmain-banner2.jpg", "http://www.brillia-sst.jp/", "_new", ""],
		["./gallery/topmain-banner3.jpg", "http://www.shortshorts.org/2010/bijo/index.html", "_new", ""],
		["./gallery/topmain-banner4.jpg", "http://twitter.com/s_s_f_f/", "_new", ""],
		["./gallery/topmain-banner5.jpg", "http://mixi.jp/view_community.pl?id=935609", "_new", ""],
		["./gallery/topmain-banner-rococo.jpg", "http://www.shortshorts.org/2010/mister_rococo/", "_new", ""],
		["./gallery/topmain-banner-yucky.jpg", "http://www.shortshorts.org/2010/yucky/", "_new", ""],
		["./gallery/topmain-banner-metoo.jpg", "http://www.shortshorts.org/2010/metoo/", "_new", ""],
		["./gallery/topmain-banner-app.jpg", "http://www.shortshorts.org/app/", "_new", ""],
		["./gallery/topmain-banner-entry.jpg", "http://www.shortshorts.org/2011_call_for_entry/", "_new", ""],
		["./gallery/topmain-banner-online.jpg", "http://ssffonline.jp/ssff/index.html", "_new", ""],
		["./gallery/topmain-banner-pad.jpg", "http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=375327743&mt=8", "_new", ""],
		["./gallery/topmain-banner-jk.jpg", "http://www.shortshorts.org/japankorea/", "_new", ""]
	],
	autoplay: [true, 6000, 20], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: true,
	fadeduration: 500, //transition duration (milliseconds)
	oninit:function(){ //event that fires when gallery has initialized/ ready to run
	},
	onslide:function(curslide, i){ //event that fires after each slide is shown
		//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)
	}
})

