function makeProServicesQuotes(quote,customer,account){
	this.quote = quote;
	this.customer = customer;
	this.account = account;
	this.write = writeProServicesQuotes;
} 

function writeProServicesQuotes(){
	var str = '';
	str += '<blockquote><table cellpadding="0" cellspacing="0" border="0" height="132"><tr><td valign="middle">';
	str += '<h2 style="font-size:14px;margin-bottom:0px;padding-bottom:0px;">&ldquo;' + this.quote + '&rdquo;</h2>';
	str += '<p style="margin-top:2px;padding-top:2px;margin-bottom:0px;padding-bottom:0px;font-size:11px;">&ndash; ' + this.customer + ', ' + this.account + '</p>';
	str += '</td></tr></table></blockquote>';
	return str;
} 

var ProServicesQuotesArray = new Array();
ProServicesQuotesArray[0] = new makeProServicesQuotes(
	'Your consulting engineer did a great job... very knowledgeable about CommVault backups and was able to easily accomplish all the things that we felt were really important in making this a successful engagement.',
	'Patrick Schilling',
	'Aperio CI, Inc.').write();

ProServicesQuotesArray[1] = new makeProServicesQuotes(
	'Your consulting engineers were great, they covered everything they were supposed to and answered any questions we had.',
	'Gary Ferguson',
	'Columbia College').write();

ProServicesQuotesArray[2] = new makeProServicesQuotes(
	'Your consulting engineer... was excellent, well trained and advised my team on operations.',
	'Craig Cumbow',
	'Dawn Foods').write();

ProServicesQuotesArray[3] = new makeProServicesQuotes(
	'Your consulting engineer did an excellent job in getting the software installed and training our people, I would recommend him to anyone in the future for an implementation.',
	'Greg Koepfer',
	'DTR Industries').write();

ProServicesQuotesArray[4] = new makeProServicesQuotes(
	'This has been one of the best and most productive new product installations I have experienced at Fitchburg State.',
	'Sherry Horeanopoulos',
	'Fitchburg State University').write();

ProServicesQuotesArray[5] = new makeProServicesQuotes(
	'Commvault&rsquo;s professional services and project management experience helps to ensure a successful deployment everytime.',
	'John Chirhart',
	'info|RELIANCE').write();

ProServicesQuotesArray[6] = new makeProServicesQuotes(
	'Your consulting engineer was very knowledgable of CommVault and did  a fine job working with me on the assessment.',
	'J. Yvonne Norris',
	'LimNorris').write();

ProServicesQuotesArray[7] = new makeProServicesQuotes(
	'Our Implementation went very well and I am very satisfied with the overall engagement.',
	'Joe Jancart',
	'National Real Estate IS').write();

ProServicesQuotesArray[8] = new makeProServicesQuotes(
	'I would like to commend your consulting engineer on an excellent upgrade... we are pleased with the professional services we received and look forward to future engagements with CommVault.',
	'Greg Woelffer',
	'San Francisco General Hospital').write();

ProServicesQuotesArray[9] = new makeProServicesQuotes(
	'Your consulting engineer provided an outstanding level of customer service... his positive attitude, patience and ability to educate me... left me with great confidence to take care of our backup infrastructure.',
	'Scott Cordeau',
	'SPAWAR Atlantic').write();

ProServicesQuotesArray[10] = new makeProServicesQuotes(
	'...we are a new CommVault customer and had our onsite installation completed last week. I want to compliment the consulting engineer and CommVault for the depth of knowledge, experience and level of professionalism...',
	'Kevin Madsen',
	'Stanley Consultants, Inc.').write();

var nIndex = Math.round(Math.random() * ProServicesQuotesArray.length);
var timerID = null;
function rotateProServicesQuotes(){
	var len = ProServicesQuotesArray.length;
	if (len == 1) {
		document.getElementById('largequote').innerHTML = ProServicesQuotesArray[nIndex];
	} else {
		if(nIndex >= len) { nIndex = 0; }
		document.getElementById('largequote').innerHTML = ProServicesQuotesArray[nIndex];
		nIndex++;
		timerID = setTimeout('rotateProServicesQuotes()', 6000);
	}
}

function pauseProServicesQuotes() {
	var len = ProServicesQuotesArray.length;
	if (len >= 2) {
		if (timerID != null) {
			clearTimeout(timerID);
			timerID = null;
		}
	}
}

function playProServicesQuotes() {
	var len = ProServicesQuotesArray.length;
	if (len >= 2) {
		if (timerID == null) {
			timerID = setTimeout('rotateProServicesQuotes()', 5000);
		}
	}
}

rotateProServicesQuotes()
