var delay=6000 //set delay between message change (in miliseconds) var fcontentNews=new Array() var fcontentNotes=new Array() var fcontentTips=new Array() fcontentNotes[0]="2/15/2008 Notes: Secure your personal items" fcontentNews[0]="10/17/2007 News: Lost & Found" fcontentTips[0]="Tips: Minnesota Road Conditions  Up-to-date road conditions for Minnesota" var news=0 var notes=0 var tips=0 //function to change content function changecontent() { if (news>=fcontentNews.length) news=0 if (notes>=fcontentNotes.length) notes=0 if (tips>=fcontentTips.length) tips=0 document.getElementById("newscontent").innerHTML=fcontentNews[news]+"


"+fcontentNotes[notes]+"


"+fcontentTips[tips] news++ notes++ tips++ setTimeout("changecontent()",delay) } window.onload=changecontent