var currItem, 
currItem=-1

var quote=new Array(20)
quote[0]="1. Why is it that we cannot recognize our original face? It\'s because we haven't demolished our mark of self and selfishness."
quote[1]="2. The word \"investigate\" in \"investigating Chan\" means to contemplate. Contemplate what? Prajna. Be constantly aware of the presence or absence of self, and pay no heed to the presence or absence of others. Are you really there or not?."
quote[2]="3. People who investigate Chan must first recognize the basic problem clearly. What problem? Our bad habits and faults. Participating in a Chan session is to rid ourselves of bad habits and faults."
quote[3]="4. In the Chan hall, everybody investigates Chan and meditates. This is a test to see who can pass and attain Buddhahood. How do you pass? Inside, be free of body and mind; outside, cast off the world."
quote[4]="5. Many people who investigate Chan commit two mistakes: one is having an unsettled state of mind, the other is drowsiness. They are either having idle thoughts or falling asleep during their meditation."
quote[5]="6. To investigate Chan, one must have patience and perseverance. The secret to investigating Chan is patience. Even if you can't bear it anymore, you must persevere. Once you have endured to the extreme, then everything will be interpenetrating and you will become enlightened."
quote[6]="7. When your investigation of Chan reaches maturity, not only will you have no false thinking, you\'ll also have less anger, your afflictions will decrease, your character will improve, and your measure will expand."
quote[7]="8. Why don't we have any response in the Way? It\'s because our wild minds do not rest."
quote[8]="9. To investigate Chan, one must have patience, for that is your means to enlightenment."
quote[9]="10. We have the opportunity to become enlightened when we investigate Chan. When our true nature appears, it\'s like myriad things start to grow."
quote[10]="11. A person who truly investigates Chan is a person who truly recites the Buddha\'s name; a person who truly recites the Buddha\'s name is also a person who truly investigates Chan. A person who truly upholds the precepts is also a person who truly investigates Chan; a person who truly investigates Chan is also a person who truly upholds the precepts."
quote[11]="12. What is the \"real me?\" It is the inherent nature and the attainment of Buddhahood. Only when one attains Buddhahood, can one find the 'real me.' Before that, everything is false."
quote[12]="13. Whoever does not have any defiled attachments is a Buddha. Whoever has defiled attachments is a living being. What is a defiled attachment? To put it in simple words, it is whatever one cannot see beyond and leave behind, and what causes one to constantly have polluted thoughts."
quote[13]="14. When you have applied exacting effort to your cultivation, food and clothing become secondary. How much the more in regard to other external objects. All the more should you let go of them."
quote[14]="15. Cultivation is not limited to practicing Chan meditation and reciting Sutras. Instead, cultivation is for one to be at all times without too much discrimination. Furthermore, do not contend for power; do not vie for leadership to supervise other people and show off before the Master."
quote[15]="16. The essential quality of the Way is concentration; that of a general is his strategic skill, not his courage; that of an army is its quality, not its size."
quote[16]="17. Sincerely reciting the Buddha\'s name is to constantly concentrate one\'s mind on the recitation without any false thinking or desire to eat and drink. Reciting to the point where everything is forgotten is true mindfulness of the Buddha."
quote[17]="18. When you are mindful of the Buddha, the Buddha will also be mindful of you. It is a bit like sending a telegram to Amitabha Buddha. This is known as the \"intertwining of the response and the Way.\" If you are not mindful of the Buddha, he will not receive your message. Therefore, it is imperative that you uphold the Buddha's name."
quote[18]="19. In reciting mantras, one should so recite that the mantra flows out of one\'s mind and returns to one'\s mind. The mantra mind and the mind mantra -- the mantra and the mind are united in sound after sound and are never apart from each other. One is reciting, yet not reciting; one is not reciting, yet constantly reciting."
quote[19]="20. When you venerate the Buddha, and the Buddha accepts your veneration, you will increase your blessings and wisdom. That is to say that bowing to the Buddha is an influence, and his receiving the veneration is a response. That is the \"intertwining of the Way.\""

function ShowItem(itemNo) {
	switch(itemNo) {
		case -2:
			currItem = 0;
			break;
		case -1:
			currItem = currItem - 1;
			if (currItem < 0)
				currItem = 0;
			break;
		case 1:
			currItem = currItem + 1;
			if (currItem > quote.length-1)
				currItem = quote.length-1;
			break;
		case 2:
			currItem = quote.length-1;
			break;
		default:
			break;
	}
	document.quote.text.value=quote[currItem]
}
