

///////////////////////////////////////////////////////////////////////////////////////////////
/* 	ponder.js
	Code was created by C. Eton. Statement author unknown.  
 
 	Only 1 item need to be edited:

	1.  The Statements array variable.

*///////////////////////////////////////////////////////////////////////////////////////////////



///////////////////////////////////////////////////////////////////////////////////////////////
// List the statements to display.  Add statements as necessary.  


var Statements = new Array(

	'You cannot escape the responsibility of tomorrow by evading it today - Abraham Lincoln ',
	'My fellow Americans, Major Combat Operations in Iraq have ended. In the battle of Iraq, the United States and our allies have prevailed. - George W. Bush - May 1, 2003',
	'Better to remain silent and be thought a fool than to speak out and remove all doubt - Abraham Lincoln ', 
	'Whenever I hear anyone arguing for slavery, I feel a strong impulse to see it tried on him personally - Abraham Lincoln ', 
	'Nearly all men can stand adversity, but if you want to test a mans character, give him power- Abraham Lincoln ', 
	'Corporations have been enthroned...An era of corruption in high places will follow and the money power will endeavor to prolong its reign by working on the prejudices of the people...until wealth is aggregated in a few hands...and the Republic is destroyed - Abraham Lincoln ', 
	'The probability that we may fail in the struggle ought not to deter us from the support of a cause we believe to be just - Abraham Lincoln ', 
	'No man is good enough to govern another man without that others consent- Abraham Lincoln ', 
	'It has been my experience that folks who have no vices have very few virtues - Abraham Lincoln', 
	'I know that the LORD is always on the side of the right. But it is my constant anxiety and prayer that I and this nation should be on the LORDS side - Abraham Lincoln ', 
	'I dont know who my grandfather was; I am much more concerned to know what his grandson will be - Abraham Lincoln ', 
	'He can compress the most words into the smallest idea of any man I know- Abraham Lincoln ', 
	'Find out what whiskey he drinks and send all of my generals a case, if it will get the same results. - in reply to comments about General Grants drinking problems- Abraham Lincoln ', 
	'They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety - Benjamin Franklin ', 
	'Whoever would overthrow the liberty of a nation must begin by subduing the freeness of speech - Benjamin Franklin ', 
	'The will of the people is the only legitimate foundation of any government, and to protect its free expression should be our first object - Thomas Jefferson ', 
	'It is neither wealth nor splendor, but tranquility and occupation, which give happiness- Thomas Jefferson ', 
	'Honesty is the first chapter of the book of wisdom- Thomas Jefferson', 
	'An honest man can feel no pleasure in the exercise of power over his fellow citizens- Thomas Jefferson ', 
	'This country will not be a good place for any of us to live in unless we make it a good place for all of us to live in - Theodore Roosevelt', 
	'Poverty must not be a bar to learning and learning must offer an escape from poverty - LBJ ', 
	'Democracy is when the indigent and not the men of property are the rulers - Aristotle', 
	'I have a fantasy where Ted Turner is elected President but refuses because he doesnt want to give up power - Arthur C. Clarke',
	'If life were fair Dan Quayle would be making a living asking --Do you want fries with that? - John Cleese',
	'When I was a boy I was told that anybody could become President - Im beginning to believe it - Clarence Darrow',
	'Free speech is not to be regulated like diseased cattle and impure butter. The audience that hissed yesterday may applaud today even for the same performance - William O. Douglas',
	'Hell hath no fury like a bureaucrat scorned - Milton Friedman',
	'The modern conservative is engaged in one of mans oldest exercises in moral philosophy -that is- the search for a superior moral justification for selfishness - John Kenneth Galbraith',
	'Those who stand for nothing fall for anything - Alexander Hamilton',
	'What luck for rulers, that men do not think - Adolf Hitler',
	'Whenever a man has cast a longing eye on offices a rottenness begins in his conduct - Thomas Jefferson',
	'Every politician should have been born an orphan and remain a bachelor - Lady Bird Johnson',
	'One of the penalties for refusing to participate in politics is that you end up being governed by your inferiors - Plato',
	'It is enough that the people know there was an election. The people who cast the votes decide nothing. The people who count the votes decide everything - Joseph Stalin',
	'There are many men of principle in both parties in America but there is no party of principle - Alexis de Tocqueville',
	'All the president is is a glorified public relations man who spends his time flattering kissing and kicking people to get them to do what they are supposed to do anyway - Harry S. Truman',
	'Half of the American people have never read a newspaper. Half never voted for President. One hopes it is the same half -Gore Vidal',
	'A conservative is a man who just sits and thinks mostly sits - Woodrow Wilson',
	'I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones - Albert Einstein'
);


/*
	GetStatement( ) is the primary function.  It assumes the following:
	
	1.  The HTML file contains a form named "statementform".
	2.  Within the statement form, there is a textarea or textbox named "statement".               */

function GetStatement(outputtype) //modified by javascriptkit.com to either write out result or set innerHTML prop
{
	if(++Number > Statements.length - 1) Number = 0;
	if (outputtype==0)
	document.write(Statements[Number])
	else if (document.getElementById)
	document.getElementById("ponder").innerHTML=Statements[Number];
}


//  The GetRandomNumber( ) function extracts a random number within a given range.


function GetRandomNumber(lbound, ubound) 
{
	return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}


// The Number variable keeps track of which statement to display.  It will start at a random point.                

var Number = GetRandomNumber(0, Statements.length - 1);






