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 - matlaging"
var subTitle = "Det foregikk mye matlaging iløpe av dagen. Både mat til publikum, og en større festmiddag for deltagerne mot slutten av dagen."
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",
"./thumbs/t_16.jpg",
"./thumbs/t_17.jpg",
"./thumbs/t_18.jpg",
"./thumbs/t_19.jpg",

"./thumbs/t_20.jpg",
"./thumbs/t_21.jpg",
"./thumbs/t_22.jpg",
"./thumbs/t_23.jpg",
"./thumbs/t_24.jpg",
"./thumbs/t_25.jpg",
"./thumbs/t_26.jpg",
"./thumbs/t_27.jpg",
"./thumbs/t_28.jpg",
"./thumbs/t_29.jpg",

"./thumbs/t_30.jpg",
"./thumbs/t_31.jpg",
"./thumbs/t_32.jpg",
"./thumbs/t_33.jpg",
"./thumbs/t_34.jpg",
"./thumbs/t_35.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",
"./image/16.jpg",
"./image/17.jpg",
"./image/18.jpg",
"./image/19.jpg",

"./image/20.jpg",
"./image/21.jpg",
"./image/22.jpg",
"./image/23.jpg",
"./image/24.jpg",
"./image/25.jpg",
"./image/26.jpg",
"./image/27.jpg",
"./image/28.jpg",
"./image/29.jpg",

"./image/30.jpg",
"./image/31.jpg",
"./image/32.jpg",
"./image/33.jpg",
"./image/34.jpg",
"./image/35.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. ",
"16. ",
"17. ",
"18. ",
"19. ",

"20. ",
"21. ",
"22. ",
"23. ",
"24. ",
"25. ",
"26. ",
"27. ",
"28. ",
"29. ",

"30. ",
"31. ",
"32. ",
"33. ",
"34. ",
"35. "
)


// 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: Henrik_Mehl",
"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",

"10. <br> 			 <br> foto: Reidunn Bratteteig",
"11. <br> 			 <br> foto: Lise Hamre",
"12. <br> 			 <br> foto: Lise Hamre",
"13. <br> 			 <br> foto: Lise Hamre",
"14. <br> 			 <br> foto: Lise Hamre",
"15. <br> 			 <br> foto: Per Nikolai Haukeland",
"16. <br> 			 <br> foto: Per Nikolai Haukeland",
"17. <br> 			 <br> foto: Lise Hamre",
"18. <br> 			 <br> foto: Per Nikolai Haukeland",
"19. <br> 			 <br> foto: Lise Hamre",

"20. <br> 			 <br> foto: Lise Hamre",
"21. <br> 			 <br> foto: Lise Hamre",
"22. <br> 			 <br> foto: Lise Hamre",
"23. <br> 			 <br> foto: Per Nikolai Haukeland",
"24. <br> 			 <br> foto: Stig Marlon Weston",
"25. <br> 			 <br> foto: Per Nikolai Haukeland",
"26. <br> 			 <br> foto: Lise Hamre",
"27. <br> 			 <br> foto: Per Nikolai Haukeland",
"28. <br> 			 <br> foto: Reidunn Bratteteig",
"29. <br> 			 <br> foto: Per Nikolai Haukeland",

"30. <br> 			 <br> foto: Lise Hamre",
"31. <br> 			 <br> foto: Lise Hamre",
"32. <br> 			 <br> foto: Per Nikolai Haukeland",
"33. <br> 			 <br> foto: Lise Hamre",
"34. <br> 			 <br> foto: Lise Hamre",
"35. <br> 			 <br> foto: Reidunn Bratteteig"
)