var quotes=new Array() quotes[0]='' quotes[1]='' var whichquote=Math.floor(Math.random()*(quotes.length)) document.write(quotes[whichquote])