$(document).ready(function(){
               	
	$("#workshopList li").click(function(event) {
		//If the list item clicked is already active (its ul child is visible)
   		if($(this).children("ul").css("display") == "block"){
   			$(this).children("ul").hide();
   			$("a:first", this).removeClass("highlight");
		} 
		else {
       		//Hide all ul child elements and remove highlight on li a element
   			$("#workshopList li ul").hide();
       		$("#workshopList li a").removeClass("highlight");
       		
       		//Show the clicked on li ul child element and highlight the li a element
       		$(this).children("ul").toggle();
       		$("a:first", this).toggleClass("highlight");
 		}
		
 		event.preventDefault();
   }); 
   
   	$("#workshopList li li").click(function(event) {
		window.location  = event.target.href;
	});
       			  
 });