// SLIDESHOW SCRIPTS

// HOME - SLIDESHOW 1 //
<script type="text/javascript">

var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [617, 209], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["images/s1/feature-aboutus.png", "about.html", "_new", "All about Creative Fruits Design."],
["images/s1/feature-blog.png", "blog.html", "", "Read new blog entries here"],
["images/s1/feature-creative-services.png", "creative-services.html", "", "All about the creative services we offer"],
["images/s1/feature-translation.png", "translation.png", "", "Narny Boo Chang!"]
],
autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
persist: false, //remember last viewed slide and recall within same session?
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)
}
})

</script>
