<search function="ym">
  <name>Yahoo Movie</name>
  <description>Search for local movie listings. The zip code is stored in a cookie so you don't have to enter it again.
  <div class="helpboxDescLabels">Examples:</div> 
  <table class="helpboxDescTable">
    <tr>
      <td>ym 74133 monsters</td>
    </tr>
    <tr>
      <td>ym life as a house</td>
    </tr>
  </table>
  </description>
  <category>Entertainment</category>
  <link>http://movies.yahoo.com/</link>
  <contributor>Glenn Carr</contributor>
  <email>glenn_at_glenncarr_dot_com</email>
  <form name="ymf"
        action="http://movies.yahoo.com/showtimes/showtimes.html" 
        method="get">
    <input type="hidden" name="z" /> <comment>(e.g., 94089 or Sunnyvale, CA - required)</comment>
    <input type="hidden" name="m" /> <comment>Movie Name</comment>
    <input type="hidden" name="t" /> <comment>Theater Name</comment>
    <input type="hidden" name="a" /> <comment>Street Name</comment>
    <input type="hidden" name="s" value="tm" />
    <input type="hidden" name="r" value="adv" />
    <input type="hidden" name="p" value="0" />
  </form>
  <script><![CDATA[
    function ym(q)
    {
      if (q == "")
        openSearchWindow("http://movies.yahoo.com/");
      else
      {
        if (result = q.match(/^(\d{5})\s*(.*)/))
        {
          document.ymf.z.value=result[1];
          document.ymf.m.value=result[2];
        }
        else
          document.ymf.m.value=q;
        submitForm(ymf);
      }
    }
  ]]></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>

