/*window.Obj = {
  Events: {
    liOver: function(event) {
	},
    liOut: function(event) {
	}
  },
  
  go: function() {
    jQuery('ul#nav li').hover(Obj.Events.liOver, Obj.Events.liOut);
  }
};
jQuery(document).ready(Obj.go);*/

$(document).ready(function() {
	//initially hide all the faq answers
	$('div.answer').hide();
	//add an anchor link to all the h2 elements which links to the answer
	$('h2.question').each(function(list) {
		var h2id = $(this).attr('id');
		var divid = $(this).next().attr('id');
		$(this).wrapInner('<a href="#' + divid + '"></a>');
	});
	//bind the click event on the h2
	$('h2.question').bind('click keypress', function(event) {
		$(this).next().slideToggle('slow');
	});
});