jQuery(function( $ ){
	
	$(".FAQA").hide();
		
	//crossover show/hide funtionality
	
	$(".FAQQ").click(function(){
	
		
		if($(this).next(".FAQA").css("display") == "none")
		{
			$(".FAQA").hide();
			$(".FAQQ").css("margin-top","0px");
			$(".FAQQ").css("margin-bottom","3px");
			$(".FAQQ").css("padding-top","0px");
			$(".FAQQ").css("font-weight","normal");
			$(".FAQQ").css("background-image","url(../faq/images/grey-arrow-right.jpg)");
			$(".FAQQ").css("background-position","5px 3px");
			$(".FAQQ").css("font-size","12px");
			$(this).next(".FAQA").show();
			if($(this).hasClass("TOP")== false)
			{
			$(this).css("margin-top","10px");
			}
			$(this).css("margin-bottom","0px");
			$(this).css("padding-top","5px");
			$(this).css("font-weight","bold");
			if($(this).parent().parent().hasClass("westfieldFAQ")){
			$(this).css("background-image","url(../faq/images/grey-arrow-down2.jpg)");
			} else
			{
				$(this).css("background-image","url(../faq/images/grey-arrow-down.jpg)");
			}
			$(this).css("background-position","0px 0px");
			$(this).css("font-size","11px");
		}
		else
		{
			$(".FAQA").hide();
			
			$(".FAQQ").css("margin-top","0px");
			$(".FAQQ").css("margin-bottom","3px");
			$(".FAQQ").css("padding-top","0px");
			$(".FAQQ").css("font-weight","normal");
			$(".FAQQ").css("background-image","url(../faq/images/grey-arrow-right.jpg)");
			$(".FAQQ").css("background-position","5px 3px");
			$(".FAQQ").css("font-size","12px");
		}
		
		
	});	
});