function WriteQuote(page) 
{      

	// I.T. Programming Ltd (www.it-programming.co.uk)
	// Display a random quotation in the quote div tag which appears on every page.
	
	var quotes = new Array();
	var quotes0 = new Array();
	var quotes1 = new Array();
	var quotes2 = new Array();
	var quotes3 = new Array();
	var quotes4 = new Array();
	
	// Header quotations
	quotes[0] = 'The Bridge to your company\'s marketing potential';
	
	// Homepage
	quotes0[0] = 'We are told never to cross a bridge until we come to it, but this world is owned by those who have "crossed bridges" in their imagination far ahead of the crowd. <br /><br />Anonymous';
	
	// Marketing Services
	quotes1[0] = 'He that would be a leader must be a bridge. <br /><br />Welsh Proverb.';
	quotes1[1] = 'Sometimes, if you stand on the bottom rail of a bridge and lean over to watch the river slipping slowly away beneath you, you will suddenly know everything there is to be known. <br /><br />Pooh\'s Little Instruction Book, inspired by A. A. Milne. ';
	quotes1[2] = 'When you build bridges, you can keep crossing them. <br /><br />Rick Pitino, Author of the New York Times Best Seller Success is a Choice.';
	quotes1[3] = 'We are told never to cross a bridge until we come to it, but this world is owned by those who have "crossed bridges" in their imagination far ahead of the crowd.  <br /><br />Anonymous';
	
	// Management Services
	quotes2[0] = 'He that would be a leader must be a bridge. <br /><br />Welsh Proverb.';
	quotes2[1] = 'Sometimes, if you stand on the bottom rail of a bridge and lean over to watch the river slipping slowly away beneath you, you will suddenly know everything there is to be known. <br /><br />Pooh\'s Little Instruction Book, inspired by A. A. Milne.';
	quotes2[2] = 'When you build bridges, you can keep crossing them. <br /><br />Rick Pitino, Author of the New York Times Best Seller Success is a Choice.';
	quotes2[3] = 'We are told never to cross a bridge until we come to it, but this world is owned by those who have "crossed bridges" in their imagination far ahead of the crowd. <br /><br />Anonymous';
	
	// Interim Services
	quotes3[0] = 'Like a bridge over troubled waters. <br /><br />Paul Simon, 1969.';
	
	// International Services
	quotes4[0] = 'England and America are two countries separated by a common language. <br /><br />George Bernard Shaw, Nobel Prize in Literature 1925.';
	quotes4[1] = 'When you build bridges, you can keep crossing them. <br /><br />Rick Pitino, Author of the New York Times Best Seller Success is a Choice.';

	var ranQuote = 0;
	var quote = '';
	
	switch (page)
	{
		case 0 :ranQuote = Math.floor(Math.random() * quotes0.length);
				quote = quotes0[ranQuote];
				break;
		case 1 :ranQuote = Math.floor(Math.random() * quotes1.length);
				quote = quotes1[ranQuote];
				break;
		case 2 : ranQuote = Math.floor(Math.random() * quotes2.length);
				quote = quotes2[ranQuote];
				break;
		case 3 :
				ranQuote = Math.floor(Math.random() * quotes3.length);
				quote = quotes3[ranQuote];
				break;
		case 4 : ranQuote = Math.floor(Math.random() * quotes4.length);
				quote = quotes4[ranQuote];
				break;		
	}
	
	document.getElementById("quote").innerHTML = "<p>" + quote + "</p>"; 
	
}
