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 = "Oslo middelalderfestival 2005"
var subTitle = "Draktfremvisning for publikum."
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",

"./thumbs/t_10.jpg",
"./thumbs/t_11.jpg",
"./thumbs/t_12.jpg",
"./thumbs/t_13.jpg",
"./thumbs/t_14.jpg",
"./thumbs/t_15.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",

"./image/10.jpg",
"./image/11.jpg",
"./image/12.jpg",
"./image/13.jpg",
"./image/14.jpg",
"./image/15.jpg"
)



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

"10. ",
"11. ",
"12. ",
"13. ",
"14. ",
"15. "
)


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

"10. <br> 			 <br> foto: Vegard Vike",
"11. <br> 			 <br> foto: Vegard Vike",
"12. <br> 			 <br> foto: Vegard Vike",
"13. <br> 			 <br> foto: Vegard Vike",
"14. <br> 			 <br> foto: Vegard Vike",
"15. <br> 			 <br> foto: Vegard Vike"
)