var factArray = [];

factArray[0] = "Every week, 12,000 laptops are left in American airports by travelers while only 30% of them will be recovered. That makes 624,000 laptops a year!";
factArray[1] = "Survey results show that 15% of Americans have discontinued sex to answer a cell phone while none have discontinued a cell phone call for sex.";
factArray[2] = "When purchasing a laptop, you can call Dell to negotiate prices!";
factArray[3] = "While the iPod may be the most sought for music player worldwide, majority of users hold Winamp in higher regard than iTunes.";
factArray[4] = "A study by iSuppli Corporation showed that only 9.4% of Americans recycle their cell phones; 36.8% kept their old phones in a drawer; 10.2% threw them away somewhere.";
factArray[5] = "53% of mobile professionals carry confidential company information in their laptops and 65% of them do not protect the data.";
factArray[6] = "The most common place to lose a PDA or other mobile device is a taxi.";
factArray[7] = "The second most common place to lose a PDA or other mobile device is at a bar.";
factArray[8] = "For every 100 people in Israel, about 122.1 computers are owned.";
factArray[9] = "37% of consumers in the US own a portable music player.";
factArray[10] = "From 2000 to 2006, the number of cell phone users in Kenya went from 180,000 to 6.48 million.";
factArray[11] = "Apple owns 73.7% of the retail MP3 player market. SanDisk is second with only 9% shares.";
factArray[12] = "Today, more people own cell phone lines than telephone lines worldwide.";
factArray[13] = "According to Home Office Minister Beverley Hughes at Combating Identity Fraud Conference, PDA theft has cost the country to lose more than 1.3 billion pounds every year.";
factArray[14] = "A laptop is stolen every 53 seconds.";
factArray[15] = "The full range of sound for an average iPod is about 120 decibels. That is similar to standing next to a jet when it takes off!";
factArray[16] = " In a poll by ABC News, 87% agreed that irritating usage of cell phones is an annoying behavior that occured to them most frequently.";
factArray[17] = "The originial iPod was an Internet / Information POD manufactured in Brisbane, Australia.";
factArray[18] = "The largest functioning mobile phone was measured in Cape town and is a scaled up Sony Ericsson W810i.";
factArray[19] = "Termites are affected by music and will eat your house twice as fast if you play them loud music!";
factArray[20] = "In 1943, Navy officer Grace Hopper had to fix a computer glitch caused by a moth, hence the term 'computer bug'."
factArray[21] = "Most cows give more milk when they listen to music.";
factArray[22] = "Jeremy Sng Gim of Singapore holds the current Guinness record for 'Fastest Text Message while Skydiving' of 160 characters in 41.40seconds.";
factArray[23] = "You can use an onion to charge your iPod.";

function randomFact() {
	var index = Math.floor(Math.random() * factArray.length);
	if (document.getElementById) {
		var box = document.getElementById("fact");
		var fact = document.createTextNode(factArray[index]);
		while (box.firstChild)
			box.removeChild(box.firstChild);
		box.appendChild(fact);
	}
}

