//<![CDATA[    

	
	// When the page is ready
	$(document).ready(function(){    
		$("#searchToggle").click(function(){ $(this).hide(); $("#topNav form").attr("style", "display:block;"); $("#topNav").attr("style", "width:340px;"); })
		$("#searchterms").click(function(){ $("#topNav form label").hide(); })
		$("#sidebar h4 a").click(function(event){ changeSidebar($(this)); event.preventDefault(); });
		
		$("#sidebar .closed ul").hide();
		$("#sidebar .closed .more").hide();
   	});                             
	
	function changeSidebar(nodeClicked){
		$("#sidebar>li").attr("class","closed");
		$("#sidebar>li>ul").hide("slow");
		$("#sidebar>li>.more").hide("slow");
		var currentOpen = nodeClicked.parent().parent();
		currentOpen.attr("class","open");
		$("#sidebar .open>ul").show("slow");
		if($("#sidebar .open").attr("id") == "podcastFeed"){
			$("#sidebar .more").show("slow");
		}
	}
	
   	     

 //]]>
