var quotes = new Array();
quotes[0] = "We have incorporated many...elements into our proposed program plan for UMKC, including...fair living wage standards for UMKC employees";
quotes[1] = "Those who cannot support a living wage are condemned to...well...hell, pretty much.";
quotes[2] = "No business which depends for existence on paying less than living wages to its workers has any right to continue in this country";
quotes[3] = "... the right to a job without a right to a living wage is just as weak as the right to a living wage without a job. Both rights must remain intact and linked together.";
quotes[4] = "A living wage has been shown to improve a worker's credit, to reduce workers' use of social service, temporary assistance to needy families, and Medicaid. It has put money into the pocket of workers that is almost always put back into the economy.";
quotes[5] = "No one who works for a living should have to live in poverty.";
quotes[6] = "You need to know that a member of Congress who refuses to allow the minimum wage to come up for a vote made more money during last year's one-month government shutdown than a minimum wage worker makes in an entire year.";
quotes[7] = "The high wage begins down in the shop. If it is not created there it cannot get into pay envelopes. There will never be a system invented which will do away with the necessity for work.";
quotes[8] = "We will never have real safety and security for wage earners unless we provide for safety and security for the wage payers and wage savers.";
quotes[9] = "The curse of poverty has no justification in our age.... The time has come for us to civilize ourselves by the total, direct and immediate abolition of poverty.";
var authors = new Array();
authors[0] = "Sodexho - during the bidding process at UMKC, December 2005";
authors[1] = "Jesus";
authors[2] = "President Franklin D. Roosevelt";
authors[3] = "Professor William P. Quigley";
authors[4] = "Dr. Charlie Clements";
authors[5] = "Senator Edward M. Kennedy";
authors[6] = "President William J. Clinton, 1996";
authors[7] = "Henry Ford";
authors[8] = "Okay, I just thought this one was funny.";
authors[9] = "Dr. Martin Luther King, Jr.";
numQuotes = 10;	//number of quotes

var qi = 0;	//quote count
var si = 0;	//string count
function runQuotes(){

	document.getElementById("author").firstChild.nodeValue="";
	document.getElementById("quote").firstChild.nodeValue=quotes[qi].substr(0,si);
	if (si<=quotes[qi].length) { 
		si++;
		setTimeout("runQuotes()", 40);
	}
	else{
		document.getElementById("author").firstChild.nodeValue=authors[qi];
	
		si=0;
		qi++;
		if(qi>=numQuotes){ qi=0; }
		setTimeout("runQuotes()", 9000);
	}
}
