/*
q_a.js

This file handles the interface of the question and answer divs on the Q & A page.
Author: Zachary Rattner
Version: 1.7

*/

$(document).ready(function() {
	// Hide the answer class. Done in JS so non-JS browsers will not have content hidden.
	$('.answer').hide();
	
	// Show the intrsuctions to click on a question to show the answer
	$('.hide_nojs').show();
	
	// Set the question cursors to pointer
	$('.question').css("cursor", "pointer");
	
	// This function is called whenever a question is clicked
	$('.question').click(function() {
		$(this).next().slideToggle("slow");
	});

});