Цитата: <script language="JavaScript" type="text/javascript">
var quotenumber = 4 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (quotenumber-1) * randomnumber) + 1 ;
quotes = new Array
quotes[1] = "a"
quotes[2] = "b"
quotes[3] = "c"
quotes[4] = "d"
var quote = quotes[rand1]
document.write(quote);
</script>
разъяснение:
красный - текст 1,2,3,4
синий - число всех текстов, т.е. 4
______________