//JS FOR FAQ-STYLE QUESTION-ANSWER DIVS
$(document).ready(function(){		 
	// add/remove hover class to questions on mouseover/mouseout 
	$(".question").hover(function(){
		if( !$(this).is(".answerShown") ){
			$(this).addClass("answerHover");  
		}
	}, function(){
		$(this).removeClass("answerHover");
	});
			
	// add show/hide answers questions onclick
	$(".question").click(function(){
		var $this = $(this);
		if( $this.is(".answerShown") ) {
			$this.next(".answer").slideUp("slow", function(){					
				$this.removeClass("answerShown");
				$this.addClass("answerHidden");
			});
		}
		else {
			$this.removeClass("answerHover");
			$this.next(".answer").slideDown("slow");
			$this.removeClass("answerHidden");
			$this.addClass("answerShown");
		}
		return false;
	});
});
