<!--// Portions of this script adapted from:// ProHTML Ticker script- © Dynamic Drive (www.dynamicdrive.com)// Usage: Assign an ID of "swapitem" to each element that get's rotated. Number the ID's starting from 0 ("zero").// Example: <div id="swapitem0"> your content </div> <div id="swapitem1"> next content </div>// You may also want to give it a css class for style and set it to display: none for best results// Example: <div id="swapitem0" class="newsitem"> your content </div> and then in your css: .newsitem { display: none; }var rotationSpeed=6000 // speed in milliseconds (5000 = 5 seconds)var activeID=0var totalIDs=0function hideall(){   var i=0   while (document.getElementById("swapitem"+i)){      document.getElementById("swapitem"+i).style.display="none"      i++   }}function showactive(){   var activeIDObj=document.getElementById("swapitem"+activeID)   hideall()   activeIDObj.style.display="block"   activeID=(activeID<totalIDs-1)? activeID+1 : 0   setTimeout("showactive()",rotationSpeed)}function startrotator(){   while (document.getElementById("swapitem"+totalIDs)!=null)   totalIDs++   showactive()}if (window.addEventListener)   window.addEventListener("load", startrotator, false)else if (window.attachEvent)   window.attachEvent("onload", startrotator)-->