// remap jQuery to $
javascript: jQuery(document).ready(function($){

// Subnav accordion collapse
	$('.historicalmonth li').children('ul').hide();
	$('.historicalmonth li ul:first').show();
	$('.monthname').prepend('<span class="trigger"><span class="viewnav">View</span><span class="hidenav">Hide</span> Summaries</span>');
	$('.viewnav:first').hide();
	$('.hidenav:first').show();
	
	$(".trigger").click(function() {
		if ($(this).parent("li").children("ul").is(":hidden")) { 	
		  $(this).parent("li").children("ul").slideDown("fast"); 	
		  $(this).children(".hidenav").show(); 	
		  $(this).children(".viewnav").hide(); 	
		} else { 	
		  $(this).parent("li").children("ul").slideUp("fast"); 	
		  $(this).children(".viewnav").show(); 	
		  $(this).children(".hidenav").hide(); 	
		}
	});

});
