// jQuery script to handle the collpase/expand buttons for content boxes
jQuery(document).ready(function($){

	// bind show/hide behaviors for each section block on band profile pages
	var bindToggleArea = function() {

		$('.toggleYear').each(

			// For each add button, bind the onclick behavior.
			function() {

				// Bind the onclick event 
				$(this).click(
					function() {

						// toggle the element
						$(this).next().slideToggle();
						
						return false; // return false so the link doesn't actually click anywhere					
					}
				);
			}
		);
	};
	
	bindToggleArea(); // bind show/hide events on initial pageload
	
});