var delay=13000 //set delay between message change (in miliseconds)
var fcontent=new Array()

begintag='<font face="Arial" size=2>' //set opening tag, such as font declarations
fcontent[0]="<strong>SaberFAST high-speed dial-up service even faster!</strong><br><br>SaberFAST now increases your Internet experience up to 5 times faster compared to regular dialup connections.  Part of all SaberNet dial-up service plans.  No changes to make or hardware to buy.  Download SaberFAST software <A href=\"http://www2.saber.net/downloads.html\"> <font color=#ff0000>here.</font></a>  Enjoy!"
fcontent[1]="<strong>Get Acquainted Offer</strong><br>$45.00 for the First 3 Months <strong>1-800-989-8851</strong><br><br> 10 Minutes is all it takes<br>Call <a href='http://www2.saber.net'>SaberNet</a> Today!"
fcontent[2]="<strong>New Spanish WebSite</strong><br>Is Spanish Your First Languange?<br><br>SaberNet is proud to announce: <a href='http://www.sabernet-en-espanol.com'>sabernet-en-espanol.com</a>"
fcontent[3]="<strong>SaberLink</strong><br>Your Gateway <br>to the Internet <br><a href='http://www.saberlink.com'><br><strong>Saberlink</strong></a> is a service of SaberNet Internet Services providing Internet Access throughout California"
fcontent[4]="<strong>Do what thousands of SaberNet subscribers do:</strong> make <a href='http://www.saberlink.com'>Saberlink</a> your Homepage.<br><br><strong>SaberLink</strong><br>Your Gateway<br>to the Internet.<br>Negotiating the Information Super Highway has never been easier; you're just a click away!"
fcontent[5]="<strong>Don't know how to <br><a href='http://support.saber.net/modules.php?set_albumName=SetHomePage&op=modload&amp;name=Screenshots&amp;file=index&amp;include=view_album.php'>set-up your Homepage setting</a>?</strong><br>No problem, simply call SaberNet Technical Support Toll Free at<br><strong> 1-800-989-8851</strong><br>The service is free of charge and it only takes a moment."
fcontent[6]="<strong>Why Choose SaberNet?</strong><br>* Unsurpassed Customer &nbsp;&nbsp;Service<br>* Seven-Day-Per-Week &nbsp;&nbsp;Tech Support<br>* Unmetered Access<br>* No Software Required<br>* Free Virus & Spam &nbsp;&nbsp;Filtering<br>* Flexible Payment &nbsp;&nbsp;Plans<br>* Discount Plans for &nbsp;&nbsp;Seniors, Teachers & &nbsp;&nbsp;Students"
closetag='</font>'
var fwidth='150px' //set scroller width
var fheight='334px' //set scroller height
var fadescheme=0 //set 0 to fade text color from (white to black), 1 for (black to white)
var fadelinks=1  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////
var hex=(fadescheme==0)? 255 : 0
var startcolor=(fadescheme==0)? "rgb(255,255,255)" : "rgb(0,0,0)"
var endcolor=(fadescheme==0)? "rgb(0,0,0)" : "rgb(255,255,255)"

var ie4=document.all&&!document.getElementById
var ns4=document.layers
var DOM2=document.getElementById
var faderdelay=0
var index=0

if (DOM2)
faderdelay=2000

//function to change content
function changecontent(){
	if (index>=fcontent.length)
		index=0
		if (DOM2){
		document.getElementById("fscroller").style.color=startcolor
		document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
		linksobj=document.getElementById("fscroller").getElementsByTagName("A")
		if (fadelinks)
		linkcolorchange(linksobj)
		colorfade()
	}
	else if (ie4)
		document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag
	else if (ns4){
		document.fscrollerns.document.fscrollerns_sub.document.write(begintag+fcontent[index]+closetag)
		document.fscrollerns.document.fscrollerns_sub.document.close()
	}
	index++
	setTimeout("changecontent()",delay+faderdelay)
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

frame=20;
function linkcolorchange(obj){
	if (obj.length>0){
		for (i=0;i<obj.length;i++)
		obj[i].style.color="rgb("+hex+","+hex+","+hex+")"
	}
}
function colorfade() {
	// 20 frames fading process
	if(frame>0) {	
		hex=(fadescheme==0)? hex-12 : hex+12 // increase or decrease color value depd on fadescheme
		document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
		if (fadelinks)
			linkcolorchange(linksobj)
		frame--;
		setTimeout("colorfade()",20);
	}
	else {
		document.getElementById("fscroller").style.color=endcolor;
		frame=20;
		hex=(fadescheme==0)? 255 : 0
	}
}
if (ie4||DOM2)
	document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')
window.onload=changecontent