/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=20000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<font face="verdana" size=2>' //set opening tag, such as font declarations
fcontent[0]="<strong>Pinning items to the start menu</strong><br>In the Start Menu, programs will rotate in and out depending on their frequency of use.  If you would like to keep a program in the Start Menu: Right-click the link to your favorite program on the Start Menu and select Pin to Start Menu. Your program will be moved permanently to the top part of the list, just below your browser and e-mail programs."
fcontent[1]="<strong>the ToggleKey feature</strong><br>When the ToggleKey feature is activated, you will be given a beep sound to let you know that either the Numlock, Capslock or ScrollLock keys have been pressed. Turn this feature on by pressing and holding the NumLock button on your keyboard for 5 seconds. You will hear a beep to let you know that it is on. Turn it off the same way."
fcontent[2]="<strong>Accessing Scan Disk</strong><br>Scan Disk isn't available in Windows XP or Vista. In XP and Vista there's Check Disk, which can be run from the command line (chkdsk), or by right clicking a drive in Windows Explorer and choosing Properties > Tools > Error-checking."
fcontent[3]="<strong>Start menu in to alphabeticale order</strong><br>Windows by default, adds new programs to the end of the start menu.  If you would rather view these in alphabetical order, just simply right click the menu and chose 'sort by name'."
fcontent[4]="<strong>No To All Option</strong><br>We all have seen the 'Yes To All' option when saving files.  Have you ever needed a 'No To All' option? This is an undocumented feature, but it does exist. All you need to do is hold down the SHIFT key and click the No button.  This will tell Windows Explorer 'No To All'."
fcontent[5]="<strong>Using Favorites in Windows XP Help</strong><br>The Windows Help Files in Windows XP is packed full of useful information. One feature that I use a lot is the Favorites. If you find a topic that you may want to re-visit in the future, you can click the Favorites tab and save it by clicking the Add button."
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