

	// The Array Function 

	function makeArray(len) {
	    for (var i = 0; i < len; i++) this[i] = null;
	this.length = len;
	}

	// This is where the array of text/images/sounds is created.

	ideas = new makeArray(11);
	ideas[0] = "Although some roof systems take less maintenance than others, all roof systems should be checked periodically to be sure that they are free of debris and drains are clear.  'Rusty' recommends that you inspect your roof quarterly.";
	ideas[1] = "Clean all debris from the surface of the roof. This includes debris that has gathered behind HVAC units, pipes and pitch pans, and any other roof penetrations. Debris has a tendency to hold water, and water will expedite roof deterioration"
	ideas[2] = "Keep an eye on any blisters you see. If they get large enough that they split open, you will need to contact a foam contractor to repair them but they still should not leak."
	ideas[3] = "Check the mortar on chimneys and parapet walls, both in between the brick and on top. If it’s damaged or deteriorated, have it tuck-pointed. Any mason can perform this work."
	ideas[4] = "Remove all debris from the roof surface. This includes vegetation, dirt, loose nails and screws, unused equipment, etc. With a single-ply roof, you have only one layer of protection, so if a nail head gets stepped on and penetrates that one thin layer, then eventually there will be a leak."
	ideas[5] = "Water test any sump drains twice per year. Once in the spring and once in the fall before winter sets in. If they don't drain properly, call a plumber and get them working properly. Drains will often leak if they are holding water."
	ideas[6] = "Check all caulking and sealants on flashings and copings. Scrape and remove any caulking that is weather cracked and damaged. Clean the area thoroughly. Use a wire brush if necessary. Reapply a polyurethane caulking such Vulkem, NP-1, or equivalent."
	ideas[7] = "Check the mortar on chimneys and parapet walls, both in between the brick and on top. If it’s damaged or deteriorated, have it tuck-pointed. Any mason can perform this work."
	ideas[8] = "If your roof has a gravel surfacing and there are some bare spots present, clean the bare spot thoroughly using a broom and a wire brush if necessary. Be sure to remove all loose dirt generated from brushing and sweeping. Blow on the area if need be. Spread a thin layer of asphalt roof cement (mastic) over the bare area about 1/8 inch thick. Gather some loose gravel from other areas of the roof and embed it in the roof cement."
	ideas[9] = "Check all caulking and sealants. Scrape and remove any caulking that is weather cracked and damaged. Clean the area thoroughly. Use a wire brush if necessary. Reapply a polyurethane caulking such Vulkem, NP-1, or equivalent."
	ideas[10] = "The failure to find and correct minor roof deterioration in the earliest stages is probably the greatest cause of premature roof problems. This is particularly true of roofing materials applied on relatively low-sloped roofs."




	// The random number generator.

	function rand(n) {
	seed = (0x015a4e35 * seed) % 0x7fffffff;
	return (seed >> 16) % n;
	}
        
	var now = new Date()
	var seed = now.getTime() % 0xffffffff


