<search function="sfl">
  <name>Source forge login</name>
  <category>Login</category>
  <contributor>Tom Corcoran</contributor>
  <link>https://sourceforge.net/account/login.php</link>
  <email></email>
  <description>Login to SourceForge
  <div class="helpboxDescLabels">Example:</div>
  <table class="helpboxDescTable">
    <tr><td>sfl</td></tr>
  </table>
  <div class="helpboxDescLabels">Variables:</div>
  <table class="helpboxDescTable">
    <tr><td>sfid('user','pwd');</td><td>An array storing a user and password profile for sflf.
	You SHOULD provide the <em>sfid()</em> variable, wgich is, case sensitive. <br />
	If the variable passed does not exist (misspelled, 
	incorrect case...), this search will 'default' to using this <em>sfid</em> variable.<br />
    </td></tr>
  </table>
  </description>
  <form name="sflf"
        method="post"
        action="https://sourceforge.net/account/login.php">
    <input type="hidden" name="return_to" value="" />
    <input type="hidden" name="return_to" value="" />
    <input type="hidden" name="form_loginname" value="" />
    <input type="hidden" name="form_pw" value="" />
    <input type="hidden" name="persistent_login" value="1" />
    <input type="hidden" name="login" value="Login" />
  </form>
  <script><![CDATA[
    function sfl(q)
    {
      if (q=="?"){
        nullArgs("sflf",q);
        return false;
      }
      var sfids = sfid;
      try{
        eval("var sfids = " + q + ";");
      }catch(e){
        var sfids = sfid;
      }
      try{
        document.sflf.form_loginname.value = sfids[0];
        document.sflf.form_pw.value = sfids[1];
      }catch(e){}

      submitForm(sflf);
    }
  ]]></script>
</search>