jQuery.fn.fadeToggle = function(speed, easing, callback) {
  return this.animate({opacity: 'toggle'}, speed, easing, callback); 
};

jQuery(document).ready(function() {
	
	$("#ifStudent, .newsIndex").hide();
	
	$("li.boardList").find("p:last").css({ 'margin': '0' });

	$("#yesStudent").bind("click", function() {
		$("#ifStudent").show();
		$(this).unbind("click");
	});

	$("#noStudent").bind("click", function() {
		$("#ifStudent").hide();
		$("#yesStudent").bind("click", function() {
			$("#ifStudent").show();
		});
	});


	/* Custom fonts
	------------------------------------------------------------*/
	/*Cufon.replace("h1", {
		color: '-linear-gradient(#3152b6, #253e86)'
	});

	Cufon.replace("h2, legend", {
		color: '-linear-gradient(#3152b6, #253e86)'
	});*/
	

	/* Banner
	------------------------------------------------------------*/
	//$(".slide").hide();
	//$(".slide").fadeIn(1400);
	
	
	/* About - Boardmembers
	------------------------------------------------------------*/
	$(".boardDesc").hide();
	/*$("img.pplImg").width(100).height(100);
	$(".boardMember").bind("click", function() {
		$(this).find(".memberBio").slideToggle(600);
	});*/
	
	
	/* Jobs
	------------------------------------------------------------*/	
	$("table.scheme").find("tr:even").css({ backgroundColor: '#efede4' });

});
