﻿<search function="co">
  <name>co.mments</name>
  <category>Login</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://co.mments.com/login</link>
  <email>tom.corcoran@moonbade.com</email>
  <description> Login to co.mments
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
      <tr><td>co</td></tr>
    </table>
    <div class="helpboxDescLabels">Variable:</div>
    <table class="helpboxDescTable">
      <tr><td>coid('user','pwd');</td><td>An array storing a user and password profile for co.mments.
  	You SHOULD provide the <em>copid()</em> variable in localprefs.js.<br /></td></tr>
    </table>
  </description>
  <form name="cof"
        method="post"
        action="http://co.mments.com/login">
    <input type="hidden" name="username" value="" />
    <input type="hidden" name="password" value="" />
    <input type="hidden" name="remember" value="1" />
    <input type="hidden" name="commit" value="Let me in" />
  </form>
  <script><![CDATA[
    function co(q)
    {
      if (q=="?"){
        nullArgs("co",q);
        return false;
      }
      var coids = coid;
      try{
        eval("var coids = " + q + ";");
      }catch(e){
        var coids = coid;
      }
      try{
        document.cof.username.value = coids[0];
        document.cof.password.value = coids[1];
        
      //document.cof.remember.value = "";
      //document.cof.commit.value = "";
        
      }catch(e){}
          
      submitForm(cof);
    }
  ]]></script>
</search>