//EDIT THE QUOTE TEXT AND HEADLINES HERE
var quoteHeadline1 = '';
var quoteText1 = 'Our experience modifier is a .51, and the training from Risk Control Services has been a major contributor to our success. - Bob Jensen, Temp Associates';

var quoteHeadline2 = '';
var quoteText2 = 'The year prior to working with RCS, we experienced 173 reported injuries. After implementing the RCS Strategic Risk Management Program we had 66. - Michael Epstein, CEO and President CoWorx Staffing Services LLC';

var quoteHeadline3 = '';
var quoteText3 = 'When we discovered RCS and the WRC certification program it was a huge relief to have a step-by-step process to follow that was guaranteed to help. - Rebecca Chagnon, Vice President Masiello Employment Services';

var quoteHeadline4 = '';
var quoteText4 = 'The RCS forms were a big help; they saved us so much time and are a great resource. - Rebecca Chagnon, Vice President Masiello Employment Services';

//var quoteHeadline5 = '';
//var quoteText5 = 'TOPS Staffing began using a telephone prescreening process. Before the process was in place, about 80% of candidates TOPS spoke to over the phone showed up for an interview. After the prescreening process was established, the show rate dropped to 40%. The prescreening results in better candidates to present to customers. - Susie Sisk, TOPS Staffing 3/1/2006';

var speed=8000;    /*this is the time in milliseconds adjust to suit*/


//----------------------------
//DO NOT EDIT BELOW THIS LINE
//----------------------------
var setIntervalID = '';
var q=0;
var n=0;
var numOfQuotes = 4;
var quote=new Array(numOfQuotes);
for (i=0; i <numOfQuotes; i++)
	quote[i]=new Array(2);

quote[0][0]=quoteHeadline1;
quote[0][1]=quoteText1;
quote[1][0]=quoteHeadline2;
quote[1][1]=quoteText2;
quote[2][0]=quoteHeadline3;
quote[2][1]=quoteText3;
quote[3][0]=quoteHeadline4;
quote[3][1]=quoteText4; 

function showQuote(n) {
	if(n==undefined){ 
		document.getElementById("quote_headline").innerHTML=quote[q][0];
		document.getElementById("quote_text").innerHTML=quote[q][1];
		q++;	
	} else {	
		clearInterval(setIntervalID);
		document.getElementById("quote_headline").innerHTML=quote[n][0];
		document.getElementById("quote_text").innerHTML=quote[n][1];		
	}
	
	if(q==quote.length) {
		q=0;
	}

}

setIntervalID = setInterval('showQuote()',speed);
  
