$(document).ready(function(){
	
	$(".accordion h3").eq(100).addClass("active");
	$(".accordion p").eq(100).show();
 
	$(".accordion h3").click(function(){
		$(this).next("p").slideToggle("slow")
		.siblings("p:visible").slideUp("slow");
		$(this).toggleClass("active");
		$(this).siblings("h3").removeClass("active");
	});
 
});
$(document).ready(function(){
	$nav_li=$(".nav li");
	$nav_li_a=$(".nav li a");
	var animSpeed=450; //fade speed
	var hoverTextColor="#fff"; //text color on mouse over
	var hoverBackgroundColor="#ff9933"; //background color on mouse over
	var textColor=$nav_li_a.css("color");
	var backgroundColor=$nav_li.css("background-color");
	//text color animation
	$nav_li_a.hover(function() {
		var $this=$(this);
		$this.stop().animate({ color: hoverTextColor }, animSpeed);
	},function() {
		var $this=$(this);
		$this.stop().animate({ color: textColor }, animSpeed);
	});
	//background color animation
	$nav_li.hover(function() {
		var $this=$(this);
		$this.stop().animate({ backgroundColor: hoverBackgroundColor }, animSpeed);
	},function() {
    	var $this=$(this);
		$this.stop().animate({ backgroundColor: backgroundColor }, animSpeed);
	});
});

