//jQuery functions for non-store sections of DUBLINDOG.COM


//animation method for fading & sliding elements simultaneously.
jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
  return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);  
};



//Function to toggle the answers on FAQ section
function faqToggle() {

	$('.a').addClass("hide");
	
	$('.q').click(function(){	
		$(this).next().slideFadeToggle("fast");
	});
	
}
	


$(document).ready(function() {
	
	faqToggle();

}); //End document.ready statement