[% IF use_ajax_search %]
[% IF use_frames %]
  <div style="display:none;" id="search-results"></div>
[% END %]
<script type="text/javascript">
<!--
  var input = document.getElementById('NavBarSearchItem');
  if(input) {
    input.onclick    = ajax_search.init;
    input.ondblclick = ajax_search.init;
  }
-->
</script>
[% END %]
