var currentArticle = "directorsUpdate_article";
var newArticle = "";

$(function() {
	$("ul#menu span").css("opacity","0");
	
	$("ul#menu span").hover(function () {
		$(this).stop().animate({
			opacity: 1
		}, "slow");
	},
	function () {
		$(this).stop().animate({
			opacity: 0
		}, "slow");
	});
});


function changeDisplayItem(menuItem){
	$(".showArticle").fadeOut(function(){
		$(".showArticle").removeClass("showArticle");
		$("#" + menuItem + "_article").addClass("showArticle");
		$(".showArticle").fadeIn();
	});
}

function changeRegistrationItem(menuItem){
	$(".showRegistration").fadeOut(function(){
		$(".showRegistration").removeClass("showRegistration");
		$("#" + menuItem + "_article").addClass("showRegistration");
		$(".showRegistration").fadeIn();
	});
}
