// Quote display time in milliseconds
var quoteDisplayTime = 10000;
var fadeTime = 2000;

var visColor=255;
var invisColor=0;

var quotesArray=new Array();
	quotesArray[0]='"VendorNet\'s StoreNet technology is helping us deliver best-in-class service to our customers by showing web shoppers inventory across all channels and capturing sales that may otherwise have been lost opportunities."<br /><br />' + 
					'<span style="font-weight:bold">Ron Offir</span><br />President, Jones Group Direct<br /><span style="font-weight:bold">The Jones Group, Inc.</span>';	
	quotesArray[1]='"Implementing the VendorNet Commerce Suite was an excellent business decision that has already gone beyond paying for itself. What is truly amazing is how smoothly the whole implementation process has progressed with the retailers and vendors alike."<br /><br />' + 
					'<span style="font-weight:bold">Kent Martin</span><br />President<br /><span style="font-weight:bold">Cornerstone Brands</span>';	
	quotesArray[2]='"VendorNet is one of only four or five things in my career where I just really have to say \'wow\'. The impact of VendorNet on our ability to manage stock has been incredible."<br /><br />' + 
					'<span style="font-weight:bold">Greg Ton</span><br />Chief Operating Officer<br /><span style="font-weight:bold">Benchmark Brands and the Footsmart Catalog</span>';
	quotesArray[3]='"We can\'t say enough good things about VendorNet. We process between 400 and 1,800 drop shipments per day, a task that used to require at least two full-time employees to manage. And vendor compliance has gone way up."<br /><br />' + 
					'<span style="font-weight:bold">Fred Chambers</span><br />Vice President Inventory Logistics<br /><span style="font-weight:bold">Miles Kimball</span>';	
	quotesArray[4]='"VendorNet Dropship Manager has the functionality and features to provide a flexible and scalable platform for us to efficiently manage our projected growth, and confidently expand the depth and breadth of our product offerings."<br /><br />' + 
					'<span style="font-weight:bold">Sharon Crowley</span><br />Vice President of Operations<br /><span style="font-weight:bold">National Geographic Catalog/Online</span>';	
	quotesArray[5]='"Our primary dropship vendor for Chevy Mall, a General Motors e-commerce site has gone from a fill rate in the mid 70 percent level to a fill rate of more than 90 percent since we went to VendorNet."<br /><br />' + 
					'<span style="font-weight:bold">Jim Meyer</span><br />President<br /><span style="font-weight:bold">Mall Services Group, LLC</span>';
/* for new quotes
	quotesArray[0]='"quote"<br /><br />' + 
					'<span style="font-weight:bold">name</span><br />title<br /><span style="font-weight:bold">company</span>';	
*/

function FadeIn(fiQuoteNum) {
	document.getElementById('RetailerQuotes' + fiQuoteNum).style.color='rgb(' + visColor + ',' + visColor + ',' + visColor + ')';
	visColor-=15;
	if (visColor>0) {setTimeout('FadeIn(' + fiQuoteNum + ')', 50);} else {visColor=255;}
}

function FadeOut(foQuoteNum) {
	document.getElementById('RetailerQuotes' + foQuoteNum).style.color='rgb(' + invisColor + ',' + invisColor + ',' + invisColor + ')';
	invisColor+=15;
	if (invisColor<=255) {setTimeout('FadeOut(' + foQuoteNum + ')', 50);} else {invisColor=0;}
}

function CycleQuotes() {
	var j=0;

	document.write('<div style="position:relative">');
	for (i in quotesArray) {
		document.write('<div id="RetailerQuotes' + i + '" style="color:white; position:absolute; display:none">' + quotesArray[i] + '</div>');
	}
	document.write('</div>');

	while (j<1000) {
		for (i in quotesArray) {
			setTimeout('document.getElementById("RetailerQuotes' + i + '").style.display="inline";',j * (quoteDisplayTime + fadeTime));
			setTimeout('FadeIn(' + i + ');',j * (quoteDisplayTime + fadeTime));
			setTimeout('FadeOut(' + i + ');',j * (quoteDisplayTime + fadeTime) + quoteDisplayTime);
			setTimeout('document.getElementById("RetailerQuotes' + i + '").style.display="none";',j * (quoteDisplayTime + fadeTime) + quoteDisplayTime + fadeTime);
			j++;
		}
	}
}

