//To add a new quick fact to the Web site, just add 
//another item to the below array
//Every entry must be in quotes and end with a comma.

factArray = new Array(
"Water is the only substance on earth found naturally in three forms solid, liquid and gas",
"You can survive about a month without food, but only 5-7 days without water",
"A dairy cow has to drink 4 gallons of water to produce 1 gallon of milk",
"Cold water is absorbed into the body faster than warm water",
"Driving a car in the city typically results in the loss of as much as half a litre of water an hour which can trigger emotional changes that can lead to road rage",
"We can lose up to 2 litres of water in 40 minutes when exercising",
"Even at rest your skin can lose up to half a litre of water into the atmosphere every day, and during hot weather it will lose even more",
"Your brain tissue is 85% water. Messages from your brain to everywhere else in your body are transported on ‘waterways’",
"Humans lose the equivalent of a pint or more of water every day just breathing",
"The human body is comprised of around 75% water at birth, but this can reduce to 55% by the end of a person’s life. This is most visible from the wrinkling of the skin",
"Of all the earth's water, 97% is salt water found in oceans and seas",
"Two-thirds of the water used in an average home is used in the bathroom",
"The average family of four uses approximately 480 litres of pure drinkable water per day",
"It takes 2,072 gallons of water to make four new tyres",
"The average five-minute shower takes between 15 to 25 gallons of water",
"One gallon of water weighs approximately 8 ˝ pounds",
"The first municipal water filtration works opened in Paisley, Scotland in 1832",
"You can refill an 8 oz glass of water approximately 15,000 times for the same cost as a six-pack of soda",
"Global water use has more than tripled since 1950",
"Two out of three people in the world will face water shortages by the year 2025",
"Water regulates the Earth’s temperature and also regulates the temperature of the human body",
"A dripping tap can waste up to 2,000 gallons of water per year",
"Each day, the sun evaporates 1,000,000,000,000 (one trillion) tons of water",
"Groundwater can stay polluted for several thousand years",
"One inch of rain falling on one acre of land is equal to about 27,154 gallons of water",
"There is approximately the same amount of water on Earth today as there was when the Earth was formed",
"Drinking just two glasses of water can help increase low blood pressure",
"Water consumption usually drops 18-25% after a water meter is installed",
"In the developing countries, 80% of illnesses are water-related",
"Of the total world's freshwater supply, about one-third is found underground",
"Approximately 300&nbsp;litres of water is required to produce 1&nbsp;kilogram of paper",
"On average, 13% of piped water is lost in pipeline leaks&nbsp;– up to 30% in some communities",
"Once evaporated, a water molecule spends about 10&nbsp;days in the air",
"The longest river in the world is the Nile in Africa at 4,132 miles long");

function writeFact(location){
	document.getElementById(location).innerHTML = factArray[Math.floor(Math.random() * factArray.length)];
}
writeFact("factPane");