$(document).ready(function(){
	theDailyNews();
	trainingTimetTable();
	theU13news();
	theUnder15news();
	theUnder17news();
});
		function trainingTimetTable(){
	$("#training .trainingTime:not(:first)").hide();
		$("#training .team").click(function(){
			
			$("#training .trainingTime").slideUp("slow");
			$(this).next(".trainingTime").slideDown("slow");
		});
	}<!--end of the training function-->
	
	function theDailyNews(){
		$("#daily_news .fullStory").hide();
		$("#daily_news .headline").toggle(function(){
			$(this).next(".fullStory").stop().slideDown(2000);
		}, function(){
					$(this).next(".fullStory").stop().slideUp(2000);
		});
	}<!--end of the daily news function-->
	
	function theU13news(){
		$("#u13_info .fullStory").hide();
		$("#u13_info .headline").toggle(function(){
			$(this).next(".fullStory").stop().fadeIn(2000);
		}, function(){
					$(this).next(".fullStory").stop().fadeOut(2000);
		});
	}<!--end of the under 13's news function-->
	
	function theUnder15news(){
		$("#u15_news .fullStory").hide();
		$("#u15_news .headline").toggle(function(){
			$(this).next(".fullStory").stop().slideDown(2000);
		}, function(){
					$(this).next(".fullStory").stop().slideUp(2000);
		});
	}<!--end of the under 15's news function-->
		function theUnder17news(){
		$("#u17_news .fullStory").hide();
		$("#u17_news .headline").toggle(function(){
			$(this).next(".fullStory").stop().slideDown(2000);
		}, function(){
					$(this).next(".fullStory").stop().slideUp(2000);
		});
	}<!--end of the under 17's news function-->
	
	
