var howMany = 4 // number of quotes (end number)
var quote = new Array(howMany+1)
quote[0]='&nbsp;<a href="images/400px_W/krishnan_football.jpg" target="NEW"><img src="images/75px_H/krishnan_football.jpg" alt="football manager" class="topimage" border="0" /></a>&nbsp;'
quote[1]='&nbsp;<a href="images/400px_W/hunt_cheerleader.jpg" target="NEW"><img src="images/75px_H/hunt_cheerleader.jpg" alt="cheerleader" class="topimage" border="0" /></a>&nbsp;'
quote[2]='&nbsp;<a href="images/400px_W/mazzola.jpg" target="NEW"><img src="images/75px_H/mazzola.jpg" alt="mazzola cheerleader" class="topimage" border="0" /></a>&nbsp;'
quote[3]='&nbsp;<a href="images/400px_W/outdoorsclub2.jpg" target="NEW"><img src="images/75px_H/outdoorsclub2.jpg" alt="outdoors club" class="topimage" border="0" /></a>&nbsp;'
quote[4]='&nbsp;<a href="images/400px_W/marchesiani_prom.jpg" target="NEW"><img src="images/75px_H/marchesiani_prom.jpg" alt="prom king" 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)
