$(document).ready(function() { 		
		
        $('a.slide-toggle').click(function() {
 				var name = $(this).attr('title');
				$(".initiativeDescription").hide();
         $("#"+name).toggle(400);
          return false;
        });
				
				$('a.close-slide-toggle').click(function() {
				$(this).parents(".initiativeDescription").toggle(400);
          return false;
        });
				
				$('a.view-all').click(function() {
				$(".initiativeDescription").fadeIn(400);
          return false;
        });
				
				$('a.fade-toggle').click(function() {
 				var name = $(this).attr('title');
				$(".initiativeDescription").hide();
				$("div#eventRegistrationForm").hide();
				$(".showEventRegistrationForm").removeClass("Hidden");
         $("#"+name).fadeIn(200);
          return false;
        });
				
				$('.slide-show').click(function() { 
          $(this).next('div').toggle(400);
          return false;
        });
				$('.slide-close').click(function() { 
          $(this).parent().parent().toggle(400);
          return false;
        });		
				$('.slide-close-all').click(function() { 
          $(".subDescriptions").slideUp(400);
          return false;
        });
					$(".view-all-descriptions").toggle(
					function() {
						$(".subDescriptions").fadeIn(200);						
						return false;
					},
					function() {
						$(".subDescriptions").fadeOut(200);
					return false;
         });
				$('.showEventRegistrationForm').click(function() {					
          $('div#eventRegistrationForm').toggle(600);
					$(this).toggleClass("Hidden");

          return false;
        });
      });


