// Andy Langton's show/hide/mini-accordion - updated 23/11/2009
// Latest version @ http://andylangton.co.uk/jquery-show-hide

$(document).ready(function() {
	var showText='show';
	var hideText='hide';
	var is_visible = false;
	$('.toggle').prev().append(' (<a href="#" class="toggleLink">'+showText+'</a>)');
	$('.toggle').hide();
	$('a.toggleLink').click(function() {
		is_visible = !is_visible;
		if ($(this).text()==showText) {
			$(this).text(hideText);
			$(this).parent().next('.toggle').slideDown('slow');
		}
		else {
			$(this).text(showText);
			$(this).parent().next('.toggle').slideUp('slow');
		}
		return false;
	});
});

