/* Fading Scroller - By DynamicDrive.com */
var delay=2000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<span style="font-family: Verdana, Helvetica, Tahoma, Arial, Sans-Serif;font-size:11px;font-weight:bold">'
fcontent[0]="Over $2 BILLION in REAL MONEY bets from 189 countries since 1997!"
fcontent[1]="13 Million Games Played Here Last Month The FUN never stops!"
fcontent[2]="$44 Million Won By Players Here Last Month The EXCITEMENT never ends!"
fcontent[3]="Super Fast Payouts! Reliable and Secure No minimum purchase to play!"
fcontent[4]="No Cover Charge Most Popular Realistic Games FUN, FUN, FUN around the clock!"
fcontent[5]="Biggest and Best International Online Casino Millions served since 1997!"
fcontent[6]="CASINO PHANTASY The Best Gambling Online DOWNLOAD FREE SOFTWARE NOW!</span>"
closetag='</span>'

var fwidth=647 //set scroller width
var fheight=18 //set scroller height
				
var ie4=document.all&&!document.getElementById
var ns4=document.layers
var DOM2=document.getElementById
var faderdelay=0
var index=0

if (DOM2)
faderdelay=1500

//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").style.color="rgb(88,75,108)"
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
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 to utilize RGB colors by Dann Goddu for Grand Virtual, Inc.
frame=20;
rhex=88  // Initial r color value.
ghex=75  // Initial g color value.
bhex=108  // Initial b color value.

function colorfade() {
if(frame>0) {	
rhex+=8.35; // increase r color value
ghex+=9; // increase g color value
bhex+=7.35; // increase b color value
document.getElementById("fscroller").style.color="rgb("+rhex+","+ghex+","+bhex+")"; // Set color value.
frame--;
setTimeout("colorfade()",20);	
}
else{
document.getElementById("fscroller").style.color="rgb(255,255,255)";
frame=20;
rhex=88
ghex=75
bhex=108 }   
}

if (ie4||DOM2)
document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+';padding:0px"></div>')

window.onload=changecontent