// JavaScript Document
	Tip = new Array();
	Tip[0] ="Eat a better snack.  Having a cup of grapes will leave you feeling fuller than a handful of chips.";
	Tip[1] ="End your day with a relaxing activity like doing some nice slow stretches, accompanied by deep breathing.";
	Tip[2] ="Lower the fat in your homemade baked goods.  Try using equal amounts of applesauce for fat or oil in a recipe.";
	Tip[3] ="Tune out during TV commercial breaks.  Try jumping rope or lifting 5-pound weights during the breaks.";
	Tip[4] ="Visit your dentist regularly.  Good oral hygiene is key to good health.";
	Tip[5] ="Add a variety of colors to your fruits and vegetables.  Adding color means you're adding different varieties of vitamins and minerals to your diet.  Everyone should be eating 5 to 13 servings of fruits and vegetables every day!";
	Tip[6] ="If you usually leave your dog outside alone, take a minute to strap on your sneakers and join him.  If you already take your dog for a walk, extend the usual time. ";
	Tip[7] ="Got the munchies during your work, school, or commute?  Try keeping some dried fruits handy for a snack.";
	Tip[8] ="Get out of your old physical activity routine and try something new!  Hiking, rock climbing, squash or badminton.  You just might find a new activity you like!";
	Tip[9] ="Skip the soda.  Drink a 100% fruit juice beverage, low-fat milk, or water.";
	Tip[10] ="Add a handful of green peas to your salad.  Or, fill up a sandwich bag with fresh sugar snap peas and enjoy a crunchy sweet snack.";
	Tip[11] ="Talk to your kids about not smoking.  Most current smokers smoked their first cigarette before the legal age of 18, and regret ever starting.";
	Tip[12] ="Out of sight, out of mind?  Not if you place a bowl of fresh fruit on your counter.  Seeing the fruit will encourage you and your family to get your 5 to 13 A Day.";
	Tip[13] ="Don't be afraid to be silly and share a joke or two with those around you.  Laughter is some of the best medicine for stress.";
	Tip[14] ="Make your life easier and healthier too!  Keep a bowl of fruit handy, pack your lunch the night before.";
	Tip[15] ="Grocery shopping doesn't have to be a chore.  Treat this errand as your personal walking track.  Walk in laps starting with the outermost lanes and walk your way towards the middle of the store.";
	Tip[16] ="Nuts can be a healthy addition to any diet.  Try sprinkling some chopped pecans over a fresh green salad for a healthy crunch.";
	Tip[17] ="Start multitasking.  While watching the evening news, why not do a 10-minute stretch?  You'll be relaxed and more flexible no matter what the day's news.";
	Tip[18] ="If you're happy and you know it clap your hands!  And, while you're at it try skipping, jumping, or dancing for added physical activity.";
	Tip[19] ="Each American eats an average of 18 lbs. of fresh apples a year.  Try a variety you haven't tasted before.  One medium apple has 5 grams of fiber.  An apple a day keeps the doctor away!";
	Tip[20] ="Did a restaurant you know recently go smoke free?  Choose them the next time you want to eat out, thank the manager, and tell your friends!";
	Tip[21] ="We need to have 15 to 30 grams of dietary fiber daily for a healthy digestive tract.  Be sure to eat 5 to 13 fruits and vegetables a day to increase your fiber intake.";
	Tip[22] ="Encourage everyone to &quotact out&quot a story as you read it.";
	Tip[23] ="While running errands, skip the drive-thru at the bank, the dry cleaners, and the gourmet coffee shop.";
	Tip[24] ="Build an obstacle course in the basement or garage on a rainy day.";
	Tip[25] ="Dance to three songs on the radio.";
	Tip[26] ="5 to 13 A Day is everyday!  When you go to the grocery store, be sure to notice all the fresh fruits and vegetables, not just the ones you routinely eat.  Try a new fruit or vegetable today so you won't get bored.";
	Tip[27] ="Many fruits and vegetables are good sources of Vitamin C.  Dark yellow and orange fruits and vegetables contain carotene that helps maintain eye health.  Try a handful of carrots instead of pretzels today or add 100% orange juice to your breakfast menu.";
	Tip[28] ="Make Plantains Part of Your 5 A Day Plan!  Green plantains are best used like potatoes, baked or boiled then mashed.";
	Tip[29] ="Have a healthy side dish at lunch.  Replace your potato chips or French fries with cut-up veggies and low-fat or non-fat dip.  You will feel fuller, and you’ll have eaten more nutrients and fewer calories.";
	Tip[30] ="Take the family grocery shopping so everyone can learn to read the nutrition labels (find the cereal that offers the most fiber per serving; find the tastiest non-fat cheese).";

	 d = new Date(); 
	 var obj;
	 obj = document.getElementById("divTip");
	 
	 //This handles startup of new site, but then switches to new method after site is running.
	 if (((d.getDate()-1) >= 0) && ((d.getMonth()+1) == 11))
	 {
	 	 obj.innerHTML = "test";
		 var strText;
		 strText = "<font face='arial, helvetica, sans-serif' color='BLACK' size='-1'><table width=100% cborder=0 cellspacing=0 cellpadding=6>";
		 //Create loop to grab all tip from the 3rd to current date.
		 
		 for (i=0; i<=(d.getDate()-1);i++)
		 {	
		 	if ((i%2)==0)
			 	strText +="<tr bgcolor='#f8ebf5'><td><font size=2><ul><li>" + Tip[i] + "</font></td></tr>" ;	
			else
				strText +="<tr><td><font size=2><ul><li>" + Tip[i] + "</font></td></tr>" ;
		 }
		 
		 strText +="</table></font>";
		 obj.innerHTML = strText;	
	 }				
