//rswe  Hier können Bilder hinzugefügt, Zeitwerte verändert etc. werden! 

var mygallery=new simpleGallery({
    wrapperid: "HEADER-GALLERY", //ID of main gallery container,
    dimensions: [768, 245], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
    imagearray: [
    ["http://www.backhaus-laquai.de/cms/upload/picture/startseite/picture_startseite_01.jpg"],
    ["http://www.backhaus-laquai.de/cms/upload/picture/startseite/picture_startseite_03.jpg"],
    ["http://www.backhaus-laquai.de/cms/upload/picture/startseite/picture_startseite_02.jpg"],
    ["http://www.backhaus-laquai.de/cms/upload/picture/startseite/picture_startseite_04.jpg"]
    ],
    autoplay: true,
    persist: false,
    pause: 4000, //pause between slides (milliseconds)
    fadeduration: 2000, //transition duration (milliseconds)
    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)
    }
})


var simpleGallery_navpanel={
    panel: {height:'45px', opacity:0.4, paddingTop:'10px', fontStyle:'bold 11px Verdana'}, //customize nav panel container
    images: [ 'upload/buttons/left.gif', 'upload/buttons/play.gif', 'upload/buttons/right.gif', 'upload/buttons/pause.gif'], //nav panel images (in that order)
    imageSpacing: {offsetTop:[5, 0, 5], spacing:10}, //top offset of left, play, and right images, PLUS spacing between the 3 images
    slideduration: 500 //duration of slide up animation to reveal panel
}

