		$(document).ready(function() { 
		
			$('.news_blt').click(function(){
			
				$("#loading").unbind("ajaxStart");
				
			
				var startItem = Number($('#startItem').attr("value")) +1;
				
				var loadPHP = "/home/news.php?current_page=" + startItem;
				
				//alert(loadPHP);
				$('#home-news-section2').hide();
				$('#home-news-section2').load(loadPHP,' ',showContent);
			
			});
			
			
			$('.news_blt_left').click(function(){
			
				$("#loading").unbind("ajaxStart");
			
				var startItem = Number($('#startItem').attr("value")) - 1;
		
				var loadPHP = "/home/news.php?current_page=" + startItem;
				
				//alert(loadPHP);
				$('#home-news-section2').hide();
				$('#home-news-section2').load(loadPHP,' ',showContent);
			
			});
			
			function showContent() { 
				
				$(this).animate({
				"height": "toggle", "opacity": "toggle"
				},'slow'); 
				
				
				$("#loading").ajaxStart(function(e){

				   $(this).show();
	   
				   $('#ResultSet').fadeTo('slow', 0.33);

				});
				
		    }   
				
		
		});
