//------------random quote--------------------
function makeArray(len)
{
for (var i = 0; i < len; i++) this[i] = null;
this.length = len;
}

quote_text = new makeArray(13);
quote_text[0] = "Happiness can be multiplied by sharing it with others without diminishing the original source. It is the one asset which increases when it is given away.";
quote_text[1] = "With every adversity there is an opposing seed of equivalent or greater benefit.";
quote_text[2] = "The man who gives freely of happiness always has a bigger stock of it at hand.";
quote_text[3] = "The surest way to promote yourself is to help others get ahead.";
quote_text[4] = "Have you ever tried to be angry while you were smiling? Try it!";
quote_text[5] = "You can do it if you believe you can.";
quote_text[6] = "What do you want in life and what have you to give in return that entitles you to receive it?";
quote_text[7] = "The best way to get favors is to start handing out favors.";
quote_text[8] = "Fear is the most costly of all the human emotions, although most fears have no foundation in facts.";
quote_text[9] = "If you must gripe, why not gripe for a bigger opportunity to be useful to others?";
quote_text[10] = "If life hands you a lemon , don't complain, but convert it into lemonade and sell it to those who are thirsty from griping.";
quote_text[11] = "Never STOP to think about your worries,for they will catch up with you quickly enough unless you out run them.";
quote_text[12] = "When enthusiasm comes in at the front door, worry runs out at the back door.";

function rand(n) {
seed = (0x015a4e35 * seed) % 0x7fffffff;
return (seed >> 16) % n;
}
        
var now = new Date()
var seed = now.getTime() % 0xffffffff

function generateQuote(){
	document.write(quote_text[rand(quote_text.length)]);
}
