jQuery(document).ready(function($) {
 // hides the searchbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#search').hide();
 // toggles the searchbox on clicking the button
  $('a.searchlink').click(function() {
 $('#search').slideToggle(400);
 return false;
  });
});