/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=16000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<font face="arial" size=2 color=white>' //set opening tag, such as font declarations

fcontent[0] = "<b><a href=http://sims.sb254.com/sg10 target=_blank>Stargate: SG-10</a></b><br><br>SG-10 is a combination of various specialties that could not afford to be placed into 3 other groups after having already formed a team that specializes in each field respectively. The team is therefor a stronger unit able to multitask in areas where conventional..."

fcontent[1] = "<b><a href=http://sims.sb254.com/noralus target=_blank>USS Noralus</a></b><br><br>The Federation is at war with the Romulan Star Empire. A bold and surprise attack has left Earth unexpectedly crippled. Starfleet is fighting for its very survival. But during these troubled times, the USS Noralus is not in Federation territory. It is on a risky mission..."

fcontent[2] = "<b><a href=http://sims.sb254.com/cotd target=_blank>Circus of the Damned</a></b><br><br>The time is today, tomorrow and everyday there after. Vampires are legal citizens and Lycanthropcy is a disease. Welcome to Boston Here you learn to sleep with a gun under your pillow or a cross...that's if you can sleep at all. When things..."

fcontent[3] = "<b><a href=http://www.ussstargazer.com/ target=_blank>USS Stargazer</a></b><br><br>Life aboard the USS Stargazer has slowly started to return to normal with the return of the kidnapped Captain. The ship then stopped at a nearby starbase to pick up their old Commander, who was finally returning to duty after half a year off..."

fcontent[4] = "<b><a href=http://sims.sb254.com/adelphi target=_blank>Starbase Adelphi</a></b><br><br>Starbase Adelphi is currently involved with a Federation Civil War plot. After successfully reopening the Barricks wormhole it was discovered by the crew of the U.S.S Excalibur that an assassination of the Federation President Richard Davis by..."

fcontent[5] = "<b><a href=http://sims.sb254.com/sg3 target=_blank>Stargate: SG-3</a></b><br><br>The Stargate Team SG3 is a covert military operations team whose primary mission is inflitration and intelligence gathering. Anything assigned to us will be under strict covert tactical operations and high risk... weigh your options well before..."

fcontent[6] = "<b><a href=http://sims.sb254.com/phoenix target=_blank>USS Phoenix</a></b><br><br>It bent the shape, breaking to form another that would be that much darker than the universe to which the Federation could foreshadow. To the Brave, the darkness followed, edging on oblivion, despair was founded, so that all would be a slave. Redemption would be lost..."



closetag='</font>'

var fwidth=150 //set scroller width
var fheight=150 //set scroller height

///No need to edit below this line/////////////////

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="rgb(255,255,255)"
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 by Dynamicdrive.com

frame=20;
hex=255  // Initial color value.

function colorfade() {              
// 20 frames fading process
if(frame>0) {   
hex-=12; // increase color value
document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
frame--;
setTimeout("colorfade()",20);   
}
else{
document.getElementById("fscroller").style.color="rgb(0,0,0)";
frame=20;
hex=255
}   
}

if (ie4||DOM2)
document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')

window.onload=changecontent