/**********************************
 ** Custom jQuery for FYI by PLS **
 **    Author: Phillip Copley    **
 **      Created: 7/21/2010      **
 **********************************/

$(document).ready(function() {

	/* When a user clicks on an anchor tag
	   with the ID "toggle-1548" */
	$('a#toggle-1548').click(function() {
		/* Toggle element ID "cat-1548-children"
		   (in this case <ul> but can be anything */
		$('#cat-1548-children').toggle(400);
		/* Toggle the class "active" to the anchor
		   tag's parentNode (<li> tag. This changes
		   the background */
		$(this.parentNode).toggleClass("active");
		/* Don't return any errors if something
		   went wrong. */
		return false;
	});
	
	$('a#toggle-1549').click(function() {
		$('#cat-1549-children').toggle(400);
		$(this.parentNode).toggleClass("active");
		return false;
	});
	
	$('a#toggle-1550').click(function() {
		$('#cat-1550-children').toggle(400);
		$(this.parentNode).toggleClass("active");
		return false;
	});
	
	$('a#toggle-43').click(function() {
		$('#cat-43-children').toggle(400);
		$(this.parentNode).toggleClass("active");
		return false;
	});

});
