jQuery(function ($) {
	/* You can now safely use $ in this code block to reference jQuery */
	$(document).ready(function() {

var $div = $('#toggle');
var height = $div.height();
$div.hide().css({ height : 0 });

$('.contentRevealBtn').click(function () {
  if ( $div.is(':visible') ) {
    $div.animate({ height: 0 }, { duration: 1000, complete: function () {
		$div.hide();
      } 
    });
  } else {
	$('#toggleExcerpt').slideToggle(1000, "easeInOutExpo");
    $div.show().animate({ height : height, duration: 1000 });
  }
    
  return false;
});

$('.contentCloseBtn').click(function () {
  if ( $div.is(':visible') ) {
    $div.animate({ height: 0 }, { duration: 1000, complete: function () {
        $div.hide();
		$('#toggleExcerpt').slideToggle(1000, "easeInOutExpo");
      } 
    });
  } else {
    $div.show().animate({ height : height, duration: 1000 });
  }
    
  return false;
});
});
});
