var currItem, 
currItem=-1

var quote=new Array(14)
quote[0]="1. The Sangha is attained when four or more who have given up the householder\'s life live together in harmony and peace, without conflicts or attachments."
quote[1]="2. The Ones Who Give Up the Householder\'s Life should observe strict deportment when they walk, sit, stand, or recline. As it is said, \"Walk like the breeze, sit like a bell, stand like a pine tree, and when lying, bend like a bow.\""
quote[2]="3. Those who seek transcendental Dharma leave behind the worldly Dharma. It is impossible to stand in two different boats when one is going north and the other, south."
quote[3]="4. All high and lofty Dharma Masters and the greatly virtuous ones obtained their enlightenment by ascetic practices and diligent cultivation. You can search through the Great Buddhist Canon and not find even a single one who attained enlightenment through pleasure."
quote[4]="5. What are the criteria for choosing an Abbot? He must be respectable, even-tempered, congenial and affable. He should practice democracy, and the abuse of power should be unknown to him."
quote[5]="6. The Ones Who Give Up the Householder\'s Life may accept offerings, but, like true disciples of the Buddha, do not seek them."
quote[6]="7. The Ones Who Give Up the Householder\'s Life leave behind concern for fame and social status. Disciples of the two-fold assembly (monks and nuns) have a correct spirit and mind; they will suffer on behalf of all living beings in order to save them."
quote[7]="8. The Ones Who Give Up the Householder\'s Life vigorously investigate Chan; they practice meditation; they uphold mantras; they recite sutras, and strictly uphold the precepts. If instead they simply rely on the Buddha for food and clothing, they will fall into the three evil paths."
quote[8]="9. When filled with essence, cold does not exist; when filled with energy, hunger does not exist; When filled with spirit, exhaustion does not exist. Therefore, essence, energy, and spirit are three treasures cultivated by the Ones Who Leave Home."
quote[9]="10. Left-home people serve as models for laypeople. If you cannot be a good model, then you cannot evoke faith within the laypeople and you won\'t be able to influence them. Therefore, left-home people should comport themselves in a way proper for left-home people."
quote[10]="11. Left-home people should have proper knowledge and proper views. Without them, one will surely fall into demonic ways and be caught by the fifty skandha-demons. Left-home people should do things together as a group. One should not have a special style, or just do whatever one pleases."
quote[11]="12. \"Concentration yields efficacy. Distraction leads to hindrance.\" What do we concentrate on? To attain concentration, one should get rid of desires and love. If the desires and love are not cut off, then even if one leaves the home-life and cultivates for eighty thousand great eons, one will not achieve the Way. This point is of vital importance."
quote[12]="13. We have to cultivate the Way and nurture our virtue all the time. When our virtue and our cultivation in the Way are both perfected, then we will be worthy of being left-home people."
quote[13]="14. Left-home people take propagating the Dharma as their main responsibility. Spreading the Buddhadharma is our basic duty and obligation. Therefore, our every thought should be devoted to propagating the Dharma. Our every movement should speak the Dharma for living beings."

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]
}
