$(document).ready(function() {       
	$("#benefits").css("display", "inline");
	$("#hhonorsTabLinks li:first").css("color", "#e8d497").addClass("activated");
 
function hideTabs() {       
	$(".info").hide();
	$("#hhonorsTabLinks li").css("color", "#A0AFCC").removeClass("activated"); 	
}
		
function showTab(whatTab) {
	$(whatTab).css("color", "#e8d497"); 
	var moz = (typeof document.implementation != 'undefined') && (typeof
document.implementation.createDocument != 'undefined');             
	if (moz) {
		var source = whatTab.getAttribute("class");  
} else {
		var source = whatTab.getAttribute("className");  
}
	var target = document.getElementById(source);        
	$(target).fadeIn("slow");   
	$(target).css("display", "inline"); 
}                                                         

$("#hhonorsTabLinks li").click (
	function() {   
		if($(this).hasClass("activated")) {
			return false;
		}else {
		hideTabs(); 
		showTab(this);   
		$(this).addClass("activated");
		goSifr();
		}
	}
);   






});

