$(document).ready(function(){
	// activates hide/show on faq links
	
	$("a.toggle").next("span").hide();
	
	$("a.toggle").toggle(function(){
	$(this).next("span").css("display",'block');
	$(this).addClass("arrow_off");
	$(this).removeClass("arrow_on");
	
	
	
	 },function(){
	 $(this).next("span").hide();
	 $(this).addClass("arrow_on");
	 $(this).removeClass("arrow_off");
	});


	// activates 'open all' and 'close all' buttons
	$("a.open_all").click(function(){
	$("span.answer").css("display",'block');
    $("a.toggle").addClass("arrow_off");
    $("a.toggle").removeClass("arrow_on");
	return false;
		});
	
		$("a.close_all").click(function(){
		$("span.answer").hide();
	    $("a.toggle").addClass("arrow_on");
	    $("a.toggle").removeClass("arrow_off");
		return false;
			});
// activates tabs


// removes outlines from all faq links	
	$(".close_all, .open_all, .toggle").focus(function(){
		$(this).blur().end();
		$(this).hideFocus = true;
	});
	
	
});