	var mygallery=new simpleGallery({
 wrapperid: "gallery", //ID of main gallery container,
 dimensions: [630, 275], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
 imagearray: [
  ["/v2images/kissing.JPG", "/relationships-and-hot-topics/", "", '<div style="padding:10px;">Relationships and Hot Topics: Find out how to spice up your bedroom and make your man go wild! Read about topics that most don\'t dare to touch!</div>'],
  ["/v2images/girlundercovers.JPG", "/categories/12/reviews/", "", '<div style="padding:10px;"> Lingerie Reviews: See what lingerie ranks well and where you can find it online. Lingerie reviews also compare prices and point out small details you might miss. </div>'],
  ["/v2images/panties.jpg", "/lingerie-tips-tricks/", "", '<div style="padding:10px;"> Tips and Tricks: Get to know lingerie a little bit better as well as get tips on sizing, what lingerie works best for your body and more. You will also find articles about current and upcoming sales you can\'t miss!</div>']
 ],
 autoplay: [true, 2500, 2], //[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
  //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)
 }
})