var howMany = 3
var quote = new Array(howMany+1)
quote[0]="<img border=\"0\" src=\"images/rotate1.jpg\" width=\"785\" height=\"235\">"
quote[1]="<img border=\"0\" src=\"images/rotate2.jpg\" width=\"785\" height=\"196\">"
quote[2]="<img border=\"0\" src=\"images/rotate3.jpg\" width=\"785\" height=\"235\">"
quote[3]="<img border=\"0\" src=\"images/rotate4.jpg\" width=\"785\" height=\"235\">"
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)
