<search function="tms">
  <name>tms software</name>
  <category>Login</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://www.tmssoftware.com/asp/reg_input.asp</link>
  <email></email>
  <description>Login to tmssoftware
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
      <tr><td>tms</td></tr>
    </table>
    <div class="helpboxDescLabels">Variable:</div>
    <table class="helpboxDescTable">
      <tr><td>tmsid('user','pwd');</td><td>An array storing a user and password profile for TMSD Software.
  	You SHOULD provide the <em>tmsid()</em> variable, eg in localpref.js :<br />
  	var tmsid = Array("user","pwd")</td></tr>
    </table>
  </description>
  <form name="tmsf"
        method="post"
        action="http://www.tmssoftware.com/asp/reg3.asp">
    <input type="hidden" name="REGEMAIL" value="" />
    <input type="hidden" name="REGCODE" value="" />
    <input type="hidden" name="REGSAVE" value="on" />
    <input type="hidden" name="B1" value="Verify" />
  </form>
  <script><![CDATA[
    function tms(q)
    {
      if (q=="?"){
        nullArgs("tms",q);
        return false;
      }
      var tmsids = tmsid;
      try{
        eval("var tmsids = " + q + ";");
      }catch(e){
        var tmsids = tmsid;
      }
      try{
        document.tmsf.REGEMAIL.value = tmsids[0];
        document.tmsf.REGCODE.value = tmsids[1];
      }catch(e){}
    
      //document.tmsf.REGSAVE.value = "";
      //document.tmsf.B1.value = "";

      submitForm(tmsf);
    }
  ]]></script>
</search>