var arrQuotes = new Array();

arrQuotes[0]="Personality is a useful tool but it cannot define who you are. Who you are lies far beyond who you think you are.";
arrQuotes[1]="You don't have to be perfect, you don't have to have good health, you don't have to do it before your body dies, it's got nothing to do with anything : it's right now, place your attention behind any stories, any concepts. From there, freedom arises, beauty arises, love arises.";
arrQuotes[2]="As long as the 'I' is looking for peace, there will be no peace.";
arrQuotes[3]="Something underneath is taking care of all, is taking care of what you really are.";
arrQuotes[4]="Thoughts appear and disappear all by themselves. There is no ownership to be claimed, because there is no owner.";
arrQuotes[5]="The freedom you look for is where you look from.";
arrQuotes[6]="Right here, right now, you can settle into your most natural state, that which enjoys uninterrupted peace of mind and liberation in your heart.";
arrQuotes[7]="Happiness is a direct experience arising from your innate nature.";
arrQuotes[8]="Your true nature is causeless and living causeless happiness is your natural state of being.";
arrQuotes[9]="All external circumstances, activities, possessions and events are designed to keep the mind entertained. But happiness is outside the realm of the mind, it is outside the functionings and capacity of the mind. It is in the realm of placing your attention on your innate nature. To feel and experience real happiness, causeless happiness, requires a conscious or unconscious surrendering of your interest in your thoughts.";
arrQuotes[10]="Be prepared to let the consequences take care of themselves.";
arrQuotes[11]="Rest at the source of the next thought. That's all.";
arrQuotes[12]="There is nothing to fix, nothing to do, nothing needs to be better, nicer, or in a certain way : all that stuff is just thoughts, there's no need to take any interest in it. How things are is just fine. Rest. Rest on the inside.";
arrQuotes[13]="Suffering is an idea that there is an 'I' that doesn't like what is happening.";
arrQuotes[14]="Let your attention be on what is taking place, not on how you fear it may impact you.";
arrQuotes[15]="The problem is not with the mind, it is the personal identification with thoughts that creates suffering.";
arrQuotes[16]="There is nothing to fear, ever. If you continue to place attention on fear-creating ideas, knowing that your thoughts create emotions, you will feel fear. In a moment, you can decide that enough is enough and end your pattern of feeling fear.";
arrQuotes[17]="Sit still, be quiet, and don't engage with any thoughts that come, just let them pass without your interest. Do not search for the Self for this would be like your eye trying to see your retina. You are Self.";
arrQuotes[18]="Nothing is actually happening to you unless you want to believe it is.";
arrQuotes[19]="To abide in your natural state requires no movement or doing on your part.";
arrQuotes[20]="Stopping unnecessary mental doing allows the natural state to arise. Deep stillness always rests under an agitated mind.";
arrQuotes[21]="Let your mind be focussed inward. Let your attention rest calmly in its natural state.";
arrQuotes[22]="Relax. Resting mind activity disarms gross identification. There is no 'how' to stop thinking. Simply stop getting involved in the stories of your thoughts.";
arrQuotes[23]="In any moment, you are either observing effortlessly or you are believing your thoughts.";
arrQuotes[24]="You may see that every single thought you can entertain only serves to perpetuate the personal 'I'.";
arrQuotes[25]="";

var intQuoteIndex = -1;

function random()
{
var Q = arrQuotes.length;
var qDex = Math.floor(Math.random() * (Q-1));
return qDex;
}

// function to generate a new random quote.
function nextQuote()
{
// keep track of the current quote index.
// use a while loop to generate a new index
// that is different from the current one
// assign the new arrQuotes[index] text to the
// quote display element

// Assign the new quote content to the innerHTML
var intTemp = random();
while(intTemp != intQuoteIndex)
{
document.getElementById("qotmo").innerHTML = arrQuotes[intTemp];
intQuoteIndex = intTemp;
}
}
