function slideShow() {
	index = index + 1
	if (index >= imageDB.length) {
		index = index - 1
		playing = 0
	}

	// Change the image
	window.location.href = "./image.htm?" + index + "," + playing

	// Change the play text to stop
	slideShowControl.innerText="";
}


var title = "En dag i 1308 - katolsk messe"
var subTitle = "Det ble avholdt katolsk messe på latin."
var URL = "./thumbs.htm"
var rows = "150"
var columns = "6"


var thumbDB = new Array(
"./thumbs/t_01.jpg",
"./thumbs/t_02.jpg",
"./thumbs/t_03.jpg",
"./thumbs/t_04.jpg",
"./thumbs/t_05.jpg",
"./thumbs/t_06.jpg",
"./thumbs/t_07.jpg",
"./thumbs/t_08.jpg",
"./thumbs/t_09.jpg"
)


var imageDB = new Array(
"./image/01.jpg",
"./image/02.jpg",
"./image/03.jpg",
"./image/04.jpg",
"./image/05.jpg",
"./image/06.jpg",
"./image/07.jpg",
"./image/08.jpg",
"./image/09.jpg"
)



// infotekst til hver enkelt thumbnail
var thumbMetadataDB = new Array(
"1. ",
"2. ",
"3. ",
"4. ",
"5. ",
"6. ",
"7. ",
"8. ",
"9. "
)


// infotekst til hvert enkelt bilde
var imageMetadataDB = new Array(
"1. <br> 			 <br> foto: Lise Hamre",
"2. <br> 			 <br> foto: Lise Hamre",
"3. <br> 			 <br> foto: Lise Hamre",
"4. <br>			 <br> foto: Lise Hamre",
"5. <br>			 <br> foto: Lise Hamre",
"6. <br>			 <br> foto: Lise Hamre",
"7. <br> 			 <br> foto: Lise Hamre",
"8. <br>			 <br> foto: Lise Hamre",
"9. <br> 			 <br> foto: Lise Hamre"
)