/***********************************************************************
Copy this file to the webserver and add the lines

<script type="text/javascript" src="mind_training/random_instruction.js">
</script>

to your html where you want the quote to appear. (Version 1.0)

Quotes are copyright by Michele Martin and are used by her permission. 
***********************************************************************/

function random_instruction () {
var quote = new Array();

quote[0]="Now that you have obtained a precious human body,the great boat so difficult to find,<br />In order to free yourself and others from the ocean of samsara,<br />To listen, reflect, and meditate with diligence day and night<br />Is the practice of a Bodhisattva.</p>";

quote[1]="Passion towards friends churns like water.<br />Hatred towards enemies burns like fire.<br />Through dark ignorance, one forgets what to adopt and what to reject.<br />To abandon one's homeland is the practice of a Bodhisattva.</p>";

quote[2]="Giving up negative places, Mental afflictions gradually decrease.<br />With no distractions, virtuous activities naturally increase.<br />When mind becomes clear, Certainty in the Dharma is born.<br />To rely on solitude is the practice of a Bodhisattva.</p>";

quote[3]="Old friends and relatives will separate.<br />Possessions gained with effort will be left behind.<br />Consciousness, the guest, will leave the guesthouse of the body.<br />To let go of this life is the practice of a Bodhisattva.</p>";

quote[4]="<p>When friendship with someone<br />Causes the three poisons to increase,<br />Degrades the activities of listening, reflecting, and meditating,<br />And destroys loving kindness and compassion,<br />To give up such a friendship<br />Is the practice of a Bodhisattva.</p>";

quote[5]="<p>When in reliance on someone, your defects wane<br />And your positive qualities grow like the waxing moon,<br />To cherish such a spiritual friend even more than your own body<br />Is the practice of a Bodhisattva.</p>";

quote[6]="<p>Themselves captives in the prison of samsara,<br />Whom can the worldly gods protect?<br />Therefore, to seek refuge in those who do not deceive,<br />the Three Jewels, Is the practice of a Bodhisattva.</p>";

quote[7]="<p>The suffering of the lower realms, so difficult to bear,<br />Is the fruit of wrong deeds, so the Buddha taught.<br />Therefore, even at the cost of your life,<br />Never to commit negative actions<br />Is the conduct of a Bodhisattva.</p>";

quote[8]="<p>Like dew on the tip of a blade of grass<br />Happiness in the three worlds evaporates in a single instant.<br />To strive for the supreme state of liberation that never changes<br />Is the practice of a Bodhisattva.</p>";

quote[9]="<p>From beginningless time your mothers have cherished you.<br />If they now suffer, what good is your own happiness?<br />Therefore, in order to liberate limitless sentient beings,<br />Giving rise to bodhichitta is the practice of a Bodhisattva.</p>";

quote[10]="<p>All suffering comes from yearning for your own happiness.<br />The perfect Buddhas are born from the intention to benefit others.<br />Therefore, to truly exchange your own happiness for the suffering of others<br />Is the practice of a Bodhisattva.</p>";

quote[11]="<p>Even if someone driven by desire steals all your wealth<br />Or incites someone else to steal it,<br />To dedicate to this person your body, possessions,<br />and all your virtue of the three times<br />Is the practice of a Bodhisattva.</p>";
 
quote[12]="<p>If someone cuts off your head<br />Even when you have not done the slightest thing wrong,<br />Through the power of compassion<br />To take his misdeeds upon yourself<br />Is the practice of a Bodhisattva.</p>";

quote[13]="<p>Should someone slander you<br />Throughout a billion worlds,<br />With a heart full of love, to proclaim his good qualities in return<br />Is the practice of a Bodhisattva.</p>";

quote[14]="<p>If in the middle of a crowd of people<br />Someone reveals your hidden faults and abuses you for them,<br />To see him as a spiritual friend and to bow with respect<br />Is the practice of a Bodhisattva.</p>";

quote[15]="<p>If someone whom you dearly cherish like your own child<br />Takes you for an enemy,<br />Then, like a mother whose child is sick,<br />To love that person even more<br />Is the practice of a Bodhisattva.</p>";

quote[16]="<p>Even when someone who is your equal or inferior<br />Driven by spite seeks to defame you,<br />To place him on the crown of your head<br />With the same respect you would accord your guru<br />Is the practice of a Bodhisattva.</p>";

quote[17]="<p>Though gripped by poverty and always scorned,<br />Though stricken by disease and tormented by evil spirits,<br />To take upon yourself the negativity and suffering of every being<br />And never to get discouraged<br />Is the practice of a Bodhisattva.</p>";

quote[18]="<p>Though famous and prominent, someone to whom others bow,<br />Though you amass the riches of the god of wealth,<br />To see that worldly splendor has no essence<br />And thus to be without arrogance<br />Is the practice of a Bodhisattva.</p>";

quote[19]="<p>If you have not tamed the enemy of your own anger,<br />Combating outer opponents will only make them multiply.<br />Therefore, with an army of loving kindness and compassion,<br />To tame your own mind is the practice of a Bodhisattva.</p>";

quote[20]="<p>Sense pleasures are like salt water.<br />The more you partake of them,<br />The more your craving will increase.<br />Therefore, when something arouses attachment,<br />To abandon it immediately is the practice of a Bodhisattva.</p>";

quote[21]="<p>All appearances are your own mind, and<br />Mind itself primordially transcends all mental fabrications.<br />Knowing this is the precise nature of reality,<br />To remain free from dualistic conceptions<br />Is the practice of a Bodhisattva.</p>";

quote[22]="<p>When you encounter objects that please your mind,<br />Know they are like rainbows in the summer season.<br />Though they seem beautiful,<br />To see they are not real and to give up attachment to them<br />Is the practice of a Bodhisattva.</p>";

quote[23]="<p>All suffering is like the death of your child in a dream.<br />To take such delusive appearances as true, how exhausting!<br />Therefore, whenever you encounter unpleasant circumstances,<br />To see them as delusions is the practice of a Bodhisattva.</p>";

quote[24]="<p>If those who aspire to enlightenment willingly give up their bodies,<br />What need is there to mention external objects?<br />Therefore with no hope of reward or benefit,<br />To give with generosity is the practice of a Bodhisattva.</p>";

quote[25]="<p>If lack of discipline prevents you from benefiting yourself,<br /Then your wish to benefit others is just a joke.<br />Therefore, to guard discipline<br />With no longing for worldly existence<br />Is the practice of a Bodhisattva.</p>";

quote[26]="<p>For a Bodhisattva who seeks a wealth of virtue<br />Every harm is like a precious treasure.<br />Therefore, without getting irritated by anything at all,<br />To cultivate patience is the practice of a Bodhisattva.</p>";

quote[27]="<p>If Shravakas and Pratyekabuddhas, who strive for their benefit alone,<br />Expend effort as if to extinguish a fire burning on their heads,<br />Then for the benefit of all beings,<br />To cultivate joyous effort, the wellspring of positive qualities,<br />Is the practice of a Bodhisattva.</p>";

quote[28]="<p>Vipashyana perfectly endowed with shamatha<br />Completely conquers all afflictions.<br />To cultivate meditative stability That transcends the four formless states<br />Is the practice of a Bodhisattva.</p>";

quote[29]="<p>Without superior knowledge,<br />It is not possible to attain perfect enlightenment through<br />the first five paramitas alone.<br />Therefore, joining it with skillful means<br />and not conceptualizing about the three spheres<br />Is the practice of a Bodhisattva.</p>";

quote[30]="<p>If you have not analyzed your own confusion,<br />You might put on a Dharmic façade<br />While behaving in a non-Dharmic way.<br />Therefore, to continuously analyze your delusion and discard it<br />Is the practice of a Bodhisattva.</p>";

quote[31]="<p>If, compelled by your own afflictions,<br />You speak of the faults of other Bodhisattvas,<br />You, yourself, will degenerate.<br />Therefore, never to mention the faults of those<br />Who have entered the Mahayana path<br />Is the practice of a Bodhisattva.</p>";

quote[32]="<p>Desire for gain and honor leads to argument,<br />And activities of listening, reflecting and meditating decline.<br />Therefore, to relinquish attachment to the households<br />of friends, relatives, and sponsors<br />Is the practice of a Bodhisattva.</p>";

quote[33]="<p>Harsh speech disturbs the minds of others<br />And compromises a Bodhisattva's right conduct.<br />Therefore, to give up harsh and unpleasant speech<br />Is the practice of a Bodhisattva.</p>";

quote[34]="<p>Once you become accustomed to the mental afflictions,<br />They are hard to cure with antidotes.<br />Therefore, with the remedies of mindfulness and awareness<br />To eliminate afflictions the moment they arise<br />Is the practice of a Bodhisattva.</p>";

quote[35]="<p>In brief, wherever you are and whatever you do,<br />Always examine the state of your mind.<br />Cultivating mindfulness and awareness continuously<br />To benefit others is the practice of a Bodhisattva.</p>";

quote[36]="<p>To clear away the suffering of all infinite beings,<br />With superior knowledge free of concepts of the three spheres,<br />To dedicate to enlightenment the merit accumulated through these efforts<br />Is the practice of a Bodhisattva.</p>";

/* calculate a random index */
var index = Math.floor(Math.random() * quote.length);
/* return a random quotation */
return quote[index];
}

/* display the quotation */
document.writeln("<div class=\"quote\">");
document.writeln(random_instruction());
document.writeln("</div>");

