<script type="text/javascript">
var howMany = 2
var quote = new Array(howMany+1)
quote[0]="<a href=http://link1.ru><font color=#636363>текст 1</font></a>"
quote[1]="<a href=http://link2.ru><font color=#636363>текст 2</font></a>"
quote[2]="<a href=http://link3.ru><font color=#636363>текст 3</font></a>"
function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
</script>
<SCRIPT language="javascript"><!--
quo = rndnumber()
quox = quote[quo]
document.write(quox)
//--></SCRIPT>