var FAQ = {
  Behaviors: {
    clickQuestion: function(event) {
      var element = event.element();
      //allows question children to be clickable
      if (!element.match('a.faq_question'))
        element = element.up('a.faq_question');
      element.next('.faq_answer').toggle();
      event.stop();
    }
  }
}

Event.observe(document, 'dom:loaded', function(event) {
  $$('.faq_answer').invoke('hide');
	$$('body')[0].delegators('click', {
	  'a.faq_question': FAQ.Behaviors.clickQuestion,
    //allows question children to be clickable
	  'a.faq_question *': FAQ.Behaviors.clickQuestion
	})
})

