<search function="palmgear">
  <name>PalmGear.com</name>
  <description>Search PalmGear.com for software.<br/>
  <div class="helpboxDescLabels">Switches:</div>
  <table class="helpboxDescTable">
    <tr><td>/new</td><td> - </td><td>Show new items on PalmGear.com</td></tr>
    <tr><td>/updated</td><td> - </td><td>Show updated items on PalmGear.com</td></tr>
  </table>
  <div class="helpboxDescLabels">Example:</div>
  <table class="helpboxDescTable">
    <tr><td>palmgear aigo</td></tr>
  </table>
  </description>

  <category>Computers<category>Software</category></category>
  <link>http://www.palmgear.com/</link>
  <contributor>Herman Fuchs</contributor>
  <email>fux_at_theend_dot_com_dot_br</email>
  <form name="palmgearf"
        method="post"
        action="http://www.palmgear.com/index.cfm?fuseaction=shared.answer&amp;SID=&amp;PartnerREF=">
     <input type="hidden" name="URL" value="#" />
     <input type="hidden" name="siteid" value="1" />
     <input type="hidden" name="searchterm" value=""/>
  </form>

   <script><![CDATA[
    function palmgear(q)
    {
      if( nullArgs("palmgear", q) )
        return false;

      var args = parseArgs(q, "new, updated");
	  if (args.switches.length > 0) {
	    switch (args.switches[0].name) {
			case 'updated': openSearchWindow('http://www.palmgear.com/index.cfm?fuseaction=software.updatedproducts1day&SID=&PartnerREF='); return;
			case 'new': openSearchWindow('http://www.palmgear.com/index.cfm?fuseaction=software.newproducts1day&SID=&PartnerREF='); return;
			default: break;
		}
	  }
      document.palmgearf.searchterm.value = args.q;
      submitForm(palmgearf);
    }
  ]]></script>

  <copyright>
	Copyright (c) 2002 David Bau
	Distributed under the terms of the
	GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
</search>
