//Script to randomise photos
var howMany = 25
var photo = new Array(howMany+1)
photo[0]='<img src="/images/randomisedphotos/00.jpg">'
photo[1]='<img src="/images/randomisedphotos/01.jpg">'
photo[2]='<img src="/images/randomisedphotos/02.jpg">'
photo[3]='<img src="/images/randomisedphotos/03.jpg">'
photo[4]='<img src="/images/randomisedphotos/04.jpg">'
photo[5]='<img src="/images/randomisedphotos/05.jpg">'
photo[6]='<img src="/images/randomisedphotos/06.jpg">'
photo[7]='<img src="/images/randomisedphotos/07.jpg">'
photo[8]='<img src="/images/randomisedphotos/08.jpg">'
photo[9]='<img src="/images/randomisedphotos/09.jpg">'
photo[10]='<img src="/images/randomisedphotos/10.jpg">'
photo[11]='<img src="/images/randomisedphotos/11.jpg">'
photo[12]='<img src="/images/randomisedphotos/12.jpg">'
photo[13]='<img src="/images/randomisedphotos/13.jpg">'
photo[14]='<img src="/images/randomisedphotos/14.jpg">'
photo[15]='<img src="/images/randomisedphotos/15.jpg">'
photo[16]='<img src="/images/randomisedphotos/16.jpg">'
photo[17]='<img src="/images/randomisedphotos/17.jpg">'
photo[18]='<img src="/images/randomisedphotos/18.jpg">'
photo[19]='<img src="/images/randomisedphotos/19.jpg">'
photo[20]='<img src="/images/randomisedphotos/20.jpg">'
photo[21]='<img src="/images/randomisedphotos/21.jpg">'
photo[22]='<img src="/images/randomisedphotos/22.jpg">'
photo[23]='<img src="/images/randomisedphotos/23.jpg">'
photo[24]='<img src="/images/randomisedphotos/24.jpg">'
photo[25]='<img src="/images/randomisedphotos/25.jpg">'



function rndnumber(){
	var randscript = -1
	while (randscript < 0 || randscript > howMany || isNaN(randscript)){
	randscript = parseInt(Math.random()*(howMany+1))
}

return randscript
}
show = rndnumber()
showx = photo[show]
