/**
 * Initialize Gallery: Aircraft
 *
 * $Id: sg_aircraft_init.js 1428 2010-07-15 20:00:38Z Dave $
 */

var mygallery_aircraft=new simpleGallery({
    wrapperid: "sg_aircraft", //ID of main gallery container,
    dimensions: [360, 270], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
    imagearray: [ // "/images/gallery/slides/<name>.jpg", "<url>", "<target>", "<text>"], (no comma on last one)
        ["/gallery/thumbs/0201.jpg", "/showimage/aircraft/0201", "", ""],
        ["/gallery/thumbs/0202.jpg", "/showimage/aircraft/0202", "", ""],
        ["/gallery/thumbs/0203.jpg", "/showimage/aircraft/0203", "", ""],
        ["/gallery/thumbs/0204.jpg", "/showimage/aircraft/0204", "", ""],
        ["/gallery/thumbs/0205.jpg", "/showimage/aircraft/0205", "", ""],
        ["/gallery/thumbs/0206.jpg", "/showimage/aircraft/0206", "", ""],
        ["/gallery/thumbs/0207.jpg", "/showimage/aircraft/0207", "", ""],
        ["/gallery/thumbs/0208.jpg", "/showimage/aircraft/0208", "", ""],
        ["/gallery/thumbs/0209.jpg", "/showimage/aircraft/0209", "", ""],
        ["/gallery/thumbs/0210.jpg", "/showimage/aircraft/0210", "", ""],
        ["/gallery/thumbs/0211.jpg", "/showimage/aircraft/0211", "", ""],
        ["/gallery/thumbs/0212.jpg", "/showimage/aircraft/0212", "", ""],
        ["/gallery/thumbs/0213.jpg", "/showimage/aircraft/0213", "", ""],
        ["/gallery/thumbs/0214.jpg", "/showimage/aircraft/0214", "", ""],
        ["/gallery/thumbs/0215.jpg", "/showimage/aircraft/0215", "", ""],
        ["/gallery/thumbs/0216.jpg", "/showimage/aircraft/0216", "", ""],
        ["/gallery/thumbs/0217.jpg", "/showimage/aircraft/0217", "", ""],
        ["/gallery/thumbs/0218.jpg", "/showimage/aircraft/0218", "", ""],
        ["/gallery/thumbs/0219.jpg", "/showimage/aircraft/0219", "", ""],
        ["/gallery/thumbs/0220.jpg", "/showimage/aircraft/0220", "", ""]
    ],
    autoplay: [true, 3000, 10], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
    persist: true, //remember last viewed slide and recall within same session?
    fadeduration: 1000, //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)
    }
})
