		        		$(function() {
		        		
		        			var pageId = $('body').attr('id');  // Get the ID of the current page.
		        			
		        			var current = pageId.split("_");  // This will split the variable pageId into an array called 'current', at each '_'. The first part of pageId goes into current[0], and the second part goes into current[1], etc. Here, we are only using the first part to determine which part of the menu should be expanded, by default.
		        			
							var ulId = "ul#" + current[0] + "Nav"; // Concatenate the pieces to make up the ID of the portion of the Quick-Links that we want to keep expanded.
							
							$(ulId).show(); // Expand Quick-Links for current section.
							
							if(current[1] == "ec") {
								$("ul#extraCurrNav").show();
							} // If the current page is in the 'EC' section, expand the Quick-Links for the 'Extra-Curricular Activities'
		
			        		$("h4#churchNavLink a").click(function() {
								$("ul#k8Nav").slideUp('slow');
								$("ul#preschoolNav").slideUp('slow');
								$("ul#extraCurrNav").slideUp('slow');
								$("ul#churchNav").slideToggle('slow');
			        		});
		
			        		$("h4#k8NavLink a").click(function() {
								$("ul#churchNav").slideUp('slow');
								$("ul#preschoolNav").slideUp('slow');
								$("ul#extraCurrNav").slideUp('slow');
								$("ul#k8Nav").slideToggle('slow');
			        		});
		
			        		$("h4#preschoolNavLink a").click(function() {
								$("ul#churchNav").slideUp('slow');
								$("ul#k8Nav").slideUp('slow');
								$("ul#extraCurrNav").slideUp('slow');
								$("ul#preschoolNav").slideToggle('slow');
			        		});
		
			        		$("a#extraCurrNavLink").click(function() {
								$("ul#extraCurrNav").slideToggle('slow');
			        		});
		
			        	});
