// JavaScript Document
/// slide shows for locations


if (document.getElementById("MissionCreek")) {
var splashslideshow=new fadeSlideShow({
	wrapperid: "optionalslides", //ID of blank DIV on page to house Slideshow
	dimensions: [588, 392], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/MissionCreek/slideshow_images/slide001.jpg"],
		["images/MissionCreek/slideshow_images/slide002.jpg"],
		["images/MissionCreek/slideshow_images/slide003.jpg"],
		["images/MissionCreek/slideshow_images/slide004.jpg"],
		["images/MissionCreek/slideshow_images/slide005.jpg"],
		["images/MissionCreek/slideshow_images/slide006.jpg"]
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: "slideshowtoggler"
})
}


if (document.getElementById("Mabini")) {
var splashslideshow=new fadeSlideShow({
	wrapperid: "optionalslides", //ID of blank DIV on page to house Slideshow
	dimensions: [588, 392], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/Mabini/slideshow_images/slide001.jpg"],
		["images/Mabini/slideshow_images/slide002.jpg"],
		["images/Mabini/slideshow_images/slide003.jpg"],
		["images/Mabini/slideshow_images/slide004.jpg"],
		["images/Mabini/slideshow_images/slide005.jpg"],
		["images/Mabini/slideshow_images/slide006.jpg"]
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: "slideshowtoggler"
})
}

if (document.getElementById("GoldenGate")) {
var splashslideshow=new fadeSlideShow({
	wrapperid: "optionalslides", //ID of blank DIV on page to house Slideshow
	dimensions: [588, 392], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/GoldenGate/slideshow_images/slide001.jpg"],
		["images/GoldenGate/slideshow_images/slide002.jpg"],
		["images/GoldenGate/slideshow_images/slide003.jpg"],
		["images/GoldenGate/slideshow_images/slide004.jpg"],
		["images/GoldenGate/slideshow_images/slide005.jpg"]
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: "slideshowtoggler"
})
}


if (document.getElementById("Presentation")) {
var splashslideshow=new fadeSlideShow({
	wrapperid: "optionalslides", //ID of blank DIV on page to house Slideshow
	dimensions: [588, 392], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/Presentation/slideshow_images/slide001.jpg"],
		["images/Presentation/slideshow_images/slide002.jpg"],
		["images/Presentation/slideshow_images/slide003.jpg"],
		["images/Presentation/slideshow_images/slide004.jpg"],
		["images/Presentation/slideshow_images/slide005.jpg"],
		["images/Presentation/slideshow_images/slide006.jpg"]
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: "slideshowtoggler"
})
}

