/**
 *	Fast Facts
 *	Rotate random 'fast fact's in set area of the page
 *
 *	@copyright: Work Communications :: http://www.workcomms.com/
 *
 *	@written: 27/08/2008
 *	@edited:
 *
 *	Contents
 *
 *	onload
 *
 */
 
 /* On load */
 $(document).ready(function(){
 	
 	// Create a list of facts
 	var facts = new Array();
 	
	facts[0] = 'The city of Chester is over 2,000 years old.';
	facts[1] = 'Blackpool is home to the world\'s largest mirror ball.';
	facts[2] = 'Chester has the most complete set of town walls in the country.';
	facts[3] = 'The view from Helsby Hill is thought by many to be the best in Cheshire.';
	facts[4] = 'Burnley is home to three award-winning parks.';
	facts[5] = 'The Winsford Flashes (three lakes along the River Weaver) are known as Cheshire\'s version of the Norfolk Broads.';
	facts[6] = 'Blackpool is reputed to have more hotel and B&B beds than the whole of Portugal. ';
	facts[7] = 'Huntingdon is the birthplace of Oliver Cromwell';
 	
 	// grab a random fact
 	var factsLength = facts.length; 	
 	var randomNumber = Math.floor(Math.random()*factsLength);
 	
 	/* Put the fact onto the page */
 	$('#fact').html(facts[randomNumber]);
 	 	
 });
