<search function="cdwow">
  <name>CDWow</name>
  <category>Shopping</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://www2.cd-wow.com/</link>
  <email></email>
  <description>
  <description>Login to CdWow
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
      <tr><td>cdwow</td></tr>
    </table>
    <div class="helpboxDescLabels">Variable:</div>
    <table class="helpboxDescTable">
      <tr><td>cdwowid('user','pwd');</td><td>An array storing a user and password profile for Orijinn.
  	You SHOULD provide the <em>cdwowid()</em> variable, eg in localpref.js.<br />
  	var cdwowid = Array("user","pwd")</td></tr>
    </table>
  </description>
  </description>
  <form name="cdwowf"
        method="post"
        action="http://www2.cd-wow.com/member_menu.php?referrer=%2Findex.php">
    <input type="hidden" name="uname" value="" />
    <input type="hidden" name="pword" value="" />
    <input type="hidden" name="payment_code" value="" />
  </form>
  <script><![CDATA[
    function cdwow(q)
    {
      if (q=="?"){
        nullArgs("cdwow",q);
        return false;
      }
      var cdwowids = cdwowid;
      try{
        eval("var cdwowids = " + q + ";");
      }catch(e){
        var cdwowids = cdwowid;
      }
      try{
        document.cdwowf.uname.value = cdwowids[0];
        document.cdwowf.pword.value = cdwowids[1];
      }catch(e){}


      submitForm(cdwowf);
    }
  ]]></script>
</search>