$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
   $('#advanced_search').hide();
  
 // shows and hides and toggles the slickbox on click  
 
  $('#search_advanced a').click(function() {
    $('#advanced_search').slideToggle()(400);
    $('#advanced_search').show();
    return false;
  });

 });
