﻿var mygallery = new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [860, 123], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [
		["/images/banner/1.JPG", "", "", ""],
		["/images/banner/2.JPG", "", "", ""],
		["/images/banner/3.JPG", "", "", ""],
        ["/images/banner/4.JPG", "", "", ""],
        ["/images/banner/5.JPG", "", "", ""]
    //<--no trailing comma after very last image element!
	],
    displaymode: { type: 'auto', pause: 1500, cycles: 0, wraparound: false },
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 500, //transition duration (milliseconds)
    descreveal: "ondemand",
    togglerid: ""
})



function changeImage(buton, resim) {
    document.images[buton].src = resim;

    return true;
}
