


$(function() {	
	$("a[href*='#']").filter(function() {
		return !$(this).parent().parent().hasClass("tab");
	}).slideScroll();
	
	$("#xNews ul li span").click(function() {
		$("#xNews .xList02").toggle(400);
		$("#xNews ul li").toggle();	
	});	
	
	
	
	$("#xMenu li a").hover(function() {
		$(this).animate({ backgroundColor: "#3A4145" }, 100, function() {
			$(this).animate({ color: "#ffffff" }, 100);
		});
	},function() {
		$(this).animate({ backgroundColor: "#ffffff" }, 100, function() {
			$(this).animate({ color: "#004466" }, 100);
		});
	});
	
	/*
	$("#xMenu li a").hover(function() {
		$(this).animate({color: "#ffffff", backgroundColor: "#3A4145"}, 200);
	},function() {
		$(this).animate({color: "#004466", backgroundColor: "#ffffff"}, 200);
	});
	*/
	
	/*
	$("#xMenu li a").focus(function() {
		$(this).animate({color: "#ffffff", backgroundColor: "#3A4145"}, 200);
	});
	$("#xMenu li a").blur(function() {
		$(this).animate({color: "#003344", backgroundColor: "#ffffff"}, 200);
	});
	*/
	
	
	$(".xGoToPageTop a").hover(function() {
		$(this).animate({opacity: 0.6}, 100);
	},function() {
		$(this).animate({opacity: 1.0}, 100);
	});
	$(".xGoToPageTop a").focus(function() {
		$(this).animate({opacity: 0.6}, 100);
	});
	$(".xGoToPageTop a").blur(function() {
		$(this).animate({opacity: 1.0}, 100);
	});
	
	$("#xDisc ul li a").hover(function() {
		$(this).animate({opacity: 0.6}, 100);
	},function() {
		$(this).animate({opacity: 1.0}, 100);
	});
	$("#xDisc ul li a").focus(function() {
		$(this).animate({opacity: 0.6}, 100);
	});
	$("#xDisc ul li a").blur(function() {
		$(this).animate({opacity: 1.0}, 100);
	});
});
