/*var caption1 = "\"A CEO, CFO, COO, and James Connor of The James Group:no organizational chart is complete without him.\"<p class=\"midpara\"><i>- Julian Koski, Founder and CEO, TransparentValue</i></p>";*/
var caption1 = "\"The techniques in this book helped us become the undisputed national leader in our category. I've read a lot of marketing books. This one has the clearest, most definitive methodology for building a brand and increasing sales.\"<p class=\"midpara\"><i>- Marc Shuman, Founder and CEO, GarageTek</i></p>";
var caption2 = "\"Using techniques in this book to rebrand our company helped us breakthrough a sales plateau and develop successful partnerships. We now have ThinkFun branded fixtures featured across the country and around the world.\"<p class=\"midpara\"><i>- Andrea Barthello, Founder, VP of Corporate Development, ThinkFun</i></p>";
var caption3 = "\"This book and its principles are vital to the long-term success of any company.\"<p class=\"midpara\"><i>- Rich Hobbie, President, WQIS, The Water Quality Insurance Syndicate</i></p>";
var caption4 = "\"The website optimization chapter helped make us #1 on Google for our key search term. No website should be built without studying these techniques.\"<p class=\"midpara\"><i>- Chris Brown, Founder and CEO, Teed & Brown</i></p>";


//Start at the what pic:
var quoteNumber=1;
//Number of pics:
var NoOfQuotes=4;
//Time between pics imging in secs
var HowLongBetweenQuote=5;

//imgPic Function
function quotes(counter){
	if(counter < HowLongBetweenQuote){
		counter++;
		//alert(counter +'  '+ quoteNumber);
		//DEBUG in the status bar at the bottom of the screen
		//window.status="img picture at 3 : "+counter+" quoteNumber: "+quoteNumber+" ";
		
		//Display pic in what <IMG> tag next is what I called the image
		document.getElementById('divTitle').innerHTML = eval("caption" + quoteNumber);
		//function calls itself
		CallimgPic=window.setTimeout("quotes("+counter+")",5000); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(quoteNumber < NoOfQuotes){
				quoteNumber++;
				//alert(quoteNumber);
				quotes(0);
			}
			//its the last picture go to the first one
			else{
				quoteNumber=1;
				quotes(0);
				}
	
		}

}
// Stop hiding from old browsers -->
