\n
<form> <label id="box1"></label> </form> <script> var quotes=new Array(); quotes=[ 'Line one', 'Line two', 'Line three', ]; var x=0; function showQuotes() { document.getElementById("box1").innerHTML=quotes[x] ; x++; if(x==quotes.length) { x=0; } } setInterval('showQuotes()',500); </script>