<!-- Hide Code
// End of error code
function MakeArray(n) {
   this.length = n;
   for (var i = 1; i <= n; i++) { 
     this[i] = 0 }
     return this
}
// Create the array ans
ans = new MakeArray(53)
// Assign values to the elements of the array
ans[0] = "Someone you love needs a hug.";
ans[1] = "Remember the past helps you in the future.";
ans[2] = "Wearing red tomorrow brings good luck.";
ans[3] = "Stop looking and you will find what you seek.";
ans[4] = "Relax tonight and spend time with your family.";
ans[5] = "Watch the sunset.";
ans[6] = "It's time for a weekend getaway.";
ans[7] = "Wear white tomorrow for energy.";
ans[8] = "Be good to yourself and have a hot fudge sundae.";
ans[9] = "There are people who care deeply about you.";
ans[10] = "Avoid trouble makers this week.";
ans[11] = "Next Tuesday is your day.";
ans[12] = "Try something new for lunch tomorrow.";
ans[13] = "The future is far away so focus on the present.";
ans[14] = "Give yourself a pat on the back.";
ans[15] = "Remember to think of others before you act.";
ans[16] = "A long lost friend will be contacting you soon.";
ans[17] = "Drink orange juice to help your immune system.";
ans[18] = "Someone thinks the world of you.";
ans[19] = "Someone is missing you.";
ans[20] = "Someone is waiting for you to call.";
ans[21] = "Eat more fruits and vegetables.";
ans[22] = "Lead by example.";
ans[23] = "Riches are in your future.";
ans[24] = "Love is around the corner.";
ans[25] = "Your health depends on your emotional state.";
ans[26] = "It's a good time for you.";
ans[27] = "The next full moon will bring you sweet dreams.";
ans[28] = "Practice better listening skills.";
ans[29] = "Don't forget the little people.";
ans[30] = "Being alone is not the same as being lonely.";
ans[31] = "Spend some time alone.";
ans[32] = "Take a long walk.";
ans[33] = "Museums bring you a new sense of appreciation.";
ans[34] = "A garden brings you closer to nature.";
ans[35] = "Be patient with the ones you love.";
ans[36] = "Forgive and let it go and find peace.";
ans[37] = "It's time to practice what you preach.";
ans[38] = "Life needs you as an active participant.";
ans[39] = "Be honest and true to yourself.";
ans[40] = "Being happy is not always being perfect.";
ans[41] = "It's time to read a new book.";
ans[42] = "The future will get better.";
ans[43] = "Good things await you around the corner.";
ans[44] = "Be a little unpredictable sometimes.";
ans[45] = "An adventure awaits you around the bend.";
ans[46] = "Watch an old movie and eat some popcorn.";
ans[47] = "Procrastinating won't get you anywhere.";
ans[48] = "It's a good time to start a new project.";
ans[49] = "You'll unexpectedly find something you cherish.";
ans[50] = "Say one thing you're thankful for, right now.";
ans[51] = "Avoid food that smells funny.";
ans[52] = "You can lead a horse to water but you can't make it drink.";
ans[53] = "The key to failure is trying to please everybody.";

/* Define the function pick which checks to see if a question was entered, and if so writes a random message in a text form field. Get a random number by getting the last two digits in the number of milliseconds since 1 January 1970 00:00:00. Convert this to a number between 0 and 52 and use as the index for the answer. */
function pick(form) {
	var now = new Date();
	var nowtime = now.getTime().toString();
	var nowtimeDigits = nowtime.substring(nowtime.length-3, nowtime.length-1)
	with (Math) {
	var n = round(eval(nowtimeDigits/2));
	}
	form.answer.value = ans[n]
	}
// Done hiding -->
