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 - testskyting med bue"
var subTitle = "Testskyting mot panser (tekstilrusning) og brynje med naglede ringer. Panseret bestod av ca 20 lag stoff. Buen var på 105 pund med 30 tommers trekklengde og pilene var av ask. "
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"
)


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"
)



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


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