
///////////////////////////////////////////////////////////////////////////////////////////////
/* 	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(

	'Whatcha <i>do</i>-in\'? ', 
	'Love the beard, Kevin. ', 
	'Love the beard, Kevin. ', 
	'I know what we\'re gonna do today. ',
	'Your breath smells like candles.',
	'I saw a rat give birth to a snail.',
	'Curse you, Perry the Platypus! ',
	'You guys are so busted! ',
	'Hey, where\'s Perry? ',
	'Oh, there you are Perry. ',
	'Mom! Phineas and Ferb are making a title sequence! ',
	'You\'re giving a monkey a shower?! ',
	'There were actual squirrels in her pants. ',
	'Aren\'t you a little young to be time travellers? ',
	'Aren\'t you a little too female to be Morty Williams? ',
	'I love it when he turns left and then... he turns left again.... and then... left again.... ',
	'I\'ve got to take a new picture of myself for my blog. I didn\'t realize mine is almost a week old! ',
	'Bad beards forever, dude! ',
	'Well, he is a contractor. They don\'t do much. ',
	'Well, he is a platypus. They don\'t do much. ',
	'I just sensed a disturbance in the cup-stacking universe. ',
	'With a slight chance of scattered lawn gnomes. ',
	'Perry the Platypus, your dragon robot is no match for my Queen Elizabeth the First... robot. Do you want to switch? Come on, be a sport! ',
	'Nah. Just try not to blow a hole through the Earth\'s core, or we\'ll both be in deep doody. ',
	'She\'s a semi-neurotic teenage girl of action. ',
	'You see, it occurred to me that what I should really be doing is fighting fire with fire. And by <i>fire</i>, I mean <i>Perry the Platypus</i>. And by <i>fire</i>, I also mean <i>Perry the Platypus</i>. It occurred to me while I was on fire! ',
	'Ferb, put the cold fusion reactor on hold. I know what we\'re gonna do today. ',
	'I think I just tanned my eyeballs. ',
	'Well it was definitely better than the gorilla in the cake. ',
	'I guess there\'s no glory in thighs. ',
	'Why do my nostrils whisper to me? ',
	'Haha, I made you carry your own trap! ',
	'Perry the platypus, come back and thwart me! ',
	'This place is creeping me out. If I had any underpants left, I am sure they would have been soiled. ',
	'Look, Perry the platypus, just because I\'m evil doesn\'t mean everything I do is evil. ',
	'I just insulted the macaroni-and-cheese recipe of a whale! What part of that is not evil? ',
	'It\'s hard to fight when you\'re in a ballgown. ',
	'Dr. Wexler, you\'re a platypus. ',
	'Nothing says <i>mother\'s love</i> like a giant, robotic platypus butt. '
);


/*
	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);







