		$(document).ready(function() {

			// Hide all expandable content
			$(".communicatecontent").hide();
			
			// Hide maximise button on click, reveal next element containing content
			$(".maximise").click(function() {
				$("#frsbdetails").fadeOut(500);
				$(".communicatecontent").slideUp(500);
				$(".maximise").show();
				$(this).hide().next().slideDown(500);
				var selectedSection = '#'+$(this).hide().next().attr("id");
				$(selectedSection).queue(function() {
					$.scrollTo( selectedSection, 800 );
					$(this).dequeue();
				});
				return false;
			});
			
			// Hide expandable content on click, fade in maximise button that was previously hidden
			$(".minimise").click(function() {
				$(this).parent().hide().prev().fadeIn(500);
				$("#frsbdetails").fadeIn(500);
				return false;
			});

		});
