// this tells jquery to run the function below once the DOM is read
$(document).ready(function() {

	$('.toggle').hide();
	$('.startshown').show();

	var isDown = false;

	// capture clicks on the toggle links
	$('a.toggleLink').click(function() {

			// toggle the display
			if(!isDown)
			{
				$(this).parent().next('.toggle').slideDown('slow');
				isDown = true;
			} else {
				$(this).parent().next('.toggle').slideUp('slow');
				isDown = false;
			}

		// return false so any link destination is not followed
		return false;

	});

});

