var loc_dimensions = [510, 60]
var loc_displaymode = {type:'manual', pause:0, cycles:0, wraparound:false}
var loc_persist = false
var loc_fadeduration = 3000
var loc_pause        = 4000
var loc_descreveal = "ondemand"
var loc_togglerid = ""

var loc = new Array()

loc[0]=new fadeSlideShow({
	wrapperid: "loc1",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_01.png", "", "", ""],
		["images/location/loc02_01.png", "", "", ""],
		["images/location/loc03_01.png", "", "", ""]],
/*		["images/location/loc04_01.png", "", "", ""],
		["images/location/loc05_01.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc1_toggler"
})

loc[1]=new fadeSlideShow({
	wrapperid: "loc2",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_02.png", "", "", ""],
		["images/location/loc02_02.png", "", "", ""],
		["images/location/loc03_02.png", "", "", ""]],
/*		["images/location/loc04_02.png", "", "", ""],
		["images/location/loc05_02.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc2_toggler"
})

loc[2]=new fadeSlideShow({
	wrapperid: "loc3",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_03.png", "", "", ""],
		["images/location/loc02_03.png", "", "", ""],
		["images/location/loc03_03.png", "", "", ""]],
/*		["images/location/loc04_03.png", "", "", ""],
		["images/location/loc05_03.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc3_toggler"
})

loc[3]=new fadeSlideShow({
	wrapperid: "loc4",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_04.png", "", "", ""],
		["images/location/loc02_04.png", "", "", ""],
		["images/location/loc03_04.png", "", "", ""]],
/*		["images/location/loc04_04.png", "", "", ""],
		["images/location/loc05_04.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc4_toggler"
})

loc[4]=new fadeSlideShow({
	wrapperid: "loc5",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_05.png", "", "", ""],
		["images/location/loc02_05.png", "", "", ""],
		["images/location/loc03_05.png", "", "", ""]],
	/*	["images/location/loc04_05.png", "", "", ""],
		["images/location/loc05_05.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc5_toggler"
})

loc[5]=new fadeSlideShow({
	wrapperid: "loc6",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_06.png", "", "", ""],
		["images/location/loc02_06.png", "", "", ""],
		["images/location/loc03_06.png", "", "", ""]],
/*		["images/location/loc04_06.png", "", "", ""],
		["images/location/loc05_06.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc6_toggler"
})

loc[6]=new fadeSlideShow({
	wrapperid: "loc7",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_07.png", "", "", ""],
		["images/location/loc02_07.png", "", "", ""],
		["images/location/loc03_07.png", "", "", ""]],
	/*	["images/location/loc04_07.png", "", "", ""],
		["images/location/loc05_07.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc7_toggler"
})

loc[7]=new fadeSlideShow({
	wrapperid: "loc8",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_08.png", "", "", ""],
		["images/location/loc02_08.png", "", "", ""],
		["images/location/loc03_08.png", "", "", ""]],
	/*	["images/location/loc04_08.png", "", "", ""],
		["images/location/loc05_08.png", "", "", ""]],*/
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc8_toggler"
})

loc[8]=new fadeSlideShow({
	wrapperid: "loc9",
	dimensions: loc_dimensions,
	imagearray: [
		["images/location/loc01_09.png", "", "", ""],
		["images/location/loc02_09.png", "", "", ""],
		["images/location/loc03_09.png", "", "", ""]],
/*		["images/location/loc04_09.png", "", "", ""],
		["images/location/loc05_09.png", "", "", ""]], */
	displaymode: loc_displaymode,
	persist: loc_persist,
	fadeduration: loc_fadeduration,
	descreveal: loc_descreveal,
	togglerid: "loc9_toggler"
})

function changeLoc() {
  for (i=0; i<loc.length; i++) {
    loc[i].navigate('next')
  }
  window.setTimeout("changeLoc()", loc_pause + loc_fadeduration )
}

window.setTimeout("changeLoc()", loc_pause + loc_fadeduration )
