var currItem, 
currItem=-1

var quote=new Array(25)
quote[0]="1. To cultivate the Way is to turn yourself around. What does that mean? It means to benefit others, and take a loss yourself. It means to renounce oneself (the small self) in order to accomplish the greater good for all."
quote[1]="2. Do not harbor animosity even towards the demons; treat them as good and wise advisors who aid you in cultivation."
quote[2]="3. Our varying degrees of false-thinking are due to the varying karma we have created in life after life throughout limitless aeons. Heavy karma results in abundant false-thoughts; light karma results in fewer false-thoughts."
quote[3]="4. Cultivators should cultivate the Way in order to end birth and death and cross over living beings - not for the sake of obtaining a response."
quote[4]="5. Cultivators of the Way should reflect within at all times. Do not seek outside, for the way cannot be found there."
quote[5]="6. When we first resolve to cultivate the Way, our biggest obstacle is sexual desire. This remains the fundamental problem."
quote[6]="7. Cultivators of the Way! Take heed! Do not get involved in defiled situations with anyone. Otherwise, entangled and confused, you will surely fall."
quote[7]="8. We are fortunate to have this human body. If we fail to take advantage of our human bodies to cultivate, then it will be too late."
quote[8]="9. Bring forth your true mind in studying the Buddha-dharma. Your every move and action, your every words and deed needs to be true."
quote[9]="10. You should conserve the resources of every Way-place. It is said, \"Cherish all the properties of the Permanently Dwelling as you would the pupils of your eyes\"."
quote[10]="11. Neither loving nor hating anything is the Middle Way. We speak of cultivating the Way, but what is this Way that we cultivate? It is the Middle Way -- treating everyone with equanimity, kindness and compassion."
quote[11]="12. Cultivating the Way today with the hope of attaining Buddhahood tomorrow is like expecting to dig a well with just one scoop of a shovel. That would be impossible. Cultivating the Way is like grinding an iron bar down into the size of a needle -- after you exert sufficient effort, you will achieve your goal."
quote[12]="13. Before learning any mantras, you should first develop proper mindfulness and mature a sincere intent. If your mind is not proper, then any mantra you learn will miss the mark. Only when you have proper mindfulness will you evoke a response from learning mantras."
quote[13]="14. Ignorance has two accomplices. What are they? The partners of ignorance are the desire for food and the desire for sex. Both conspirators help ignorance commit a variety of bad deeds."
quote[14]="15. It's said that \"When you try to be good, karmic debts will appear; when you attempt to accomplish Buddhahood, first you have to undergo the insults of the demons.\" If you do not aspire to be good, your karmic debts will not know where to look for you. The more you resolve to be good, the more your karmic debts will come looking for you, determined to claim what you owe."
quote[15]="16. The differences between a Buddha and a demon lies in just a single thought. A Buddha has a kind and compassionate mind. A demon has a contentious mind."
quote[16]="17. Those who truly know cultivation do the work right within their daily activities. Every act, every deed constitute cultivation."
quote[17]="18. A cultivator should not sell or advertise his cultivation. Whoever sells his cultivation will fall under the spell of demons."
quote[18]="19. Cultivators of the Way should, on all occasions, conceal their brightness and erase their tracks. They should not show off their extraordinary qualities."
quote[19]="20. Our minds always exist in the \"other\'s\" place rather than in the \"self\'s\" place. Existing in the other\'s place means that one is physically present but mentally absent."
quote[20]="21. Lecturing on sutras is cultivating wisdom. Meditating is cultivating samadhi. Refusing to speak casually is cultivating precepts."
quote[21]="22. It is said, \"Affliction is Bodhi.\" If you know how to do it, you can turn affliction into Bodhi. If you do not know how, Bodhi can turn into affliction."
quote[22]="23. Cultivation is \"training to play the fool.\" Training to play the fool means to appear clumsy and inept. For in cultivation, the more stupid you are, the better. If you are foolish to the point of knowing nothing, you will do no further false-thinking."
quote[23]="24. Ignorance means \"not understanding.\" The root of ignorance is desire."
quote[24]="25. The main purpose of cultivation is to end birth and death, not to obtain efficacious responses."

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]
}
