
	//$(".news_content").css({ height:0 });
	$(document).ready( function(){
		
		if( window.location.hash ){
		
			//setTimeout(function(){},500)	
			var hashVal = window.location.hash;
			showNewsText( hashVal );
		
		}
		
		
	} );
	
	
	
	
	function showNewsText( newsDiv ) {

		closeOpenNewsText();

		var newsText = $(newsDiv).children("div.ce_text");
		
		newsText.css("height","auto");
		var height = newsText.height();
		newsText.css("display","block");

		
		newsText.css("height",0);
		newsText.animate( { "height":height },500 );
		
		var newsLink = $(newsDiv).children("div.left").children("a");
		newsLink.toggleClass("active");
		newsLink.blur();
		

	}
	

	function closeOpenNewsText() {

		var newsTexts = $("div.mod_newsarchive div.ce_text");

		newsTexts.each( function(index) {
				
			var newsText = $(this);	
		
			if( newsText.css("height") > "0px" ) {
				newsText.animate( { "height":0 },500 );
			}
			
				
		});


		var newsLinks = $("div.mod_newsarchive div.left a");
		
		newsLinks.each( function(index) {
								 
			var newsLink = $(this);

			newsLink.removeClass("active");
			
		});
		
	}



