


//
// Functions to run when every "other" page loads. (sitemap, search, etc.)
//
$(document).ready(function() {
	
	fixImageCaption();
	
	// if(document.getElementById("calendar_nav")) {
	// 	$("div.calendar #interior-top-pic-wrap a").children("img").hover(function(){
	// 		$(this).parent().fadeTo(1, 0.7);
	// 	},function(){
	// 		$(this).parent().fadeTo(1, 1);
	// 	});
	// }
	
	if(document.getElementById("comment_procedure_link")) {
		$("#comment_procedure_link a").click(function(){
			$("#comment_procedure").slideToggle(function(){
				fixHeights();
			});
			this.blur();
		});
		$("#hide_comment_procedure").click(function(){
			$("#comment_procedure").slideUp(function(){
				fixHeights();
			});
			fixHeights();
		});
	}
});
