<!-- Begin
//scroller width
var swidth=291

//scroller height
var sheight=25

//scroller's speed;
var sspeed=8
var wholemessage=''

//Default font color is #ffffdd & #cbb6a1 for ***
wholemessage='<div></div>'

// TO BE PLACED IN WHOLEMESSAGE ABOVE BETWEEN THE <DIV> CODE... <font  face=arial size=2 weight=bold color="black" style="padding-left: 42px; padding-right: 42px;">***</font><a style="text-decoration: none;" href="http://www.BeaverUtahSheriff.com/articles/20110412%20Sandbag%20Notice.pdf" target="_blank" title="Click here for more information!"><font face=arial size=2 color="red"><i>BEAVER COUNTY RESIDENTS:</i></font><font  face=arial size=2 weight=bold color="white" style="padding-left: 22px;">Click here for information pertaining to Potential Flooding and Sandbag availablity</font></a></a>

function ca_start(){
	if (document.all) return
	if (document.getElementById){
		document.getElementById("slider").style.visibility="show"
		ns6marquee(document.getElementById('slider'))
	}
	else if(document.layers){
		document.slider1.visibility="show"
		ns4marquee(document.slider1.document.slider2)
	}
}

function ns4marquee(whichlayer){
	ns4layer=eval(whichlayer)
	ns4layer.document.write(wholemessage)
	ns4layer.document.close()
	sizeup=ns4layer.document.height
	ns4layer.top-=sizeup
	ns4slide()
}

function ns4slide(){
	if (ns4layer.top>=sizeup*(-1)){
		ns4layer.top-=sspeed
		setTimeout("ns4slide()",100)
	}
	else{
		ns4layer.top=sheight
		ns4slide()
	}
}

function ns6marquee(whichdiv){
	ns6div=eval(whichdiv)
	ns6div.innerHTML=wholemessage
	ns6div.style.top=sheight
	sizeup=sheight
	ns6slide()
}

function ns6slide(){
	if (parseInt(ns6div.style.top)>=sizeup*(-1)){
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed
		setTimeout("ns6slide()",100)
	}
	else{
		ns6div.style.top=sheight
		ns6slide()
	}
}
//  End -->

function docascroll() {
	document.write('<span style="border:none; width:291; height:25;"><ilayer width=291 height=25 name="slider1" bgcolor="none" visibility=hide><layer name="slider2" onMouseover="sspeed=0;" onMouseout="sspeed=6"></layer></ilayer>');
	if (document.all){
		document.writeln('<marquee id="ieslider" scrollAmount=3 width=291 height=20 direction=left style="border:none;background:none">')
		document.writeln(wholemessage);
		ieslider.onmouseover=new Function("ieslider.scrollAmount=0");
		ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=3");
		document.write('</marquee>');
	}
	if (document.getElementById&&!document.all){
		document.write('<div style="position:relative;overflow:hidden;width:291;height:25;clip:rect(0 462 27 0); background:none;border:none;" onMouseover="sspeed=0;" onMouseout="sspeed=8">');
		document.write('<div id="slider" style="position:relative;width:&{swidth};">');
		document.write('</div></div>');
	}
	document.write('</span>');
}

ca_start();
docascroll();
// end -->
