// Functions to provide the SEO content switch on the home page.
// The prototype library must be included on the home page before this script is executed.
// If its missing, the Prototype library can be downloaded from http://www.prototypejs.org/.
// Steve Hobbs
// 10/01/2008

Event.observe(window, 'load',
	function()
	{
		var contentElement = $("readmore_content"); // the content we want to show/hide

		// Make sure it's hidden initially
		contentElement.hide();

		$("readmore_switch").observe('click', function(event)
			{	
				contentElement.toggle();
			});
			
		$("readmore_close").observe("click", function(event)
			{
				contentElement.hide();
			});
	}
);