jQuery(document).ready(function($) {

$("a:contains('Home')").text("The story");

 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#slickbox').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#slick-show').click(function() {
    $('#slickbox').fadeIn('slow');
    $('#exerpt').hide();
    return false;
  });
  $('#slick-hide').click(function() {
    $('#slickbox').fadeOut('fast');
    $('#exerpt').show()
    return false;
  });
  

   $('#about_the_author').hide();
   
   jQuery.fn.fadeToggle = function(speed, easing, callback) {
   return this.animate({opacity: 'toggle'}, speed, easing, callback);
   }; 

 $('#author').click(function() {
    $('#about_the_author').fadeToggle();
    return false;
  });

/*
 // shows and hides and toggles the slickbox on click  
  $('#author').click(function() {
    $('#about_the_author').fadeIn('slow');
    return false;
  });
  $('#author').click(function() {
    $('#about_the_author').fadeOut('fast');
    return false;
  });
*/
  
      
     $('body.home #comments').hide();
     $('body.home #respond').hide();

    $('#read-comments').click(function() {
    $('#comments').slideDown('slow');
    $('#respond').hide()
      return false;
  });
  
     $('#leave-comment').click(function() {
    $('#respond').slideDown('slow');
    $('#comments').hide()
    return false;
   });

 
  
 });