<search function="msdn">
  <name>Microsoft Developer Network (MSDN)</name>
  <description>
    Search for articles on the MSDN.<br/>
    <div class="helpboxDescLabels">Switches:</div>
  	<table class="helpboxDescTable">
  		<tr><td>/library</td><td> - </td><td>Limits search to the MSDN Library.</td></tr>
  	</table>
    <div class="helpboxDescLabels">Examples:</div>
    <table class="helpboxDescTable">
  		<tr><td>msdn ocx</td></tr>
  		<tr><td>msdn iframes /library</td></tr>
  	</table>
  </description>
  <category>Computers<category>Programming</category></category>
  <link>http://msdn.microsoft.com/</link>
  <contributor>Ryan Edwards</contributor>
  
  <form name="msdnf"
        action="http://msdn.microsoft.com/library/shared/searchtab/searchHandoff.asp" 
        method="get">
    <input type="hidden" id="qu" name="qu"/>
    <input type="hidden" name="handoffurl" value="/isapi/gosearch.asp?TARGET=/us/dev/default.asp"/>
    <input type="hidden" name="stcfg" value="/library/searchtabconfig.xml"/>
    <input type="hidden" Name="scopeid"/>
  </form>
  
  <script><![CDATA[
    function msdn(q)
    {
      var args = parseArgs(q, "library");
      if( nullArgs("msdn",q) )
        return false;
      else if( args.switches.length == 1 && args.switches[0].name == "library" )
      {
        document.msdnf.scopeid.value = "2";
        document.msdnf.qu.value = args.q;
        submitForm( msdnf );
      }
      else if( args.switches.length > 1 )
        nullArgs("msdn","?");
      else
      {
        document.msdnf.scopeid.value = "1";
        document.msdnf.qu.value = args.q;
        submitForm( msdnf );
      }
    }
  ]]></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>
