$(document).ready(function() {
            var mygallery=new simpleGallery({
               wrapperid: "sg", /* ギャラリーを表示する要素のID名 */
               dimensions: [710, 175], /* 画像の幅、高さ（単位：ピクセル） */
               imagearray: [
                  /* [画像URL、リンク先URL、_new] */
                  ["http://pogobocco.com/rotator/header_img1.jpg","",""],
				  ["http://pogobocco.com/rotator/header_img2.gif","",""],
                  ["http://pogobocco.com/rotator/header_img3.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img4.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img5.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img6.jpg","",""],
				  ["http://pogobocco.com/rotator/header_img7.gif","",""],
                  ["http://pogobocco.com/rotator/header_img8.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img9.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img10.gif","",""],
                  ["http://pogobocco.com/rotator/header_img11.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img12.gif","",""],
                  ["http://pogobocco.com/rotator/header_img13.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img14.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img15.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img16.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img17.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img18.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img19.jpg","",""],
                  ["http://pogobocco.com/rotator/header_img20.jpg","",""]
               ],
               autoplay: true, /* 自動再生の有無 */
               persist: false,
               pause: 3200, /* スライドする間隔（ミリ秒） */
               fadeduration: 1600, /* フェードする移行時間（ミリ秒） */
               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)
               }
            })
         });

