	
	$(document).ready(function(){
	
 	
		$(".more a").text("show answer");
		
		// For all links with the class of 'more'.
	    $(".more a").click(function () {
		
			// Get the ID of the div we're going to show.
			var theID = $(this).parents().children('.content').attr('id');
		
		      if ($("#"+theID).is(":hidden")) {
		        $("#"+theID).slideDown("slow");
				$(this).html("hide answer");
				$(this).addClass("open");
				$(this).blur();
		      } else {
		        $("#"+theID).slideUp();
				$(this).html("show answer");
				$(this).removeClass("open");
				$(this).blur();
		      }
		
			return false;
	    });

 
	});