$(document).ready(function() {

 // hides the slickbox as soon as the DOM is ready

 // (a little sooner than page load)

  $('.faqInfo').hide();

 

 

 // toggles the slickbox on clicking the noted link 

  $('.faqTitle').click(function() {

    $('.faqInfo').toggle(300);

    return false;

  });

 

});



// Troy Brophy troy.brophy@gmail.com

// Function "showHide" used to show/hide FAQ answers





function showHide(item) 

{ 

  		// get the id of the corresponding answer P
		var x = document.getElementById(item); 
  		// any click hides all FAQ answers 
		var i;
		for (i = 1; i <= 17; i++)
		{
			id = 'u' + i;
			document.getElementById(id).style.display = 'none';
		}
		// check to see what the display is set for and toggle
		x.style.display = 'block';
}  
// set a bool based on existing display and compare against bool at the end
