drupal code to control initialization of search on homepage