// JavaScript Document

var $j = jQuery.noConflict();

$j(document).ready(function(){
	
	$j(".panel-content").slideUp(0);
	//$j(".accordion table tr:nth-child(even)").slideUp(0);
	//$j("table.accordion tr:nth-child(even)").addClass("closed");
	
	$j(".panel h3.openpanel").click(function(){
		
		if ($j(this).hasClass("active") ) {
    	$j(this).siblings(".panel-content").slideUp("fast");
		$j(this).removeClass("active");
  		}
		else {
		$j(".panel h3").siblings(".panel-content").slideUp("fast");
		$j(this).siblings(".panel-content").slideDown("slow");
		$j(".panel h3").removeClass("active");
		$j(this).addClass("active");
		}

	});
	
	
	/*$j(".fellowinfo .close").click(function(){
		$j(".fellowinfo h3").siblings("div:last-child").slideUp("fast");
		$j(".fellowinfo h3").removeClass("active");
	});
	
	
	$j(".accordion table tr:nth-child(odd)").click(function(){
		//$j("table.accordion tr:nth-child(even)").slideDown(1000);
		$j(this).next("tr").slideToggle(0);
		//$j(this).next("tr").slideDown("slow");
		//$j(".fellowinfo h3").removeClass("active");
	});
*/

});


