var howMany = 29;
var quote = new Array(howMany+1);
quote[0]="Outstanding people have one thing in common: an absolute sense of mission.";
quote[1]="Where you start is not as important as where you finish.";
quote[2]="The secret of joy in work is contained in one word-- excellence. To know how to do something well is to enjoy it. ~ Pearl S. Buck";
quote[3]="Be a yardstick of quality. Some people aren't used to an environment where excellence is expected. ~ Stephen Jobs";
quote[4]="Perfection is not attainable. But if we chase perfection, we can catch excellence. ~ Vince Lombardi";
quote[5]="If you are going to achieve excellence in big things, you develop the habit in little matters. Excellence is not an exception. It is a prevailing attitude. ~ Colin Powell";
quote[6]="Unless a man believes in himself and makes a total commitment to his career and puts everything he has into it his mind, his body and his heart what is life worth to him? ~ Vince Lombardi";
quote[7]="It is wonderful to be in on the creation of something, see it used, and then walk away and smile at it. ~ Lady Bird Johnson";
quote[8]="Any activity becomes creative when the doer cares about doing it right or better. ~ John Updike";
quote[9]="People don't care how much you  know,  unless they know how much you care";
quote[10]="A man is a success if he gets up in the morning and gets to bed at night, and in between he does what he wants to do. ~ Bob Dylan";
quote[11]="In matters of principle, stand like a rock; in matters of taste, swim with the current. ~ Thomas Jefferson";
quote[12]="You've achieved success in your field when you don't know whether what you're doing is work or play. ~ Warren Beatty";
quote[13]="The four prerequisites for a successful real estate developer are guts, imagination, persuasion, and integrity. Like a four-legged table, if one leg is missing, it wobbles ~ George Bockl";
quote[14]="Benefiting people is the most powerful selling tool  George Bockl";
quote[15]="The greatest achievement is to outperform yourself. ~ Denis Waitley";
quote[16]="If what you have done yesterday still looks big to you. You haven't don't much today. ~ Mike Krzyzewski";
quote[17]="Excellence is doing ordinary things extraordinarily well. ~ Jose Ortega Y Gasset";
quote[18]="Fast is fine, but accuracy is everything. ~ Wyatt Earp";
quote[19]="If I had eight hours to chop down a tree, I'd spend six sharpening my axe. ~ Abraham Lincoln";
quote[20]="One person with passion is better than 40 people merely interested. ~ E.M. Forster";
quote[21]="There's only one way to succeed in anything and that is to give everything. ~ Vince Lombardi";
quote[22]="A lot of companies have chosen to downsize, and maybe that was the right thing for them. We chose a different path. Our belief was that if we kept putting great products in front of customers, they would continue to open their wallets. ~ Steve Jobs";
quote[23]="Quality is more important than quantity. One home run is much better than two doubles. Steve Jobs, Business Week";
quote[24]="Price is what you pay. Value is what you get. ~ Warren Buffett";
quote[25]="People forget how fast you did a job - but they remember how well you did it. ~ Howard Newton";
quote[26]="If you can dream it, then you can achieve it. You will get all you want in life if you help enough other people get what they want. ~ Zig Ziglar";
quote[27]="If you don't have a competitive advantage, don't compete. ~ Jack Welch";
quote[28]="Regard it as just as desirable to build a chicken house as to build a cathedral. ~ Frank Lloyd Wright";
quote[29]="I like thinking big. If you're going to be thinking anything, you might as well think big. ~ Donald Trump";

function rndnumber(){ 
	var randscript = -1;
	while (randscript < 0 || randscript > howMany || isNaN(randscript)){ 
		randscript = parseInt(Math.random()*(howMany+1));
	} 
	return randscript;
}

function setQuote() {

    quo = rndnumber();
    quox = quote[quo];

    divToUpdate = document.getElementById('dynamicQuote');
    if (divToUpdate) {
        divToUpdate.innerHTML = quox;
    }
    //document.write(quox)
}

setInterval("setQuote()", 10000);