/* used on Earth Day site jm */
 var todaydate = new Date(); var whichTipNumber = todaydate.getDate(); var tiptext; var theUrl;
 switch ( whichTipNumber ) {
  case 1 : tiptext="Leaving your car at home twice a week can cut greenhouse gas emissions over 1,500 pounds per year."; theUrl="http://www.epa.gov/climatechange/wycd/road.html"; break;
  case 2 : tiptext="Protect yourself! In summer, always apply sun block SPF 15 or more to protect your skin from solar UV radiation."; theUrl="http://www.epa.gov/sunwise/uvalert.html"; break;
  case 3 : tiptext="Don't idle! Remind your school system to turn off bus engines when buses are parked to eliminate harmful exhaust pollution."; theUrl="http://www.epa.gov/cleanschoolbus/antiidling.htm"; break;
  case 4 : tiptext="Find out the quality of beach water before you go. Check with your state office to be sure you will enjoy your visit to the beach."; theUrl="http://www.epa.gov/beaches/plan/whereyoulive_state.html"; break;
  case 5 : tiptext="Run your dishwasher only when it's full; use the rinse-and-hold dishwasher feature until you're ready to run a full load."; theUrl="http://www.epa.gov/watersense/tips/index.htm"; break;
  case 6 : tiptext="Be extra aware of conditions where older people live. As we age, our bodies become more sensitive to chemicals and environmental conditions."; theUrl="http://www.epa.gov/aging/resources/whatyoucando.htm"; break;
  case 7 : tiptext="Buy water-efficient fixtures and products. The WaterSense label helps shoppers identify water efficient products and programs."; theUrl="http://www.epa.gov/watersense/tips/cons.htm"; break;
  case 8 : tiptext="Check how much of your electricity comes from renewable sources, like wind, solar. Then find green power options available to you."; theUrl="http://www.epa.gov/cleanenergy/energy-and-you/how-clean.html"; break;
  case 9 : tiptext="Shower power! A full bath tub requires about 70 gallons of water, while taking a five-minute shower saves water by using 10 to 25 gallons."; theUrl="http://www.epa.gov/watersense/water/simple.htm"; break;
  case 10 : tiptext="Use pesticides safely, whether at home or in the field. Always follow the instructions on the can or container label - it's the law."; theUrl="http://www.epa.gov/pesticides/label/"; break;
  case 11 : tiptext="Exercising outdoors? Use your local air quality forecast to help plan the best time for a workout or run."; theUrl="http://www.airnow.gov"; break;
  case 12 : tiptext="Allow grass clippings to stay on the lawn, instead of bagging them. Save kitchen scraps for the compost pile, to save on buying fertilizers."; theUrl="http://www.epa.gov/epawaste/conserve/rrr/composting/index.htm"; break;
  case 13 : tiptext="Commuting without polluting! Use public transportation, carpool, walk, or bike whenever possible to reduce air pollution and save on fuel costs."; theUrl="http://www.epa.gov/climatechange/wycd/road.html "; break;
  case 14 : tiptext="You can reduce polluted storm water runoff -- simply pick up your pet's waste; don't leave it to wash away after a rain."; theUrl="http://www.epa.gov/weatherchannel/stormwater.html"; break;
  case 15 : tiptext="Encourage your hometown/state to spend road construction money on the cleanest equipment for air quality."; theUrl="http://www.epa.gov/cleandiesel/"; break;
  case 16 : tiptext="Leaky faucets can waste thousands of gallons of water each year, like money down the drain. Repair or replace old or damaged fixtures."; theUrl="http://www.epa.gov/watersense/water/simple.htm"; break;
  case 17 : tiptext="Do a home energy audit to make your home energy efficient. Replace just one conventional light bulb with a compact fluorescent."; theUrl="http://www.energystar.gov/homeimprovement"; break;
  case 18 : tiptext="Make it a full load. The average washing machine uses 40. 9 gallons of water per load. Buy a high-efficiency washer or save up for full loads."; theUrl="http://www.epa.gov/watersense/water/simple.htm"; break;
  case 19 : tiptext="Farmers, mechanics, and other businesses can help protect the environment by better understanding environmental requirements."; theUrl="http://www.epa.gov/compliance/assistance/centers/index.html"; break;
  case 20 : tiptext="Keep appliances in good working order. Follow manufacturers' suggestions for proper operation and maintenance."; theUrl="http://www.epa.gov/osw/wycd/catbook/tip4.htm"; break;
  case 21 : tiptext="Be creative about reducing waste. Give pet hamsters or gerbils cardboard tubes to play with. Use an egg carton to plant seedlings."; theUrl="http://www.epa.gov/osw/wycd/catbook/tip12.htm"; break;
  case 22 : tiptext="During hot weather, don't top off your gas tank. Even a small gas spill adds to air pollution and wastes fuel."; theUrl="http://www.epa.gov/donttopoff/"; break;
  case 23 : tiptext="On unhealthy air pollution \"action alert\" days, wait to mow your lawn until it's cooler in the evening or early the next morning."; theUrl="http://airnow.gov/index.cfm?action=airnow.actiondays"; break;
  case 24 : tiptext="eCycle - take your old computer, DVD player, or other electronics to a recycling center. This helps keep hazardous substances out of the landfill."; theUrl="http://www.epa.gov/epawaste/conserve/materials/ecycling/donate.htm"; break;
  case 25 : tiptext="Take reusable bags on shopping trips. Keep them in your car or near your door to remember. You can also reuse paper or plastic shopping bags."; theUrl="http://www.epa.gov/osw/education/pubs/shopping.htm"; break;
  case 26 : tiptext="Don't fertilize before a rain storm. Your fertilizer - along with your money - washes down storm drains and can pollute rivers and bays."; theUrl="http://www.epa.gov/epawaste/conserve/rrr/greenscapes/owners.htm"; break;
  case 27 : tiptext="High school students can study links between everyday actions at their high school, greenhouse gas emissions, and climate change."; theUrl="http://www.epa.gov/climatechange/wycd/school.html"; break;
  case 28 : tiptext="Use lead-safe work practices if your home or school was built before 1978. Minimize dust and clean up thoroughly. Keep kids and pets away."; theUrl="http://www.epa.gov/lead/pubs/renovation.htm"; break;
  case 29 : tiptext="Test your home for radon. Radon is a naturally occuring, odorless gas that can seep into your home and cause lung cancer."; theUrl="http://www.epa.gov/radon/radontest.html"; break;
  case 30 : tiptext="Protect children from poisoning by household chemicals such as bug spray. Lock pesticides and chemicals safely away from children."; theUrl="http://www.epa.gov/pesticides/health/poisonprevention.htm"; break;
  case 31 : tiptext="When you travel, stay at hotels that use less water or energy. Before you go, unplug electronics that use electricity even when \"off.\" "; theUrl="http://www.epa.gov/region1/communities/traveltips.html"; break;
 }
 document.write("<i>Today's tip:</i> " + tiptext + " <a href='" + theUrl + "' target='_top'>Read more</a>" );
