
///////////////////////////////////////////////////////////////////////////////////////////////
/* 	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(

	'<span class="normaltexttestimonialbold">What people say:</span>"I must say I really like your site, very easy to use and a brilliant idea" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Thank you for allowing us to take part in such a valuable economic way of enjoying more of life" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Such a great idea. Thank you for ALL the time, effort and expense is has taken you." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Thanks for your friendly welcoming email and great site" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"I think your program for pet sharing is absolutely wonderful and needed desperately." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"The site is well designed and the concept is right on." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"I am delighted with your web-site and have now sold my share after receiving 12 enquiries." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"We appreciated the sale of 2 shares in our boat through your site." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"We shall use you again to share our next boat." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"A great site: we have recommended it to lots of people." ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Your input and advice are greatly appreciated. Thank you again!" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Great information -- thank you!" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"I think your website and the " share " concept is brilliant" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Many thanks for all your efforts; we often tell people what a fantastic website you have" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Very pleased with the responses to the ad. I had a number of potential interested people contact me" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Your website will be increasingly successful and I wish you luck with it. I will certainly use it again" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"I have found the perfect person to share my flat on a weekly basis. Yours is so much better than other websites" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"WOW! You are a wonderful genius. Have just logged onto site - best I have seen" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"I will definitely be using and recommending your site, great ideas with sincere people behind them deserve support" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"The service you provide has come across as personal and in this "electronic faceless age" is a breath of fresh air" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Thank you for your attention, please always stay contactable and approachable, it is special" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"You did an outstanding job. Merci!" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Thanx, what great service!" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"Many thanks for your help and the speed of your response. I have now downloaded the document" ', 
	'<span class="normaltexttestimonialbold">What people say:</span>"What great service. Good luck with the website. I will certainly tell my friends" ' 
);


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






