	$(document).ready(function(){
	
		//add .show to all switches in first instance
		$(".toggleSwitch").each(function(){
			$(this).addClass("expand");
		});
		//hide all togglePanes in first instance
		$(".togglePane").each(function(){
			$(this).css({display:"none"});
		});

		$(".toggleSwitch").click(function(){
			$(this).toggleClass("expand");
			$(this).toggleClass("shrink");
			$(this).next(".togglePane").slideToggle("slow");
		});
		
		//hover for headers
		$('h3.toggleSwitch').hover(
   			function(){
        		$(this).css({color:"#000"}); //mouseover
    		},
    		function(){
         		$(this).css({color:"#c10005"}); // mouseout
    		}
		);

		//hide all togglePanes in first instance
		$(".menuPane").each(function(){
			$(this).css({display:"none"});
		});

		$(".menuSwitch").click(function(){
			$(this).toggleClass("menuExpand");
			$(this).toggleClass("menuShrink");
			$(this).next(".menuPane").slideToggle("slow");
		});

		
	});
