<search function="taskf">
  <name>TaskFreak! Forum</name>
  <category>Login</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://forum.taskfreak.com/login.php</link>
  <email></email>
  <description>Login to taskf
  <div class="helpboxDescLabels">Example:</div>
  <table class="helpboxDescTable">
    <tr><td>taskf</td></tr>
  </table>
  <div class="helpboxDescLabels">Variables:</div>
  <table class="helpboxDescTable">
    <tr><td>tfid('user','pwd');</td><td>An array storing a user and password profile for taskf.
	You SHOULD provide the <em>tfid()</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>tfid</em> variable.<br />
    </td></tr>
  </table>
  </description>
  <form name="taskff"
        method="post"
        action="http://forum.taskfreak.com/login.php">
    <input type="hidden" name="username" value="" />
    <input type="hidden" name="password" value="" />
    <input type="hidden" name="autologin" value="on" />
    <input type="hidden" name="redirect" value="" />
    <input type="hidden" name="login" value="Log in" />
  </form>
  <script><![CDATA[
    function taskf(q)
    {
      if (q=="?"){
        nullArgs("taskf",q);
        return false;
      }
      var tfids = tfid;
      try{
        eval("var tfids = " + q + ";");
      }catch(e){
        var tfids = tfid;
      }
      try{
        document.taskff.username.value = tfids[0];
        document.taskff.password.value = tfids[1];
      }catch(e){}
      submitForm(taskff);
    }
  ]]></script>
</search>