function QuoteAlert()
{

// the following is an array of all the sayings 
   var FeelGoodQuote = new Array
   ("Live today with the understanding that an ending is really a beginning in disguise.", 
        "Face each new day with peace, hope, and love.", 
        "Always own a pair of old, faded jeans.", 
        "Count your blessings every day.", 
        "Acknowledge your successes along with your downfalls.", 
        "Burn the candle that has been in storage for the last two years.", 
        "If people who move at a snail's pace annoy you, learn from them how to slow down.", 
        "Strive for progress, not perfection.", 
        "At least once a day, sit and do nothing.", 
        "Be a nature lover.", 
        "Cheer up someone who needs it.", 
        "Make the best out of what you have.", 
        "Use laughter as a remedy for bad moods.", 
        "Ride a carousel.", 
        "Try something different at least once a week.", 
        "Let humor brighten your day.", 
        "Give yourself equal time.", 
        "Give your child a slingshot instead of a shotgun.", 
        "Don't throw in the towel when you hit a snag.", 
        "Put everything you've got into your yawns.", 
        "Let your heart soar at the splendor and beauty of a snowfall.", 
        "Broadcast all the love and good that you have learned.", 
        "Look in the eyes of the ones you love when you are talking to them.", 
        "Remember that one is a whole number.", 
        "Play Monopoly instead of video games.", 
        "Do a kind deed for someone else.", 
        "Be patient.", 
        "Eat something green.", 
        "Let go and let God.", 
        "Get some dirt under your fingernails.", 
        "Love your gray.", 
        "Volunteer to help someone in need.", 
        "Make molehills out of mountains.", 
        "Give away or sell anything you haven't used in the past five years.", 
        "Be spontaneous.", 
        "Cuddle an animal.", 
        "Be open to life.", 
        "See success as something you already have, not something you must attain.", 
        "Experience the splendor and awe of a sunset.", 
        "When you score a base hit, don't wish it were a home run.", 
        "Instead of believing in miracles, depend on them.", 
        "Take a child to the circus.", 
        "When your heart is at odds with your head, follow your heart.", 
        "Live your life according to what is right for you.", 
        "Do something romantic for the one you love.", 
        "Be a big tipper.", 
        "Put an end to speed-racing, quick-fixing, rush-houring, fast-tracking, and hustling and bustling yourself to death.", 
        "Tell the most important people in your life that you appreciate them.", 
        "Tell yourself that you appreciate you.", 
        "Sit by a crackling fire and listen to soft music.", 
        "Put something that has life in your house, such as plants or pets.", 
        "Have faith in something larger than life.", 
        "Live today as if there were no tomorrow.", 
        "Look at the positive side of negative situations.", 
        "Make sure you get at least one hug every day.", 
        "Keep a pair of thick, warm socks for cold winter nights.", 
        "Avoid fads and bandwagons.", 
        "Do unto others as you would have them do unto you.", 
        "Surround yourself with people who will love and affirm you.", 
        "Get into the spiritual flow instead of the cash flow.", 
        "Look for God everywhere:  in the trees, in the sunset, in the birds' twitterings, in the gurgles of a baby, and in your emotions as you experience these things.", 
        "Don't agonize, organize.", 
        "Look in the mirror and tell yourself that you love you just the way you are.", 
        "Do the thing you like doing most, and do it often.", 
        "Notice what you are thinking at this moment and ask yourself, 'Is this the way I want to live my life?'", 
        "Send out love and positive energy, and it will all come back to you.", 
        "Don't take yourself too seriously.", 
        "Always keep a pair of dirty sneakers around.", 
        "Walk softly through your life with gentle power that will leave a large footprint.", 
        "Create your own unique life as you would weave silk through a fabric.", 
        "Plant a seed and watch it grow.", 
        "When you enter a rose garden, look for the roses instead of the thorns.", 
        "Don't be afraid to look silly, laugh at yourself, and have a good time.", 
        "Extend a helping hand to someone today.", 
        "Stop trying to make trees fly and to fit a size 9 foot into a size 7 shoe.", 
        "Don't be afraid to rock the boat once in a while.", 
        "See God in others.", 
        "Remember that all feelings are okay.", 
        "Walk instead of drive.", 
        "Skip instead of walk.", 
        "Welcome viewpoints that challenge yours.  They are an open door to a new way of life.", 
        "Stand up for what you believe in.", 
        "Go barefoot.", 
        "Go fly a kite.", 
        "When someone is lost and needs information, take the time to point them in the right direction.", 
        "Think one positive thought a day.", 
        "Drive to work in a thunderstorm as enthusiastically as you would on a sunny day.", 
        "Keep yourself anchored with God so you won't be swayed from your spiritual path by the pull of life's ups and downs.", 
        "Lie in a hammock, look at the treetops, and listen to the leaves brush against each other.", 
        "Accept whatever life delivers.", 
        "Mend relationship while you still have the chance.", 
        "Look at the amusing side of life today.", 
        "Buy wrapping paper when a child is selling it at your front door for a school project.", 
        "Affirm all the good things about yourself.", 
        "Learn to relax.", 
        "Hang a set of wind chimes where you can hear them sing.", 
        "Make a good impression on yourself.", 
        "Be generous.", 
        "In order to receive, let go of hoarding, possessing, and gluttony.", 
        "Go fishing.", 
        "Wait for a door to be unlocked instead of trying to break it down.", 
        "Remind yourself that everyday is a new day.", 
        "Watch butterflies play tag in the sunlight.", 
        "Find your uniqueness and treasure what is special about yourself.", 
        "Keep it simple.", 
        "Spread the message of hope.", 
        "Stop worrying about 'what if' and pay attention to 'what is'.", 
        "Look for harmony in your life.", 
        "Flow with the river in the direction it is going, instead of pushing against the current.", 
        "Treat yourself today as a spiritual being in a physical body.", 
        "Have dinner without television and with candlelight at least once a week.", 
        "Sit on the seashore and listen to the surf pound the shore and feel the mist kiss  your face.", 
        "Don't let other people's negativity pull you down.", 
        "Put fresh flowers on your table or desk.", 
        "When life gives you roadblocks take healthy detours.", 
        "Say a prayer.", 
        "Remember that falling down is part of moving forward.", 
        "Give at least one hug a day.", 
        "Be true to yourself.", 
        "Buy yourself a stuffed animal, no matter what your age.", 
        "Improve your conscious contact with God through prayer and meditation.", 
        "Fill your life with joy.", 
        "Change the things you can, and don't worry about the rest.", 
        "Learn to love others without putting conditions on them.", 
        "Pamper yourself.", 
        "Take a nap.", 
        "Notice the children bring us up, instead of the other way around.", 
        "Choose your life's work based on what you love to do.", 
        "Be content with the moment.", 
        "Look at life as a course and your errors as lessons that you are learning in its curriculum.", 
        "Treat yourself as if you are your own best friend.", 
        "Do small things with great love and you'll make a big difference.", 
        "Embrace solitude instead of running from it.", 
        "Forgive anyone you've been holding a grudge against.", 
        "Slow down and enjoy the present.", 
        "Give up one bad habit today.", 
        "Go on a picnic.", 
        "Celebrate all your birthdays no matter how old you get.", 
        "Take a different route home from work to get out of your rut.", 
        "Plant a tree, pull weeds, or get your hands dirty.", 
        "Leave space in your calendar for the spontaneous and unexpected.", 
        "Cry when you feel like it.", 
        "Rejoice in other people's triumphs.", 
        "Don't wait for someone else to laugh or express joy.", 
        "Don't let others push your buttons.", 
        "Keep good company.", 
        "Pick a four-leaf clover.", 
        "Let your kind words diffuse someone else's sour attitude.", 
        "Think about abundance instead of lack, because whatever you think about expands.", 
        "Compliment someone on how they look or what they do.", 
        "Play peek-a-boo with a baby.", 
        "Learn to 'be' instead of 'do'.", 
        "Take just one step today and let tomorrow take care of itself.", 
        "Remind yourself that you deserve the best of everything.", 
        "Take time to contemplate your life.", 
        "Read a good book today.", 
        "Make haste slowly.", 
        "If you have to choose between cleaning a closet and balancing your checkbook, go watch the sunset.", 
        "Just watch.", 
        "Give the same respect to a janitor you would give to a rocket scientist.", 
        "Dress to suit yourself.", 
        "Turn off the television.", 
        "Sit in a library, smell the books, and hear the quiet.", 
        "Take a deep breath.", 
        "If you're running on empty, fill yourself up with something spiritual.", 
        "Dress for comfort.", 
        "Congratulate someone on a job well done.", 
        "Look for beauty in the ordinary.", 
        "Pay attention to what loved ones have to say.", 
        "Create your own recipes.", 
        "Accept compliments from others so that you can see the truth about yourself.", 
        "Lie on your back in a grassy knoll on a starry summer night.", 
        "Feel mud between your toes.", 
        "Sit on the lawn without worrying about grass stains.", 
        "Be a good winner and loser.", 
        "Spend meaningful time with your kids.", 
        "Whistle.", 
        "Waste time once in a while.", 
        "Learn to love yourself.", 
        "Easy does it.", 
        "Throw a party instead of a fit.", 
        "Quiet your mind through meditation.", 
        "Wait and see.", 
        "Invite friends over even though the carpet is stained and the sofa is faded.", 
        "Let someone else go first for a change.", 
        "Go to a parade.", 
        "Talk less and listen more.", 
        "Clear your mind of clutter.", 
        "Take time for yourself at least once a day.", 
        "Eat yogurt instead of ice cream.", 
        "Sweat.", 
        "Watch an army of ants build their houses and cities and carry food ten times their weight.", 
        "Never give up on your dreams.", 
        "When you don't have time to wash your hair, wear a hat.", 
        "If you're going to slide down the bannister of life, be prepared for some splinters.", 
        "Turn boredom into excitement.", 
        "Spend a day at a museum.", 
        "Give yourself permission to kick up your heels.", 
        "Find one area  in your life where you can substitute flexibility for rigidity.", 
        "Walk in a summer rainshower without an umbrella.", 
        "Love your body, including your love handles.", 
        "Contact a friend you haven't heard from in a long time.", 
        "Express glee.", 
        "Look at obstacles on your path as stepping stones.", 
        "Sleep late.", 
        "Get beyond worrying whether people love you or not.", 
        "Pay attention to your Freudian slips.", 
        "Wear your hair to suit yourself, not someone else.", 
        "Do something creative or artistic.", 
        "When treed by a bear, enjoy the view.", 
        "Find harmony within yourself first before you try to find it in the world.", 
        "While time away on a porch swing.", 
        "Dare to be different.", 
        "Tell someone you appreciate them.", 
        "Open your heart.", 
        "Drink iced lemonade on warm, summer nights.", 
        "Don't take work on vacations.", 
        "Get high on life.", 
        "Arrange your life instead of your spice rack.", 
        "Go to a park and feed the birds.", 
        "Hunt for seashells.", 
        "See 'friend' instead of 'enemy' on the faces of strangers.", 
        "Eat ripened fruit.", 
        "Take the road less traveled.", 
        "Grin and bear it.", 
        "When the weather forecaster predicts a 50 percent chance of rain, remind yourself that there's also a 50 percent chance it won't rain.", 
        "When you come to a dead end, turn up another street.", 
        "Put positive messages to yourself on the bathroom mirror.", 
        "Don't be afraid to go out on a limb to get to the fruit of the tree.", 
        "March to the beat of your own drum.", 
        "Look upon your life as a downhill slide instead of an uphill battle.", 
        "Live your life instead of just surviving it.", 
        "Daydream once in a while.", 
        "Treasure relationships with people who let you disagree with them.", 
        "Memorize the beauty of a flower.", 
        "Accept compliments as truth about yourself instead of dismissing them.", 
        "Have a favorite color.", 
        "Manage a bad mood with a great big belly laugh.", 
        "Keep on keeping on.", 
        "When someone is casting aspersions, have the courage to cast compliments.", 
        "Allow your heart to flip flop at the beauty of a rainbow.", 
        "See your inner beauty.", 
        "Eat homemade food instead of fast food.", 
        "Set aside one soothing moment just for yourself each day.", 
        "Sit in a children's swing.", 
        "Add laughter to your arsenal against illness.", 
        "Don't make more out of little things than they really are.", 
        "Pay attention to the simple things around you that you take for granted.", 
        "Read the newspaper every day.", 
        "Be flexible; even grass bends when wind blows over it.", 
        "Offer a comforting embrace to someone who is hurting.", 
        "Fall head over heels in love with life.", 
        "Find one thing in your life that brings you enjoyment.", 
        "Go white-water rafting.", 
        "Let love rule your heart and life.", 
        "Watch a flower slowly open its petals and reveal its colors.", 
        "Quit looking for a cookbook on life and invent your own recipe for living.", 
        "Maintain a tranquil mind.", 
        "Do something that gives you a warm glow inside.", 
        "Be able to play football on the lawn and pick a delicate flower for your loved one.", 
        "Find the Big Dipper.", 
        "Take care of your animals.", 
        "Have a hobby or favorite pastime.", 
        "Look for the universal human bond that connects you with everyone else in the world.", 
        "Face today's problems one at a time.", 
        "Every day try to add one item to your list of personal traits.", 
        "Give away all of your love and success and you will get to keep them.", 
        "Fill your mind with healthy thoughts.", 
        "See the hour glass as half full, not half empty.", 
        "When your back is against the wall, lean on it and relax.", 
        "Learn to surrender to life and you'll be propelled forward.", 
        "Do one thing at a time.", 
        "Play a kazoo.", 
        "Learn to laugh at yourself in a kind way.", 
        "Take the time to work a puzzle.", 
        "Acknowledge all the good things about yourself.", 
        "Remind yourself that the simplest things in life yield the greatest dividends.", 
        "Learn to value the flaws in yourself just as you would those in a diamond.", 
        "Make a list of all the things you want to do with your life.", 
        "Look through a kaleidoscope.", 
        "Be a team player.", 
        "Scratch someone else's back even if they don't scratch yours.", 
        "Do something adventurous.", 
        "Listen to the sounds of leaves crunching under your feet on an autumn day.", 
        "Be someone's cheerleader.", 
        "Kid around.", 
        "Look for the silver lining.", 
        "Fly a flag.", 
        "Soak in a warm bath.", 
        "Welcome the unknown with open arms.", 
        "Look for the light at the end of the tunnel.", 
        "Bombard yourself with positive thoughts and feelings.", 
        "Let your recipe for life be equal parts joy and sorrow, love and anger, self and selflessness.", 
        "Give yourself permission to be who you are.", 
        "Be on the cutting edge, but don't go over the edge.", 
        "Catch children being good.", 
        "Do something today for someone without expecting anything in return.", 
        "Walk like a duck.", 
        "Listen to and trust your inner wisdom.", 
        "Sit through a boring meeting without tapping your nails.", 
        "Learn to tell a joke.", 
        "Reward yourself for accomplishments with positive affirmations.", 
        "Learn to unwind.", 
        "Think of others.", 
        "Carve a jack-o'-lantern.", 
        "Make a funny face at someone while driving home from work.", 
        "Strengthen your immune system by laughing at least once a day.", 
        "Get out of your rut.", 
        "Strive for peace of mind.", 
        "If you cannot pronounce what it says on the package, don't eat it.", 
        "Hear the voice of God through the words of others.", 
        "Get rid of what you don't want in your life in order to make room for what you do want.", 
        "Light a scented candle.", 
        "Join life instead of waiting to be drafted.", 
        "Stand up and be counted.", 
        "Treat yourself with kindness and patience.", 
        "Send loving thoughts to people who ruffle your feathers.", 
        "Be a kid again.", 
        "Be grateful for who you are because no one else will ever look through your eyes, feel with your heart, or touch with your hands.", 
        "Say something uplifting to someone hanging their head.", 
        "Live one day at a time.", 
        "Let down your guard and let your love shine through.", 
        "Have a party for no special reason.", 
        "Find something that makes you feel gung-ho.", 
        "Remember that when you're shaking your fist at someone else, all your fingers are pointed back at you.", 
        "Point out the good qualities in other people.", 
        "Throw back your shoulders and look the world in the face.", 
        "Speak to yourself in a loving manner.", 
        "Buy yourself something simple and non-extravagant that you've always wanted.", 
        "Be willing to accept everything exactly as it is, without conditions, criticisms, or likes and dislikes.", 
        "Visualize yourself succeeding and doing well in situations before you are in them.", 
        "Give freely to others with no strings attached.", 
        "Remind yourself that it is never too late to start fresh, because you are a new person each day.", 
        "Be zealous, instead of jealous.", 
        "Make a list of all the people in your life you appreciate.", 
        "Live for today and plan for tomorrow.", 
        "Anchor yourself less with worry and sail more with serenity.", 
        "Pass your love around.", 
        "Recognize that marvelous diversity and uniqueness within yourself that can never be put together in the same way again.", 
        "Be the master of your fate and the captain of your soul.", 
        "Look for the woman in the moon.", 
        "Daydream.", 
        "Be a crusader for love and harmony.", 
        "When you fall down, pick yourself up, brush yourself off, and keep going.", 
        "Be old fashioned and use the mail instead of a FAX to communicate with friends.", 
        "Watch the arrangements that puffy clouds make as they roll by.", 
        "Open your eyes to all the wonder around you at this moment.", 
        "Decorate with balloons.", 
        "Remind yourself often that life is an inside job.", 
        "Learn to be happy even when things are not going your way.", 
        "Expect to be awestruck every day, as you experience your life through fresh eyes.", 
        "When choosing between two evils, choose the one you've never tried before.", 
        "Learn to value and welcome your solitude as a companion for your spiritual growth.", 
        "Let something move you to tears.", 
        "Let your imagination run wild.", 
        "Be kind, direct, and honest in what you say and do.", 
        "Chew gum and blow bubbles.", 
        "Be a people watcher instead of a people pleaser.", 
        "Tip your newspaper carrier at Christmastime.", 
        "Give openly and freely from your heart.", 
        "Bowl over laughing.", 
        "Find time in your day to go within and experience the ecstasy there.", 
        "Believe that you are likeable and loveable.", 
        "Think prosperity and abundance.", 
        "Remember that life is a process, not an event.", 
        "Celebrate the rituals, birthdays, and anniversaries in your life with vigor and enthusiasm."
        );

// set the days per month
var DaysPerMonth = new Array (31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);

// set the months of the year
var MonthChar = new Array ("January", "February", "March", "April", "May", "June", "July", 
							"August", "September", "October", "November", "December");

// get the current date and time according to the user's computer

var time = new Date();

// get the various components of the date
var month = time.getMonth();
var day = time.getDate();
var year = time.getYear() + 1900; // only needed to check for leap year

// A leap year is divisible by 4
// BUT not divisible by 100 unless it is ALSO divisible by 400

var LeapYear = false;

   if (year % 100 == 0)
   {
      if (year % 400 == 0) LeapYear = true;
   }
   else
   {
      if (year % 4 == 0) LeapYear = true;
   }

// in Leap Years, the indexes will work out perfectly
// in non-Leap Years, we still don't need to adjust as long as we multiply the number
//      of days in February by 29.

var index = -1;  // start counting from -1 for less confusion in matching date with 
index

// Add any 'previous' months after January (so, starting from month 1)
for (i=1; i <= month; i++)
{
      index += DaysPerMonth[i-1];
}

// add the current day, since index started from -1 this should work fine
index += day;

// write the message
var message = FeelGoodQuote[index]+ 
	'  ("Feel Good Calendar" Quote for '+MonthChar[month]+ ' ' +day+ ')' ;

alert(message);
return;      
} // end function
