﻿var thedate = new Date( );
var theyear = thedate.getFullYear( );
var nextmonth = thedate.getMonth( ) + 1;
var theday = thedate.getDate( );
if(nextmonth>12){theyear=theyear+1}
if(nextmonth>12){nextmonth=nextmonth-12}
if(theday<=7) {theweek=1} else if (theday<=14) {theweek=2} else if (theday<=21){theweek=3} else {theweek=4}
var tip = theweek*nextmonth
var tip2 = tip+24
if(tip2>48) {tip2=tip2-48}

var weeklytips = new Array();
weeklytips[1] = "Teach children to stay well away from automatic garage doors when they are opening and shutting.";
weeklytips[2] = "Try saving 1-3 percent of the market value of your home annually for future maintenance expenses.";
weeklytips[3] = "Bathroom fans remove excess moisture from the room when properly installed. Fans should vent to the exterior and not up into the attic.";
weeklytips[4] = "Water temperatures over 120 degrees F can be a scalding problem. Many times the temperature can be adjusted at the hot water heater.";
weeklytips[5] = "Spray the grate of your outdoor grill with cooking spray before each use. This can keep food from sticking.";
weeklytips[6] = "Never use an outdoor grill indoors.";
weeklytips[7] = "Check the operation and function of your garage door opener every 30 days.";
weeklytips[8] = "Safety glazing was developed to strengthen glass in areas where people are prone to breaking or falling through glass, including sliding glass doors.";
weeklytips[9] = "Safety glazed glass, used in new construction is identified by a “bug,” a series of letters and numbers embedded in a corner of the glass usually with the word “tempered” or “laminate.”";
weeklytips[10] = "Mark electrical, gas and water shutoffs so that everyone in the family knows where to find them in an emergency.";
weeklytips[11] = "Outdoor electrical circuits should be protected by GFCI at the source.";
weeklytips[12] = "Outdoor electrical outlets should be protected from water intrusion and enclosed so that wires are not subject to damage from weather, shovels or gardening tools.";
weeklytips[13] = "To light trees or shrubbery, angle the light against a wall or fence behind the object to bring out the texture of the leaves or needles and add to the visual drama.";
weeklytips[14] = "Solar lights use solar cells that collect energy from the sun during the day to charge the batteries used to power lights during the night.";
weeklytips[15] = "Motion sensors limit the time a light is on at night. This can save energy and extend the life of the bulbs used.";
weeklytips[16] = "To help prevent wood-destroying insect problems, keep wood away from the foundation of a home. This includes wood mulch and wooden fencing.";
weeklytips[17] = "To prevent falls on stairs, use proper lighting at both the top and bottom of the stair case, remove or repair trip hazards like protruding nails and avoid leaving clutter on the stairs.";
weeklytips[18] = "Furnace filters were originally designed to protect the mechanical components of HVAC equipment from dust and dirt.";
weeklytips[19] = "Today’s filters are designed to help clean the air by removing microscopic particles that aggravate asthma and allergy symptoms. However, filters only work when the furnace or air conditioner is operating.";
weeklytips[20] = "Check gutters at least twice a year. Remove any debris to keep the drainage system operating properly.";
weeklytips[21] = "Install carbon monoxide detectors near sleeping areas and in each bedroom to add a second level of defense against CO poisoning.";
weeklytips[22] = "Thermostats should be located on an interior wall in the center of the home, away from direct sunlight or radiated heat from fireplaces.";
weeklytips[23] = "Forced air furnaces use a fossil fuel to heat the air. A fan moves air across hot metal. The warm air is circulated throughout the home using a series of ducts.";
weeklytips[24] = "Food is much easier to remove from the grate of an outdoor grill when the grill is still warm. Use a wire brush.";
weeklytips[25] = "Turn the meat on a grill with tongs instead of a fork. This keeps the juiciness of the meat trapped inside instead of spilling it into the fire.";
weeklytips[26] = "A formal garden is typically a symmetrical design centering on the front door of a home. A perpendicular axis may appear in the back of the home. These include carefully tended, geometrically shaped flower beds with hard-surface paths.";
weeklytips[27] = "An informal garden is asymmetrical with curved pathways. Plantings are allowed to grow to their natural height and fullness. Paths can be constructed of a natural surface, grass or hard surfaced.";
weeklytips[28] = "Rafter collar ties, ceiling joists and manufactured roof trusses were designed to support the roof structure, not to be used as storage. When looking for storage solutions, consider support carefully.";
weeklytips[29] = "To keep your house safe from crime, keep bushes and other plantings trimmed to a spot below all window sills.";
weeklytips[30] = "Many popular vans, SUVs and trucks sold today reach over 6 feet tall. When shopping for a house, consider the garage height.";
weeklytips[31] = "Humidity is the amount of water vapor suspended in air at a given temperature. Hugh humidity levels can lead to condensation and moisture problems inside the home.";
weeklytips[32] = "Check heating and cooling filters monthly. Clean or replace as necessary.";
weeklytips[33] = "Air conditioning condenser units (the part that is outside the home) require free air flow to function properly. Remove obvious obstructions, including the cover branches and other foliage before starting the air conditioner in the summer.";
weeklytips[34] = "Digging without knowing what is buried underground puts people at risk of harming themselves or others, damaging utility services and bearing the responsibility for repairs or fines levied to restore service.";
weeklytips[35] = "Ceiling fans circulate air. They do not ventilate a room or lower the temperature. The air movement over skin provides a wind-chill effect that makes the room feel cooler without changing the temperature.";
weeklytips[36] = "Turn off ceiling fans when leaving a room. Because ceiling fans only help cool skin, the furniture won’t “feel” any cooler with the fan left on.";
weeklytips[37] = "For general purposes, overhead electrical lines should be out of reach of people and out of the way of vehicles, ladders or other equipment. Wires should also be clear or trees or other obstructions that could cause abrasion and expose bare wires.";
weeklytips[38] = "Keep weep holes at the bottom of storm windows or window screens clear of obstruction at all times. This helps pulls moist air out of the home and prevent mold growth.";
weeklytips[39] = "If you intend to leave town, ask a trusted neighbor to check on the house, collect mail and do small jobs on the exterior. This discourages thieves.";
weeklytips[40] = "When organizing a garage or storage place, group like items together so things can be found more easily. For instance, put all items for camping in one area.";
weeklytips[41] = "Clear storage receptacles -- those you can see into -- such as glass jars for small pieces or clear plastic tubs with labels, make it easy to find items quickly.";
weeklytips[42] = "Before beginning any landscaping project, take time to look at the big picture to define your overall project and goals.";
weeklytips[40] = "Consider long-term maintenance before beginning backyard projects. Think about what plantings will look like now and when fully mature.";
weeklytips[43] = "When planting trees, know that root systems can cause upheaval in driveways and sidewalks. Plant trees well back from permanent paving and foundations.";
weeklytips[44] = "A bathroom fan helps remove excess moisture and prevents damage to surfaces when installed and used correctly.";
weeklytips[45] = "Septic systems must be pumped and inspected periodically by a professional to remove solids and help microorganisms clean the wastewater more effectively.";
weeklytips[46] = "According to Energy Star statistics, if every American replaced one incandescent light bulb with an Energy-Star qualified compact fluorescent light bulb, it would save enough energy to light more than 3 million homes.";
weeklytips[47] = "Carbon monoxide, an odorless, colorless gas, is a byproduct of combustion processes in furnaces, fireplaces, appliances, charcoal grills and vehicles that use fossil fuels. It can cause injury or death.";
weeklytips[48] = "Efficiency of the furnace and filters will decrease over the life of the filter as small holes get plugged with dust and debris.";


document.writeln('<table width=\"64\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"#708580\" align="center">' +
'<tr>' +
'<td bgcolor=\"white\">' +
'<table width=\"64\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">' +
'<tr>' +
'<td bgcolor=\"#bddbd4\"><img src=\"/images/spacer.gif\" alt="" height=\"0\" width=\"150\" border=\"0\"></td>' +
'</tr>' +
'<tr height=\"23\">' +
'<td bgcolor=\"teal\" height=\"23\">' +
'<div align=\"center\">' +
'<font size=\"2\" color=\"white\" face=\"Verdana, Arial, Helvetica, sans-serif\">Home Safety Tips</font></div>' +
'</td>' +
'</tr>' +
'<tr>' +
'<td>' +
'<table width="100%" border="0" cellspacing="5" cellpadding="3">' +
'<tr><td></td><td></td></tr>' +
'<tr><td width="10" valign="top">•</td>' +
'<td><font size\="1\" face=\"Verdana, Arial, Helvetica, sans-serif\">' + weeklytips[tip] + '</font></td>' +
'</tr>' +
'<tr><td></td><td></td></tr>' +
'<tr><td width="10" valign="top">•</td>' +
'<td><font size\="1\" face=\"Verdana, Arial, Helvetica, sans-serif\">' + weeklytips[tip2] + '</font></td>' +
'</tr>' +
'<tr><td></td><td></td></tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>');