var howMany = 5 // number of quotes (end number)
var quote = new Array(howMany+1)
quote[0]='&nbsp;<a href="images/400px_W/culley.jpg" target="NEW"><img src="images/75px_H/culley.jpg" alt="culley" class="topimage" border="0" /></a>&nbsp;'
quote[1]='&nbsp;<a href="images/400px_W/dinolo.jpg" target="NEW"><img src="images/75px_H/dinolo.jpg" alt="dinolo" class="topimage" border="0" /></a>&nbsp;'
quote[2]='&nbsp;<a href="images/400px_W/homecoming_pyramid.jpg" target="NEW"><img src="images/75px_H/homecoming_pyramid.jpg" alt="Homecoming Pyramid" class="topimage" border="0" /></a>&nbsp;'
quote[3]='&nbsp;<a href="images/400px_W/science.jpg" target="NEW"><img src="images/75px_H/science.jpg" alt="The Science Faculty at the Talent Show" class="topimage" border="0" /></a>&nbsp;'
quote[4]='&nbsp;<a href="images/400px_W/spain.jpg" target="NEW"><img src="images/75px_H/spain.jpg" alt="class trip to spain" class="topimage" border="0" /></a>&nbsp;'
quote[5]='&nbsp;<a href="images/400px_W/quinn.jpg" target="NEW"><img src="images/75px_H/quinn.jpg" alt="sax player" class="topimage" border="0" /></a>&nbsp;'


function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
