var mygallery=new simpleGallery({
wrapperid: "topslide", //ギャラリーを表示する要素のID名。
dimensions: [880, 340], //画像の幅、高さ（単位：ピクセル）※画像の大きさを正確にこの数値に合わせる。
//▼画像へのURL,リンク先URL,新規ウインドウにするなら_new,コメント。
imagearray: [
["images/top_movie_value201202.jpg", "http://www.hanamasa.co.jp/value/index.html", "_new", ""],
["images/top_movie_nikunohi.jpg", "http://www.hanamasa.co.jp/campaign/index.html#1104180000", "_new", ""],
["images/top_movie_winter.jpg", "", "_new", ""]
//["images/top_movie_pb.jpg", "http://www.hanamasa.co.jp/value/index.html", "_new", ""],
//["images/top_movie_dincanto-chianti.jpg", "http://www.hanamasa.co.jp/products/index.html", "_new", ""],
//["images/top_movie_christmas2011.jpg", "", "_new", ""],
//["images/top_movie_stollen_w.jpg", "http://www.hanamasa.co.jp/value/index.html", "_new", ""],
//["images/top_movie_year-end_party.jpg", "", "_new", ""],
//["images/top_movie_party.jpg", "http://www.hanamasa.co.jp/value/index.html#december_value", "_new", ""],
//["images/top_movie_potesara-dancyu.jpg", "http://www.hanamasa.co.jp/products/index.html", "_new", ""],
//["images/top_movie_bbq.jpg", "http://www.hanamasa.co.jp/bbq/index.html?grid=TopPage_MaximumBanner", "_new", ""]
],
autoplay: [true, 6000, 99], //[自動再生のtrue/false, delay_btw_slide_millisec, cycles_before_stopping_int]
persist: false, //最後に表示したスライドを同じセッション内で覚えさせ、リコールさせるかどうか。
fadeduration: 1000, //フェードする移行時間 (ミリ秒)
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)
}
})


