
// Handles the health tip of the day

theDate= new Date();
var day = theDate.getDate();
var textdate = (theDate.getMonth() + 1) + '/' + theDate.getDate() + '/' + theDate.getYear();
var numquotes = 31;


// Sets The Graphics

imageFilename = new Array(numquotes+1);
imageFilename[1] = "exercise.jpg";
imageFilename[2] = "coffee.jpg";
imageFilename[3] = "eye.jpg";
imageFilename[4] = "womans_eye.jpg";
imageFilename[5] = "cream_applied.jpg";
imageFilename[6] = "smoking_girl.jpg";
imageFilename[7] = "sunbathing.jpg";
imageFilename[8] = "fruits.jpg";
imageFilename[9] = "walking.jpg";
imageFilename[10] = "plate_of_veges.jpg";
imageFilename[11] = "baby.jpg";
imageFilename[12] = "ingredients.jpg";
imageFilename[13] = "pasta.jpg";
imageFilename[14] = "ivy_poison.jpg";
imageFilename[15] = "snack_fruit.jpg";
imageFilename[16] = "sport_injury.jpg";
imageFilename[17] = "runners.jpg";
imageFilename[18] = "air_balloon.jpg";
imageFilename[19] = "soup.jpg";
imageFilename[20] = "cheese.jpg";
imageFilename[21] = "milk.jpg";
imageFilename[22] = "blood_pressure.jpg";
imageFilename[23] = "rice.jpg";
imageFilename[24] = "herbs_spice.jpg";
imageFilename[25] = "syringe.jpg";
imageFilename[26] = "travel.jpg";
imageFilename[27] = "aerobics.jpg";
imageFilename[28] = "children.jpg";
imageFilename[29] = "family_meal.jpg";
imageFilename[30] = "butter_cheese.jpg";
imageFilename[31] = "pregnant.jpg";

// Sets the Quotes

quotes = new Array(numquotes+1);
quotes[1] = "Exercise can benefit the appearance of your skin. It increases circulation, delivers nutrients and allows for sleep which gives your skin a chance to rejuvenate.";
quotes[2] = "Did you know that coffee drains your body of water? To counteract the effects, for every cup of coffee, drink four glasses of water to replace lost fluids.";
quotes[3] = "To reduce eye redness gently splash cold water on your closed eyes. This should reduce the capillaries. Mild drops from the local drug store can also help.";
quotes[4] = "Recurring eye infections sometimes are the result of eye makeup...and sometimes not. Eye makeup products can become contaminated with germs and as a result cause infections.";
quotes[5] = "Dipping your fingers into a jar of cream can cause bacteria to transfer from your fingers to the cream. By purchasing cream with a pump dispenser, you reduce the risk .";
quotes[6] = "Did you know the Medical College of Wisconsin  found that women who smoke at least one pack of cigarettes a day have a 50% chance of growing more facial hair? ";
quotes[7] = "When outdoors use a broad-spectrum sunscreen that protects against UVA and UVB rays and has a Sun Protection Factor of 15 or greater, even on cloudy days.";
quotes[8] = " Food gives us nutrients we need to build strong, healthy bodies. Nutritious food  gives us energy to get through the day. Junk food does not.";
quotes[9] = "Walking is free and requires only a good pair of shoes. It is generally agreed that adults should accumulate 30 minutes of aerobic activity everyday.";
quotes[10] = "Restricting your calorie intake too much can cause your body to think it is starving. It's better to eat smaller meals more regularly start an exercise plan.";
quotes[11] = "A baby's teeth are susceptible to tooth decay. The American Academy of Pediatric Dentistry suggests not putting your baby to bed with a bottle and washing pacifiers after use.";
quotes[12] = "Ingredients are listed by weight on food labels. The ingredient in the greatest amount is first...the smallest is last. If lots of unhealthy ingredients are at the top...beware.";
quotes[13] = "When eating out, try to select pasta with mainara or tomato sauce instead of meat or cream sauce. Your heart will thank you for it.";
quotes[14] = "A rash from Poison Ivy may not show up for 10 days and may last three weeks. Calamine lotion can sooth the rash. If the rash worsens see your doctor";
quotes[15] = "When eating snacks, try to choose healthier ones like fruits, yogurt and rice cakes. Avoid high sugar and fat snacks like cake and ice cream.";
quotes[16] = "If you sustain a sports injury, make sure you're 100 percent healed before you return to the court or field. To help avoid further injuries, get in shape before playing again.";
quotes[17] = "To start a running program, start off by walking a mile briskly, before even attempting to run. Never increase the amount of exercise you do by more than about 10 percent a week.";
quotes[18] = "It is important to get fresh air every day.  If you work in a stuffy office, step outside and breathe in some fresh air. You will feel regenerated and refreshed!";
quotes[19] = "After making sauces or soups, cool them in the refrigerator and skim the fat from the top. Treat canned broth-style soups the same way. Try low sodium or reduced sodium soups.";
quotes[20] = "When making casseroles with cheese, try lower fat cheese. Or use less regular cheese than what the recipe calls for. If you use a sharp-flavored cheese, you won't taste the difference.";
quotes[21] = "When you make creamed soup or white sauces, use skim, 1-percent, or evaporated skim milk instead of 2-percent milk, whole milk, or cream. To make a low fat sauce, thicken it with cornstarch or flour.";
quotes[22] = "Risk factors like heredity can contribute to high blood pressure. If you have family members with the condition, have your blood pressure checked regularly.";
quotes[23] = "When cooking, make main dishes with pasta, rice, or dry peas and beans. If you add higer fat foods like cheese, use smaller portions just for flavoring instead of the main ingredient.";
quotes[24] = "Use herbs, spices, and no salt seasoning blends to bring out the flavor of foods. Try using garlic, garlic powder, onion, or onion powder instead of garlic and onion salt.";
quotes[25] = "If you're planning an overseas trip, some vaccinations may in order. But think ahead. Some vaccinations must be given up to a month before departing on an overseas trip.";
quotes[26] = "The most frequent complaint among world travelers is diarrhea. Although it's not usually fatal, it can wreak havoc with your travel plans.";
quotes[27] = "Research consistently shows that regular physical activity, combined with healthy eating habits, is the most efficient and healthful way to control your weight.";
quotes[28] = "Teach children how to clean vegetables, make salads, and other basic cooking skills. Children who these skills are able to make healthier meals for themselves as they grow up.";
quotes[29] = "Eating meals as a family can encourage heart-healthy eating habits. By creating nutritious meals, children will accept healthful eating as a way of life.";
quotes[30] = "Try to avoid high fat topping like butter and sour cream on baked potatoes. Instead, ask the waiter or waitress for other seasoning options.";
quotes[31] = "Pregnancy can deprive women of sleep due to discomforts caused by sleeping positions. Obstetricians recommend sleeping on the side, propped up by pillows if necessary.";

// Writes the Image and Quote
document.write('<img width=75 src=health_kiosk/photos/tip_photos/'  + imageFilename[day] + ' align=left vspace=4 hspace=4 border=0><b><font COLOR=#003399 face=arial size=-1>Health Tip</font></b><br><font face=arial size=-1>' + quotes[day] + '</font>');
