

	$(document).ready(function()
	{
		$(".faq-div").each(
			function()
			{
				$(this).slideToggle("fast"); // close all the faq divs
			}
		);
					
		$("h6 a").click(
			function()
			{
				var open_elem = $(this).attr("rel"); // ID of the element to expand/contact
				$("#" + open_elem).slideToggle("slow"); // open the immediate sibling of the clicked element
				var pos = $(this).css("background-position");
				if (pos == "0px 0px")
				{
					$(this).css("background-position", "0 -20px");
				}
				else
				{
					$(this).css("background-position", "0px 0px");
				}
			})
		}
	);