// JavaScript Document
var mygallery=new simpleGallery({
 wrapperid: "simplegallery1", //ID of main gallery container,
 dimensions: [590, 300], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
 imagearray: [
// ["images/simplegallery/topslidephoto1.jpg", "http://en.wikipedia.org/wiki/Swimming_pool", "_new", "There's nothing like a nice swim in the Summer."],
		 ["new/images/simplegallery/topslidephotonew011.jpg", "#", "", "厳寒期に屈斜路湖に現れる御神渡り。盛り上がった氷が山脈のように連なる"],
		 ["new/images/simplegallery/topslidephotonew012.jpg", "", "", "夏とは違う表情を見せる雪化粧した美幌峠"],
		["new/images/simplegallery/topslidephotonew013.jpg", "#", "", "摩周の原野を迫力いっぱいに駆け抜けるＳＬ冬の湿原号"],
		["new/images/simplegallery/topslidephotonew014.jpg", "", "", "首を寄せ合う屈斜路コタンのハクチョウたち。温泉がお気に入りだ"],		
		["new/images/simplegallery/topslidephotonew015.jpg", "", "", "雪と氷に閉ざされた摩周湖。神秘の湖が見せる違う顔だ"]
 ],
 autoplay: [true, 5000, 10], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
 persist: false,
 preloadfirst:true, //v1.4 option on whether slideshow should only start after all images have preloaded
 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)
 }
})		
