// JavaScript Document


var delay=10000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<div align="justify"><font face="Arial" size=2>' //set opening tag, such as font declarations
fcontent[0]="... When we decided to set up our India operations, it was extremely important to bring in the right people at the outset. After going through multiple search firms, we finalized on Dovetail Search for its passion, commitment to delivery and deep understanding of our needs. We were able to get our India head well ahead of the committed timelines and have been extremely delighted with Dovetail's professionalism through out the assignment"
fcontent[1]="I was hired through Dovetail Search and their deep understanding of my new company and the role expectations from the position helped me make up my mind, since I had 2 offers at that point in time"
fcontent[2]="When Dovetail Search contacted me, they went out of their way to keep me informed on the progress of my candidature. While I was not eventually made the offer, I appreciate the way they treated me with respect and professionalism through the entire process"
//fcontent[3]="I can confidently tell you that even tough there are thousands of web solution providers in the country, Ashtech Digital Concepts (ADC) stands out of this crowd by their extraordinary service and quality of the final product. <br><br>- Sachin Shah<br>(TechMax Publications)"
closetag='</font></div>'

var fwidth=220 //set scroller width
var fheight=200 //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=30

//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()",100);	
}
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:6px"></div>')

window.onload=changecontent
