	jQuery().ready(function(){

		// simple accordion
		jQuery('#nav').accordion({
		active: false, 
   		header: '.header', 
    	navigation: true, 
		active: ".current",
 		autoHeight: false

});

jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
  return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);  
};

  $('#sitemap-container h2').click(function() {
    $(this).next().slideFadeToggle('slow', function() {
      var $this = $(this);
      if ($this.is(':visible')) {
        $(this).parent().attr('class', 'down');
      } else {
        $(this).parent().attr('class', 'up');
      }
    });
return false;
  });

});