$(function() {
//  $('#main_content_middle').hide();	
		
//  $('#main_content_middle').show();
	
//	  $("#main_content_middle").css('display','none').fadeIn(3000); 
//		$("#main_content_middle").fadeTo("slow", 2.0);
 
	$("#newsSection").accordion({ header: "h2", navigation: true, fillspace: true, collapsible: true, autoHeight: false});
	//  $("#newsSection").accordion("activate",0);
	 $("#newsSection").show();
		// $( "#newsSection").accordion({ animated: 'bounceslide' });
		 
		 //getter
		//	var animated = $( ".selector" ).accordion( "option", "animated" );
		//setter
	//	$( "#newsSection" ).accordion( "option", "animated", 'bounceslide' );
	
			
		/*	$("#newsSection2").accordion("activate",0);
			$("#newsSection2").show();
		*/
$("#newsSection3").accordion({ header: "h2", navigation: true, fillspace: true, collapsible: true, autoHeight: false });
		
			$("#newsSection3").show();
			
	
			
			 $("#footer").fadeTo("slow", 1.0);
			 $("#footer").css('display','none').fadeIn(4000);
			
		//	  $('#footer').hide();
		   
		  
		  
		   
		  /* $("#newsSection2").accordion({ header: "h2", animated:"bounceslide", navigation: true, fillspace: true, clearStyle: true });
		    */
		//   $("#newsSection2").filter(":not(:has(.selected))");
       //    $("#newsSection2").accordion("activate", -1);
		 
		 
//getter
		/*	var collapsible = $('#newsSection','#newsSection3').accordion('option', 'collapsible');
		
			$('#newsSection', '#newsSection3').accordion('option', 'collapsible', true);
		
			var autoHeight = $('#newsSection','#newsSection3').accordion('option', 'autoHeight');
		
			$('#newsSection','#newsSection3').accordion('option', 'autoHeight', true);*/
			
			//getter
		//	var animated = $( "#newsSection" ).accordion( "option", "animated" );
			//setter
		//	$( "#newsSection" ).accordion( "option", "animated", 'bounceslide' );
			
			
        });
	
