/*Hale Theatre Specific Javascript*/


jQuery(document).ready(function($) {

 	 //adding the list item to main menu
 	jQuery('ul.nav li:last').addClass('last');	
	// Expand Panel
	jQuery("#open").click(function(){
		jQuery("div#panel").slideDown("slow");
	});	
 
	// Collapse Panel
	jQuery("#close").click(function(){
		jQuery("div#panel").slideUp("slow");
	});		
 
	// Switch buttons from "Click Here for More" to "Click Here to Close" on click
	jQuery("#toggle a").click(function () {
		jQuery("#toggle a").toggle();
	});		
 	
 	//prepend span tag
  	//jQuery(".show-boxes a").prepend("<span class='trio-frame'></span>");

    

	
	//toggle
	//Hide (Collapse) the toggle containers on load
	jQuery(".toggle_content").hide(); 

	//Switch the "Open" and "Close" state per click
	jQuery("h3.toggle").toggle(function(){
		jQuery(this).addClass("active");
		}, function () {
		jQuery(this).removeClass("active");
	});

	//Slide up and down on click
	jQuery("h3.toggle").click(function(){
		jQuery(this).next(".toggle_content").show();
	});
	
	
	    	
	   
});


