var speed=8500

var news=new Array()
news[0]="<b>SWOA Mission</b><br><br>The mission of the Southern Wisconsin Officials Association (SWOA) is to promote competent officiating in all sporting events and to provide officials with necessary knowledge to warrant absolute public confidence in their integrity and methods."
news[1]="<b>Upgraded OFFICIALfinder and Member Directory!</b><br><br>Now you can easily sort and print your results.<br> SWOA Members can download an updated directory by logging in to your <a target=\"_blank\" href=\"http://myswoa.swoa.info\">mySWOA</a> account."

var fadescheme=1
var hex=(fadescheme==0)? 255 : 204
var startcolor=(fadescheme==0)? "rgb(204,204,204)" : "rgb(204,204,204)"
var endcolor=(fadescheme==0)? "rgb(204,204,204)" : "rgb(204,204,204)"
var frame=20;

var ie=document.all
var ns6=document.getElementById
var ns4=document.layers

i=0
tickerobject=ie? subtickertape: ns6? document.getElementById("subtickertape") : document.subtickertape.document

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}

function bgcolorfade() {	         	
if(frame>0) {	
hex=(fadescheme==0)? hex-12 : hex+12
tickerobject.style.backgroundColor="rgb("+hex+","+hex+","+hex+")";
frame--;
setTimeout("bgcolorfade()",20);	
}
else{
tickerobject.style.backgroundColor=endcolor;
frame=20;
hex=(fadescheme==0)? 255 : 0
}   
}

function updatecontent(){
if (ie||ns6)
bgcolorfade()
if (ns4){
tickerobject.subtickertape.document.write('<span class="subtickertapefont">'+news[i]+'</span>')
tickerobject.subtickertape.document.close()
}
else 
tickerobject.innerHTML=news[i]

if (i<news.length-1)
i++
else
i=0
setTimeout("updatecontent()",speed)
}