function foto1(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
}
function foto1a(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
}
function foto1b(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
}
function foto1c(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
}
function foto1d(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
}
function foto1e(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto1f(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto1g(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto1h(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto1i(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto1j(){
		hodnota=pole[0]
		document.foto.src="../images/"+pole[0]+".jpg"
		document.getElementById('afoto1').style.color="red"
		document.getElementById('afoto1').style.textDecoration = "none"
		document.getElementById('afoto1').style.cursor = "default"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto2(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
}
function foto2a(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
}
function foto2b(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
}
function foto2c(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
}
function foto2d(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
}
function foto2e(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto2f(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto2g(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto2h(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto2i(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto2j(){
		hodnota=pole[1]
		document.foto.src="../images/"+pole[1]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="red"
		document.getElementById('afoto2').style.textDecoration = "none"
		document.getElementById('afoto2').style.cursor = "default"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto3a(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
}
function foto3b(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
}
function foto3c(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
}
function foto3d(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
}
function foto3e(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto3f(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto3g(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto3h(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto3i(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto3j(){
		hodnota=pole[2]
		document.foto.src="../images/"+pole[2]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="red"
		document.getElementById('afoto3').style.textDecoration = "none"
		document.getElementById('afoto3').style.cursor = "default"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto4b(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
}
function foto4c(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
}
function foto4d(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
}
function foto4e(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto4f(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto4g(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto4h(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto4i(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto4j(){
		hodnota=pole[3]
		document.foto.src="../images/"+pole[3]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="red"
		document.getElementById('afoto4').style.textDecoration = "none"
		document.getElementById('afoto4').style.cursor = "default"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto5c(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
}
function foto5d(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
}
function foto5e(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto5f(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto5g(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto5h(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto5i(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto5j(){
		hodnota=pole[4]
		document.foto.src="../images/"+pole[4]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="red"
		document.getElementById('afoto5').style.textDecoration = "none"
		document.getElementById('afoto5').style.cursor = "default"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto6d(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
}
function foto6e(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
}
function foto6f(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto6g(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto6h(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto6i(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto6j(){
		hodnota=pole[5]
		document.foto.src="../images/"+pole[5]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="red"
		document.getElementById('afoto6').style.textDecoration = "none"
		document.getElementById('afoto6').style.cursor = "default"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto7e(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
}
function foto7f(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
}
function foto7g(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto7h(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto7i(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto7j(){
		hodnota=pole[6]
		document.foto.src="../images/"+pole[6]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="red"
		document.getElementById('afoto7').style.textDecoration = "none"
		document.getElementById('afoto7').style.cursor = "default"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto8f(){
		hodnota=pole[7]
		document.foto.src="../images/"+pole[7]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="red"
		document.getElementById('afoto8').style.textDecoration = "none"
		document.getElementById('afoto8').style.cursor = "default"
}
function foto8g(){
		hodnota=pole[7]
		document.foto.src="../images/"+pole[7]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="red"
		document.getElementById('afoto8').style.textDecoration = "none"
		document.getElementById('afoto8').style.cursor = "default"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
}
function foto8h(){
		hodnota=pole[7]
		document.foto.src="../images/"+pole[7]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="red"
		document.getElementById('afoto8').style.textDecoration = "none"
		document.getElementById('afoto8').style.cursor = "default"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto8i(){
		hodnota=pole[7]
		document.foto.src="../images/"+pole[7]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="red"
		document.getElementById('afoto8').style.textDecoration = "none"
		document.getElementById('afoto8').style.cursor = "default"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto8j(){
		hodnota=pole[7]
		document.foto.src="../images/"+pole[7]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="red"
		document.getElementById('afoto8').style.textDecoration = "none"
		document.getElementById('afoto8').style.cursor = "default"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto9g(){
		hodnota=pole[8]
		document.foto.src="../images/"+pole[8]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="red"
		document.getElementById('afoto9').style.textDecoration = "none"
		document.getElementById('afoto9').style.cursor = "default"
}
function foto9h(){
		hodnota=pole[8]
		document.foto.src="../images/"+pole[8]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="red"
		document.getElementById('afoto9').style.textDecoration = "none"
		document.getElementById('afoto9').style.cursor = "default"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
}
function foto9i(){
		hodnota=pole[8]
		document.foto.src="../images/"+pole[8]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="red"
		document.getElementById('afoto9').style.textDecoration = "none"
		document.getElementById('afoto9').style.cursor = "default"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto9j(){
		hodnota=pole[8]
		document.foto.src="../images/"+pole[8]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="red"
		document.getElementById('afoto9').style.textDecoration = "none"
		document.getElementById('afoto9').style.cursor = "default"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto10h(){
		hodnota=pole[9]
		document.foto.src="../images/"+pole[9]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="red"
		document.getElementById('afoto10').style.textDecoration = "none"
		document.getElementById('afoto10').style.cursor = "default"
}
function foto10i(){
		hodnota=pole[9]
		document.foto.src="../images/"+pole[9]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="red"
		document.getElementById('afoto10').style.textDecoration = "none"
		document.getElementById('afoto10').style.cursor = "default"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
}
function foto10j(){
		hodnota=pole[9]
		document.foto.src="../images/"+pole[9]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="red"
		document.getElementById('afoto10').style.textDecoration = "none"
		document.getElementById('afoto10').style.cursor = "default"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto11i(){
		hodnota=pole[10]
		document.foto.src="../images/"+pole[10]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="red"
		document.getElementById('afoto11').style.textDecoration = "none"
		document.getElementById('afoto11').style.cursor = "default"
}
function foto11j(){
		hodnota=pole[10]
		document.foto.src="../images/"+pole[10]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="red"
		document.getElementById('afoto11').style.textDecoration = "none"
		document.getElementById('afoto11').style.cursor = "default"
		document.getElementById('afoto12').style.color="white"
		document.getElementById('afoto12').style.textDecoration = "underline"
		document.getElementById('afoto12').style.cursor = "pointer"
}
function foto12j(){
		hodnota=pole[11]
		document.foto.src="../images/"+pole[11]+".jpg"
		document.getElementById('afoto1').style.color="white"
		document.getElementById('afoto1').style.textDecoration = "underline"
		document.getElementById('afoto1').style.cursor = "pointer"
		document.getElementById('afoto2').style.color="white"
		document.getElementById('afoto2').style.textDecoration = "underline"
		document.getElementById('afoto2').style.cursor = "pointer"
		document.getElementById('afoto3').style.color="white"
		document.getElementById('afoto3').style.textDecoration = "underline"
		document.getElementById('afoto3').style.cursor = "pointer"
		document.getElementById('afoto4').style.color="white"
		document.getElementById('afoto4').style.textDecoration = "underline"
		document.getElementById('afoto4').style.cursor = "pointer"
		document.getElementById('afoto5').style.color="white"
		document.getElementById('afoto5').style.textDecoration = "underline"
		document.getElementById('afoto5').style.cursor = "pointer"
		document.getElementById('afoto6').style.color="white"
		document.getElementById('afoto6').style.textDecoration = "underline"
		document.getElementById('afoto6').style.cursor = "pointer"
		document.getElementById('afoto7').style.color="white"
		document.getElementById('afoto7').style.textDecoration = "underline"
		document.getElementById('afoto7').style.cursor = "pointer"
		document.getElementById('afoto8').style.color="white"
		document.getElementById('afoto8').style.textDecoration = "underline"
		document.getElementById('afoto8').style.cursor = "pointer"
		document.getElementById('afoto9').style.color="white"
		document.getElementById('afoto9').style.textDecoration = "underline"
		document.getElementById('afoto9').style.cursor = "pointer"
		document.getElementById('afoto10').style.color="white"
		document.getElementById('afoto10').style.textDecoration = "underline"
		document.getElementById('afoto10').style.cursor = "pointer"
		document.getElementById('afoto11').style.color="white"
		document.getElementById('afoto11').style.textDecoration = "underline"
		document.getElementById('afoto11').style.cursor = "pointer"
		document.getElementById('afoto12').style.color="red"
		document.getElementById('afoto12').style.textDecoration = "none"
		document.getElementById('afoto12').style.cursor = "default"
}
function okno(img){
dyn_okno = window.open("","","resizable=no, status=no, toolbar=no,location=no, scrollbars=yes, resizable=yes");
dyn_okno.document.write('<html><body><img src="../images/');
dyn_okno.document.write(img);
dyn_okno.document.write('-v.jpg" /></body></html>');
}

