///////////////////////////////////////////////////////////////////////////////////////////////
/* 	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(

'The True You, your Self, serves as a glowing light for others as they take their journey. ',
'As I found meaning in my individual experiences, I was able to view my Life Purpose. As I did this, I was freed to become more completely who I was meant to be, and in doing so, I found my Reason for Being and the Meaning of my Life. ',
'When we find meaning in our daily life, we catch a glimmer of our Life Purpose. Frequent \"glimmers\" help us view the bigger picture and capture the Cosmic View. With this comes an understanding of our Reason for Being. When we are able to capture the Cosmic View and understand the implications, we can make Meaning of our Lives. We know why we are here and what we need to do to continue our Soul-work. ',
'To Be is to emanate spiritual energy; Being is to be spiritually present; to Become is to achieve maximum integration of body, mind, and Soul. ',
'Life is a journey. There are many pathways to choose from, each with an opportunity for learning. What we do on the journey determines the meaning we derive from the experiences. ',
'Our Self-knowing comes from listening to our inner voice which draws from our Soul and the Universe. ',
'I think all of us yearn to be connected with our Soul, so we search for ways to reconnect! If that is the case, all we have to do is remember to listen to our inner voice. ',
'Initially, viewed as individual life experiences with momentary meaning, the pearls can now be perceived differently. The relationship among the individual experiences creates a clearer picture of what is and is not meaningful in our lives. With this insight, we gain awareness of our Essence of Self, which we are able to compare with our sense of self. The closer the two match, the closer we are to understanding our Life Purpose, a precursor for finding our Reason for Being. Actualizing our Life Purpose, or Self-Actualizing, requires merging our sense of self with our Essence of Self. ',
'Our sense of self is how we perceive ourselves, based on the perceptions and attitudes of others. It may be closely linked to our Essence of Self, but not necessarily. ',
'Our Self is who we are, across time; it is the nature of our Soul. Our Essence of Self is the nature of our Spirit within a given lifetime. ',
'We convert from Soul energy to Spiritual energy to live as holistic human beings and accomplish our Life Purpose. Spiritual energy (spirit) integrates with the human body, creating holistic human beings. Our spirit, then, is the link between our Soul and our human form. It pulls the parts together, bringing with it meaning. ',
'If our Soul comes first, then there must be a reason for us to exist in human form. I think our reason for becoming a human being is to continue a specific aspect of our Soul-work. It is our Reason for Being! '
);


/*
	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("quote").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);







