

    function getinfo()
    {
    var   keyword_text="<h4>Keyword search tips:</h4><ul><li>A Keyword Anywhere search finds words, phrases or names anywhere in a catalogue record</li><li>This type of search has features similar to those of an Internet search engine (e.g. Google, AltaVista)</li><li>The result of this search option is a list of items ordered by relevance.</li></ul>";
       
     var  author_text="<h4>Author search tips:</h4><ul><li>For an individual, enter the last name , a space, and then the first name: <i>i.e. dickens charles</i></li><li>You need not include a first name or initial, but for common last names it is helpful to include at least part of the first name: <i>miller arth</i></li><li>An 'author' can be an individual, an editor, an association or a government agency</li><li> The result of this search option is an alphabetic list of authors</li></ul>"; 
    
    var   title_text="<h4>Title search tips:</h4><ul><li>A Title search locates items by their (different) titles or series names</li><li>Type in the beginning phrase of the title</li><li>Always omit initial articles (A, An, The, Der, La, etc) in any language</li><li>The result of this search option is a list of items in the alphabetic order of the titles, or a specific item</li></ul>";
       
       var mylist=document.getElementById("search_code");
       var val = document.getElementById("displayinfo").innerHTML=mylist.options[mylist.selectedIndex].value;
       if ( val == "ft*" ) { document.getElementById("displayinfo").innerHTML = keyword_text; }
       if ( val == "name_" ) { document.getElementById("displayinfo").innerHTML = author_text; }
       if ( val == "tall" ) { document.getElementById("displayinfo").innerHTML = title_text; }
    }
    
    function getinfo2()
    {     
        var mylist=document.getElementById("select_db");
        var val = document.getElementById("displayinfo2").innerHTML=mylist.options[mylist.selectedIndex].value;
        
        if ( val == "ft*" ) { document.getElementById("displayinfo2").innerHTML = keyword_text; }
        if ( val == "name_" ) { document.getElementById("displayinfo2").innerHTML = author_text; }
        if ( val == "tall" ) { document.getElementById("displayinfo2").innerHTML = title_text; }
  
    }
    
   
    function toogle_info2()
    {
    var start_text = "<p>To search multiple databases, select the \'search multiple databases\' option in the menu on the main search screen.</p><ul><LI><A href=\"/Catalogues/UC_introd.htm\">Universal Catalogue</A> - <a href=\"http://ul-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a><LI><A href=\"http://ul-newton.lib.cam.ac.uk\">University Library and Dependent Libraries</A> - <a href=\"http://ul-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a><LI><A href=\"http://ulmss-newton.lib.cam.ac.uk\">University Library Manuscripts and Theses</A> - <a href=\"http://ul-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a><LI><A href=\"http://depfacae-newton.lib.cam.ac.uk\">Departments and Faculties A-E</A> - <a href=\"http://depfacae-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a><LI><A href=\"http://depfacfm-newton.lib.cam.ac.uk\">Departments and Faculties F-M</A> - <a href=\"http://depfacfm-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a> <LI><A href=\"http://depfacoz-newton.lib.cam.ac.uk\">Departments and Faculties O-Z</A> - <a href=\"http://depfacoz-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a> <LI><A href=\"http://collan-newton.lib.cam.ac.uk\">Colleges A-N</A> - <a href=\"http://collan-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a> <LI><A href=\"http://collpw-newton.lib.cam.ac.uk\">Colleges P-W</A> - <a href=\"http://collpw-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a> <LI><A href=\"http://affint-newton.lib.cam.ac.uk\">University of Cambridge Affiliated Institutions</A> - <a href=\"http://affint-newton.lib.cam.ac.uk/cgi-bin/Pwebrecon.cgi?DB=local&amp;PAGE=bbSearch\">(Guided search)</a>  </LI></ul>";   
     
     var select_text="<h4>Additional filters</h4><select name=\"SL\" id=\"SL\" style=\"width:150px\"></select><br/><br/>";    
          
        if (document.getElementById("link1").onclick)
        {document.getElementById("displayinfo2").innerHTML = start_text;}
        if (document.getElementById("link2").onclick)
        {document.getElementById("displayinfo2").innerHTML = select_text;}
        else
        {document.getElementById("displayinfo2").innerHTML = start_text;}
  }
        
