$(document).ready(function() {
	$(".tab a:first").addClass("ed"); //为第一个a添加当前效果样式
	$(".tab p:not(:first)").hide(); //隐藏其它的p
	$(".tab a").mouseover(function() {
		$(".tab a").removeClass("ed"); //去掉所有a的样式
		$(this).addClass("ed");
		$(".tab p").hide();
		$("." + $(this).attr("id")).fadeIn('slow');
	});
});

