
/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=5000 //set delay between message change (in miliseconds)
var fcontent=new Array()
var begintag='<div class="testimonials">' //set opening tag, such as font declarations

fcontent[0]="<span class='qquot'> &quot; </span><span class='qtext'>OUTSTANDING!</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Director, Merrill Lynch</span>"
fcontent[1]="<span class='qquot'> &quot; </span><span class='qtext'>Perfect fit for me. Course structure and documentation were Outstanding</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Senior Consultant, RDI</span>"
fcontent[2]="<span class='qquot'> &quot; </span><span class='qtext'>Great job at a hard class to teach.</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Senior Director, Gartner Group</span>"
fcontent[3]="<span class='qquot'> &quot; </span><span class='qtext'>Highly dedicated, interested and knowledgeable instructor who gave me a sense of urgency and desire to learn more</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Operations Manager, MediaOne</span>"
fcontent[4]="<span class='qquot'> &quot; </span><span class='qtext'>Object Knowledge opened doors to a new way of thinking</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Systems Analyst, Department of Defense</span>"
fcontent[5]="<span class='qquot'> &quot; </span><span class='qtext'>This course was remarkable!</span><span class='qquot'> &quot; </span><br /><span class='qauth'>-Business Analyst, Universal Systems</span>"
fcontent[6]="<span class='qquot'> &quot; </span><span class='qtext'>The instructor was a 10 on a 1-10 scale.</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Business Analyst, Universal Systems</span>"
fcontent[7]="<span class='qquot'> &quot; </span><span class='qtext'>I very much appreciated the instructor's generosity in offering help and knowledge to meet each person's needs.</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Senior Consultant, Buzzeo</span>"
fcontent[8]="<span class='qquot'> &quot; </span><span class='qtext'>The small group was very conducive to learning & sharing.</span><span class='qquot'> &quot; </span><br /><span class='qauth'> - Senior Business Analyst, Newbridge Networks</span>"

var closetag='</div>'

var fwidth=250 //set scroller width
var fheight=50 //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

var frame=20;
var 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
}   
}


window.onload=changecontent
	