<search function="wpfr">
  <name>French White Pages</name>
  <category>People and Places</category>
  <link>http://www.pagesjaunes.fr/pagesblanches/</link>
  <contributor>MLL</contributor>
  <email>http://mll2.free.fr</email>
  <description>
  Get an address from a name in France
    <div class="helpboxDescLabels">Usage:</div>
    <table class="helpboxDescTable">
      <tr><td>wpfr name [/prenom] /ou</td></tr>
    </table>
    <div class="helpboxDescLabels">Switches:</div>
    <table class="helpboxDescTable">
      <tr><td>/prenom</td><td> - </td><td>first name</td></tr>
      <tr><td>/ou</td><td> - </td><td>where : address or location or zip code or département or région</td></tr>
    </table>
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
      <tr><td>wpfr musée du louvre /ou:75</td></tr>
    </table>
  </description>

  <form name="wpfrf"
        method="post"
        action="http://www.pagesjaunes.fr/trouverunnom/RecherchePagesBlanchesExpress.do?portail=PJ">

    <input type="hidden" name="nom" value="" />
    <input type="hidden" name="prenom" value="" />
    <input type="hidden" name="ou" value="" />
    <input type="hidden" name="proximite" value="" />
  </form>
  
  <script><![CDATA[
    function wpfr(q)
    {
      var args = parseArgs(q, "prenom, ou");
      if( nullArgs("wpfr", args.q) )
        return;

      document.wpfrf.prenom.value = "";
      document.wpfrf.ou.value = "";

      for (var iSwitch = 0; iSwitch < args.switches.length; iSwitch++)
      {
        switch( args.switches[iSwitch].name )
        {
          case "prenom":
            document.wpfrf.prenom.value = args.switches[iSwitch].value;
            break;
          case "ou":
            document.wpfrf.ou.value = args.switches[iSwitch].value;
            break;
          default:
            break;
        }
      }

      document.wpfrf.nom.value = args.q;

      submitForm(wpfrf);
    }
  ]]></script>
  <copyright>
    The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
    Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
  <created_by>
    This search file was initially created on 09/23/02 at 09:30:12
    by Dave's Quick Search Deskbar Search Wizard version 0.9.1 (beta),
    Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  </created_by>
</search>
