

///////////////////////////////////////////////////////////////////////////////////////////////
/* 	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(
'Police and wildlife experts are trying to track down the beast and have warned people not to approach it if they see it.', 
'It leapt at me, gripping my leg. There were punctures from its sharp teeth and scratches.', 
'It could be a hybrid, we want to know what it is and find it so it poses no further danger.',
'MBR \'Mysterious Beasts Research\', in Britain, says it registers an average of three sightings a week.',
'The MBR plans to set up a network of webcams to try to gain evidence of large canivores.',
'MBR field agent asks \"Is there more to the tales regarding The Beast of Bodmin Moor\", during EU conference.',
'She followed the footprints, out across a field, but they just stopped, as if the animal had disappeared into thin air.',
'The noise was a loud, scratching noise at her front door. After daylight, she checked the door to find huge claw marks down it. ',
'The beast, which looked like a large wolf, dashed in front of the car, and then vanished completely.',
'I\'ve lost half my flock to those beasts. They should be hunted down, and destroyed forever.',
'I want to get in touch with the MBR, I am afraid for myself, and my family. We have a creature roaming our land, after dark',
'There are cases where the beasts appear at famous \'haunted sites\', like old Roman Forts, and Bronze Age Burials.',
'I am lucky to be alive. I could feel my blood draining away, into the earth. The thing was going to kill me.',
'The animal was no dumb beast, it stalked me and my horse for several miles, biding its time, waiting to strike.',
'I M trapped n my car, w my fone, pls snd hlp. It iz outside d car!',
'There\'s no such thing as \'the beast of bodmin moor\', it\'s a myth, a daft tale to scare the kids! Isn\'t it?',
'Goverment to investigate supposed MB\'s, after NFU demand compensation for ravaged cattle.',
'It\'s no joke! I\'ve been stalked by one of these creatures. They are NOT big cats...they are larger, more feral, more dangerous! ',
'Distraught father claims wolf-like beast attacked, and killed, his son while exploring the moors.',
'The animal watched us, for several minutes, before vanishing into thin air!',
'Someone MUST do something. The public must be made aware of how vicious these animals can be!',
'Wild animal pack maul a man to death, in the forests of Peak Falls, as his family watch in terror.',
'I saw one in 1986, when I was a boy in the Forest Park. Around five friends and myself fled a mile down Forestry Road.',
'I\'ve spent my entire life in the forests of Scotland, and I\'ve never seen anything...except a few claw marked trees.',
'Could these \'beasts\' be exotic pets, which have escaped from the owners? Make\'s sense, but is no less frightening.',
'jst cn a beast, it wz huge, vicious & BWO. ',
'There was a wood, just in front of the old station and that\'s where I saw it. It had a big body and powerful back legs.',
'1978 - I was working the night shift at Margam Steel, a large animal, tried to rip open the door to the JCB. I was terrfiied.',
'Bigger than an alsatian and completely black, the shoulders were very high and it exhibited great speed and stealth.',
'A large predator approached from behind and bit deeply into the throat, injuries are fully consistent with bear attacks.',
'I\'m a helicopter pilot, flying over the land daily, I\'ve seen several of these MB\'s. They hunt in packs.',
'Check my web-site with photographs of claw marks seen on the standing stone at Grid Ref SN8547 2150.',
'Deaths by MB\'s soar on full moons. New goverment paper to address the issue. Do MB\'s exhibit ritualistic behavoir?'
);


/*
	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);







