    var  view        = "bnd" ;

    function ReloadSearchScreen ()
    {
      restoring = true ;
      top.main.location.href = "/taweb-cgi/taweb?x=s&v=bnd" ;
    }

 
    function Search ()
    {
      //                    id      document  form number   element numbers counted from 0
      top.store_text       ("bnd", document, 0,            0, 1, 2, 3, 4, 5, 6, 7, 8, 9) ;
      
      
      top.hit_max     = 0 ;
      top.hit_first   = 0 ;
      top.hit_last    = 0 ;
      top.hit_current = 0 ;
      top.hit_db      = new Array () ;
      top.hit_id      = new Array () ;
  
      var  count = document.searchForm.elements.length ;
      var  i     = 0 ;
  
      top.database = "" ;
      for ( i = 0 ; i < count ; ++ i )
        if ( "d" == document.searchForm.elements [i].name.charAt (0) )

        {
          if ( 0 < top.database.length )  top.database += ":" ;
          top.database += document.searchForm.elements [i].value ;
        }
      
      top.limit = document.searchForm.l.value ;
      top.sortlimit = document.searchForm.sl.value ;
      top.sortorder = document.searchForm.so.value ;
  
      document.searchForm.o.value = "s" ;
      document.searchForm.submit () ;
    }


  
    function RestoreSearchScreenValues ()
    {
    // alert ("Restoring search form values") ;

    if ( top.restoring )
    {
      //                      id      document  form number   element numbers counted from 0
      top.restore_text       ("bnd", document, 0,            0, 1, 2, 3, 4, 5, 6, 7, 8, 9) ;
  
      top.restoring = false ;
    }

    // alert ("Search form values restored") ;
    }


    function Dictionary ()
    {
      //                    id      document  form number   element numbers counted from 0
      top.store_text       ("bnd", document, 0,            0, 1, 2, 3, 4, 5, 6, 7, 8, 9) ;
      
 
      document.searchForm.o.value = "d" ;
      document.searchForm.submit () ;
    }
  

    function Relate ()
    {
      //                    id      document  form number   element numbers counted from 0
      top.store_text       ("bnd", document, 0,            0, 1, 2, 3, 4, 5, 6, 7, 8, 9) ;
      
      document.searchForm.o.value = "r" ;
      document.searchForm.submit () ;
    }
 


