<search function="bfe">
  <name>Bigfoot Email</name>
  <description>
    Search Bigfoot's index of email addresses by name.<br/>
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
  		<tr><td>bfe Mark Rafn</td></tr>
  	</table>
  </description>
  <category>People and Places</category>
  <link>http://search.bigfoot.com/</link>
  
  <form name="bfef"
        action="http://search.bigfoot.com/SEARCH"
        method="post">
    <input type="hidden" name="FormName" value="Listing"/>
    <input type="hidden" name="locale" value="en"/>
    <input type="hidden" name="from" value="bigfoot"/>
    <input type="hidden" name="FirstName"/>
    <input type="hidden" name="LastName"/>
    <input type="hidden" name="City"/>
    <input type="hidden" name="State"/>
    <input type="hidden" name="EmailSearch" value="1"/>
  </form>
  
  <script><![CDATA[
    function bfe(q)
    {
      if( nullArgs("bfe", q) )
        return false;
      else
      {
        var res = q.match(/(((\w+\s+)?\w+)\s+)?(\w+)(\s*\((([^,]+),?\s+)?(\w\w)\))?/);
        
        document.bfef.FirstName.value=(res[2] ? res[2] : "");
        document.bfef.LastName.value=(res[4] ? res[4] : "");
        document.bfef.City.value=(res[7] ? res[7] : "");
        document.bfef.State.value=(res[8] ? res[8].toUpperCase() : "");
        submitForm(bfef);
      }
    }
  ]]></script>

  <copyright>
	Copyright (c) 2002 David Bau
	Distributed under the terms of the
	GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
</search>