$(document).ready(
	function()
	{
	
		
		// News animations
			$("#news_feed").addClass("js");
			
			$("#news_feed").hide();
			
			$("ul.news_control").css({'margin-left' : '-486px'});
				
				$("ul.news_control").animate({
					marginLeft: "0"
				}, 2500 );
			
		
			// Timed trigger for News container fade in
				setTimeout(function() {$('#news_feed').trigger('click');}, 1000);
		
				// News fade in
				$('#news_feed').click(function(event){
			
					$("#news_feed").fadeIn(1000);
		
				});
		
		
			// News control behavior
			$("ul.news_control li a.date").hover(
				function(){
					$(this).animate({
						marginTop: "0"
					}, 200 );
				},
				function(){
					$(this).animate({
						marginTop: "31px"
					}, 200 );
				}					
			);
			
			$("ul.news_control").hover(
				function(){
					$("#news_feed h3").animate({
						opacity: "hide"
					}, "fast" )
					return false;
				},
				function(){
					$("#news_feed h3").animate({
						opacity: "show"
					}, "fast" );
				}					
			);
			
			// Display News item
			$("ul.news_control li a.date").click(
				function(){
					$("ul.news_item").fadeOut("fast");
					$("ul.news_control li a.active").removeClass("active");
					$(this).addClass("active");
					$(this).next("ul").fadeIn("fast");
					return false;
				}
			);
			
			// Hide all
			$("body").click(
				function(){
					$("ul.news_item").fadeOut("slow");
					$("ul.news_control li a.active").removeClass("active");
				}
			);
			
			
			
			
		// Initiate Light Box
		$('.lightboxlink').lightBox();		


	}
);