	//this file accompanies a fortune-telling script in various htm files


RightNow = new Date(); //this (and line below) incorporates a time reminder at the top of the page

Minutes = (RightNow.getMinutes() < 20) ? "0" : (RightNow.getMinutes() < 40) ? "1" : "2";

Seconds = (RightNow.getSeconds() > 9) ? RightNow.getSeconds() : "0" + RightNow.getSeconds();

var FortuneNumber;
FortuneNumber = Minutes + Seconds;


Fortune = 

	(FortuneNumber < 1) ? "Your heart is a place to draw true happiness.":
	(FortuneNumber < 2) ? "Unexpected offer deserves serious consideration.":

	(FortuneNumber < 3) ? "Wherever you are, you have arrived.":
	(FortuneNumber < 4) ? "Bind your friends to your soul with hoops of steel.":
	(FortuneNumber < 5) ? "Avoid a quarrel, but once in, make your opponent aware of you.":

	(FortuneNumber < 6) ? "Give everyone your ear, but few your voice.":
	(FortuneNumber < 7) ? "Accept everyone's criticism, but reserve your judgement.":
	(FortuneNumber < 8) ? "Dress as you can afford, but be not fancy, rich, or gaudy.":
	(FortuneNumber < 9) ? "Clothing often betrays the wearer.":
	(FortuneNumber < 10) ? "To your own self be true, night and day.":

	(FortuneNumber < 11) ? "Good luck often comes from careful planning.":
	(FortuneNumber < 12) ? "How you look depends on where you go.":

	(FortuneNumber < 13) ? "Neither a borrower nor a lender be.":

	(FortuneNumber < 14) ? "When one lacks a sense of awe, there will be disaster.":

	(FortuneNumber < 15) ? "Accept the next proposition you hear.":

	(FortuneNumber < 16) ? "Be on the alert for new opportunity.":
	(FortuneNumber < 17) ? "You have a deep interest in all that is artistic.":
	(FortuneNumber < 18) ? "What you desire is always possible. It will come to you.":
	(FortuneNumber < 19) ? "Nature, time and patience are the three great healers.":
	(FortuneNumber < 20) ? "Don't behave with cold manners.":
	(FortuneNumber < 21) ? "Depart not from the path which fate has you assigned.":
	(FortuneNumber < 22) ? "You will have gook luck in your personal affairs.":
	(FortuneNumber < 23) ? "Be calm and collected, peace is a virtue.":
	(FortuneNumber < 24) ? "Doors will be opening for you in many areas of your life.":
	(FortuneNumber < 25) ? "Your popularity increases once you express your desires.":
	(FortuneNumber < 26) ? "Look around; happiness is trying to catch you.":
	(FortuneNumber < 27) ? "Nothing in the world is difficult if one sets his mind to it.":
	(FortuneNumber < 28) ? "Confucius say: Show-off always shown up in showdown.":
	(FortuneNumber < 29) ? "A merry heart is a good medicine.":
	(FortuneNumber < 30) ? "You will soon have an opportunity to make a change to your advantage.":
	(FortuneNumber < 31) ? "You will receive a fortune. (cookie)":
	(FortuneNumber < 32) ? "The road to knowledge begins with the turn of the page.":
	(FortuneNumber < 33) ? "Your future looks bright.":
	(FortuneNumber < 34) ? "Your business will assume vast proportions.":
	(FortuneNumber < 35) ? "Happy news is on its way to you.":
	(FortuneNumber < 36) ? "Youth is like spring, an overpraised season.":
	(FortuneNumber < 37) ? "Your luck has been completely changed today.":
	(FortuneNumber < 38) ? "Work expands to fill the time available.":
	(FortuneNumber < 39) ? "Look! Good fortune is all around you.":
	(FortuneNumber < 40) ? "Now is the time to try something new.":

	(FortuneNumber < 41) ? "You are one of the people who goes places in life.":
	(FortuneNumber < 42) ? "A kind smile generates happiness. Do not lose this beautiful expression.":
	(FortuneNumber < 43) ? "What you left behind is more mellow than wine.":
	(FortuneNumber < 44) ? "Creation, invention and enterprise will be very important in your life.":
	(FortuneNumber < 45) ? "Love is like war: easy to begin but hard to stop.":
	(FortuneNumber < 46) ? "There is a gradual improvement. Feelings are sweet and tender.":
	(FortuneNumber < 47) ? "There is yet time enough for you to take a different path.":
	(FortuneNumber < 48) ? "You will take a chance in something in the near future.":
	(FortuneNumber < 49) ? "Don't be hasty; prosperity will knock on your door soon.":
	(FortuneNumber < 50) ? "Good news from afar can bring you a welcome visitor.":
	(FortuneNumber < 51) ? "Birds are entangled by their feet and men by their tongues.":
	(FortuneNumber < 52) ? "Everything will now come your way.":
	(FortuneNumber < 53) ? "Intimacy with independence proves to be advantageous.":
	(FortuneNumber < 54) ? "You are a practical person with your feet on the ground.":
	(FortuneNumber < 55) ? "Depend on the predictability and stediness of life to support you.":
	(FortuneNumber < 56) ? "An empty stomach is not a good political advisor.":
	(FortuneNumber < 57) ? "You are very expressive and positive in words, act and feeling.":
	(FortuneNumber < 58) ? "You will meet someone special at your friend's Birth-Day party.":
	(FortuneNumber < 59) ? "You are very positive, somewhat cynical, and possess considerable latent talent.":
	(FortuneNumber < 100) ? "Good things are being said about you.":
	(FortuneNumber < 101) ? "Friends long absent are coming back to you.":
	(FortuneNumber < 102) ? "You believe in the goodness of mankind.":
	(FortuneNumber < 103) ? "A liar is not believed even though he tell the truth.":
	(FortuneNumber < 104) ? "You'll never have to worry much; for luck is on your side.":
	(FortuneNumber < 105) ? "You constantly struggle for self improvement.":
	(FortuneNumber < 106) ? "You have a pair of shinning eyes.":
	(FortuneNumber < 107) ? "You will do well to expand your business.":
	(FortuneNumber < 108) ? "A pleasant surprise is in store for you.":
	(FortuneNumber < 109) ? "Nature, time and patience - the best physicians.":
	(FortuneNumber < 110) ? "Cheap things are of no value, valuable things are not cheap?":
	(FortuneNumber < 111) ? "A new job is in the offering.":
	(FortuneNumber < 112) ? "The time is right to make new friends.":
	(FortuneNumber < 113) ? "All the news you receive will be positive and uplifting.":
	(FortuneNumber < 114) ? "Love mankind. Trust the majority. Never owe anyone.":
	(FortuneNumber < 115) ? "Unlucky friends may walk in dust; but you will always ride.":
	(FortuneNumber < 116) ? "You will be fortunate in everything.":
	(FortuneNumber < 117) ? "A close friend will soon need you.":
	(FortuneNumber < 118) ? "Treat the past as the past... now is the time to start anew.":
	(FortuneNumber < 119) ? "He who hurries cannot walk with dignity.":
	(FortuneNumber < 120) ? "All the answers you need are right there in front of you!":
	(FortuneNumber < 121) ? "Your dreams are never silly; depend on them to guide you.":
	(FortuneNumber < 122) ? "You or a close friend will be married within a year.":

	(FortuneNumber < 123) ? "Be familiar with your friends, but not vulgar.":

	(FortuneNumber < 124) ? "It is better to have a hen tomorrow than an egg today.":
	(FortuneNumber < 125) ? "You will make many changes before being satisfied.":
	(FortuneNumber < 126) ? "You are demonstrative with those you love.":
	(FortuneNumber < 127) ? "You are full of wit and energy.":
	(FortuneNumber < 128) ? "In growing old, one grows more foolish and wise.":
	(FortuneNumber < 129) ? "Serious trouble will bypass you.":
	(FortuneNumber < 130) ? "You are kind-hearted and hospitable, cheerful and well-liked.":
	(FortuneNumber < 131) ? "You'll be made happy by receipt of good news.":
  
	(FortuneNumber < 132) ? "Look for character in your friends.":

	(FortuneNumber < 133) ? "Wit is the salt of conversation, not the food.":
	(FortuneNumber < 134) ? "You will soon be involved in many gatherings, parties and communications.":
	(FortuneNumber < 135) ? "A tall stranger will soon enter your life.":
	(FortuneNumber < 136) ? "You or a close friend will be married within a year.":
	(FortuneNumber < 137) ? "You will be advanced socially, without any special effort.":

	(FortuneNumber < 138) ? "Neither a borrower nor a lender be.":

	(FortuneNumber < 139) ? "You will enjoy good health, you will be surrounded by luxury.":
	(FortuneNumber < 140) ? "A warm smile is testimony of a generous nature.":
	(FortuneNumber < 141) ? "Your emotional nature is strong and sensitive.":
	(FortuneNumber < 142) ? "Your popularity increases once you express your desires.":
	(FortuneNumber < 143) ? "Your heart is a place to draw true happiness.":
	(FortuneNumber < 144) ? "The best profit of future is the past.":
	(FortuneNumber < 145) ? "A pleasant surprise is in store for you.":
	(FortuneNumber < 146) ? "This is a prosperous time of life for you.":
	(FortuneNumber < 147) ? "You put home and family as your first place in life.":
	(FortuneNumber < 148) ? "Compromise in a dispute between friends is rarely regretted.":
	(FortuneNumber < 149) ? "Let your ambitions help your accomplishments, but not overshadow them.":
	(FortuneNumber < 150) ? "Pray for what you want; but work for what you need.":
	(FortuneNumber < 151) ? "You should be able to undertake and complete anything.":
	(FortuneNumber < 152) ? "You love to be the center of attention.":
	(FortuneNumber < 153) ? "You will enjoy true success in whatever you do.":
	(FortuneNumber < 154) ? "You will make a fortune with your friends.":
	(FortuneNumber < 155) ? "You will step on the soil of many countries.":
	(FortuneNumber < 156) ? "It's a good thing that life is not as serious as it seems to the waiter.":
	(FortuneNumber < 157) ? "Time is not measured by a watch, but by moments.":
	(FortuneNumber < 158) ? "Excellent day for dusting. Start with a few old dreams.":
	(FortuneNumber < 159) ? "The only way to have a friend is to be one.":
	(FortuneNumber < 200) ? "Ancient sites beckon you to hit the road soon.":
	(FortuneNumber < 201) ? "You will discover a new area of interest.":
	(FortuneNumber < 202) ? "Discontent is the first step in the progress of a man or a nation.":
	(FortuneNumber < 203) ? "Bad habits are hard to break. Especially if your like them.":
	(FortuneNumber < 204) ? "Soon you will be sitting on top of the world.":
	(FortuneNumber < 205) ? "Your pet project gains seal of approval from an influential friend.":
	(FortuneNumber < 206) ? "A pound of pluck is worth a ton of luck.":
	(FortuneNumber < 207) ? "Your charms have not gone unnoticed by all the angels.":
	(FortuneNumber < 208) ? "We rarely find that people have good sense unless they agree with us.":
	(FortuneNumber < 209) ? "Take a break tonight and get out and have fun.":
	(FortuneNumber < 210) ? "You will travel to many places in the world.":
	(FortuneNumber < 211) ? "The only way to have a friend is to be one.":
	(FortuneNumber < 212) ? "A friend asks only for your time, not your money.":
	(FortuneNumber < 213) ? "Generosity and perfection are your everlasting goals.":
	(FortuneNumber < 214) ? "It is much easier to be critical than to be correct.":
	(FortuneNumber < 215) ? "You will be unusually successful in business.":
	(FortuneNumber < 216) ? "You have yearning for perfection.":

	(FortuneNumber < 217) ? "Hard work will bring great rewards.":
  
	(FortuneNumber < 218) ? "You are domestically inclined and will be happily married.":
	(FortuneNumber < 219) ? "You are very expressive and positive in words, acts and feelings.":
	(FortuneNumber < 220) ? "You will enjoy good health, you will be surrounded by luxury.":
	(FortuneNumber < 221) ? "You will be a happy receipient of good news.":
	(FortuneNumber < 222) ? "You will have a long and happy life.":
	(FortuneNumber < 223) ? "Good news will come to you from far away.":

  
	(FortuneNumber < 224) ? "The current year will bring you much happiness.":
	(FortuneNumber < 225) ? "You will advance the careers of your friends in your climb for success.":
	(FortuneNumber < 226) ? "Your love of life will be happy and harmonious.":
	(FortuneNumber < 227) ? "Your dearest wish will come true.":
	(FortuneNumber < 228) ? "Keep your feet on the ground even though friends flatter you.":
	(FortuneNumber < 229) ? "Your business will assume vast proportions.":
	(FortuneNumber < 230) ? "Luck is coming your way.":
	(FortuneNumber < 231) ? "Good things are coming to you in due course of time.":

	(FortuneNumber < 232) ? "Your teachers think very highly of you.":

	(FortuneNumber < 233) ? "Sing and rejoice, fortune is smiling on you.":
	(FortuneNumber < 234) ? "Please follow more cautiously Life's Golden Rule.":
	(FortuneNumber < 235) ? "The more one knows, the less one believes.":
	(FortuneNumber < 236) ? "It's a good thing that life is not as serious as it seems to the waiter.":
	(FortuneNumber < 237) ? "Mystical powers are strong this month.":
	(FortuneNumber < 238) ? "The next full moon brings an enchanting evening.":
	(FortuneNumber < 239) ? "You have a curious smile and a mysterious nature.":
	(FortuneNumber < 240) ? "You will be unusually successful in business.":
	(FortuneNumber < 241) ? "The best times of your life have not yet been lived.":
	(FortuneNumber < 242) ? "Stop waiting!!!  Buy that ticket and take that special trip.":
	(FortuneNumber < 243) ? "You will never regret the present, you live life to its fullest!":
	(FortuneNumber < 244) ? "You are careful and systematic in your business arrangements.":
	(FortuneNumber < 245) ? "You will soon be sitting on top of the world.":
	(FortuneNumber < 246) ? "Romance moves you toward a new direction.":
	(FortuneNumber < 247) ? "Shoot for high returns and accept the risk, for your investment.":
	(FortuneNumber < 248) ? "If you can shape it in your mind, you will find it in your life.":
	(FortuneNumber < 249) ? "You'll accomplish more later if you have a little fun now.":
	(FortuneNumber < 250) ? "Don't forget, you are always on our minds.":
	(FortuneNumber < 251) ? "You have great patience.":
	(FortuneNumber < 252) ? "Keep your feet on the ground even though friends flatter you.":
	(FortuneNumber < 253) ? "Your talents are in fine shape: utilize them to their fullest.":
	(FortuneNumber < 254) ? "The time is good, and opportuntities will soon unfold.":
	(FortuneNumber < 255) ? "Speak only well of people and you need never whisper.":
	(FortuneNumber < 256) ? "You will soon have an opportunity to make a change to your advantage.":
	(FortuneNumber < 257) ? "Forget the entanglement of love; forget not to practice charity.":
	(FortuneNumber < 258) ? "Someone nearby is looking at you.":
	(FortuneNumber < 259) ? "You will enjoy true success in whatever you do.":
	"The only certainty is that nothing is certain.";

//Currently, the following 15 fortunes are not used because FortuneNumber can only assume values 0 through 259
//To add fortunes, re-define the variable (Minutes) so it assumes values 0, 1, 2, and 3, by breaking the
//hour into 4 blocks of 15 minutes each. 

f301 =  "Your ability to juggle many tasks will take you far.";
f302 =  "You have an unusually magnetic personality.";
f303 =  "Fame, riches and romance are yours for the asking.";
f304 =  "Now is a good time to finish up old tasks.";
f305 =  "Your mind is creative, original, and alert.";
f306 =  "You will have some wonderful new experiences.";
f307 =  "Soon you will encounter a whole new world of opportunity.";
f308 =  "Pray for what you want; but work for what you need.";
f309 =  "Enjoy what you have; hope for what you lack.";
f310 =  "You will inherit some money or a small piece of land.";
f311 =  "You are a practical person with your feet on the ground.";
f312 =  "Always expect the unexpected.";
f313 =  "We rarely find that prople have good sense unless they agree with us.";
f314 =  "A handful of patience is worth more than a bushel of brains.";
f315 =  "You are next in line for promotion in your firm.";
f316 =  "The path of conflict ends at a mirror.";
f317 =  "Your intuition is excellent, but you might benefit from another's opinion";
f318 =  "meet a new challenge with calm assurance";


//The above will never use 16 fortunes numbered above 300


function ShowFortune(form, button){

	var RightNow;


	RightNow = new Date(); //this (and line below) incorporates a time reminder at the top of the page

	Minutes = (RightNow.getMinutes() < 20) ? "0" : (RightNow.getMinutes() < 40) ? "1" : "2";

	Seconds = (RightNow.getSeconds() > 9) ? RightNow.getSeconds() : "0" + RightNow.getSeconds();


	var FortuneNumber;
	FortuneNumber = Minutes + Seconds;

	alert (Fortune );

	return;
	}