home *** CD-ROM | disk | FTP | other *** search
/ ftp.rsa.com / 2014.05.ftp.rsa.com.tar / ftp.rsa.com / pub / agents / RSASecurIDTokenAuto412x64.msi / Data1.cab / _8E2A34596E5FE45840F0597C2A876549 < prev    next >
Text File  |  2014-03-12  |  4KB  |  163 lines

  1. <html>
  2. <head>
  3. <title>Search Form</title>
  4.  
  5. <meta name="generator" content="Adobe RoboHelp - www.adobe.com">
  6. <meta name="description" content="WebHelp 5.50">
  7. </head>
  8. <style>
  9. <!--
  10. body {margin:0;}
  11. -->
  12. </style>
  13. <body bgcolor="#c0c0c0">
  14. <script language="javascript" src="whver.js"></script>
  15. <script language="javascript1.2" src="whmsg.js"></script>
  16. <script language="javascript1.2" src="whproxy.js"></script>
  17. <script language="javascript1.2" src="whutils.js"></script>
  18. <script language="javascript1.2" src="whform.js"></script>
  19. <script language="javascript1.2">
  20. <!--
  21. var gstrInput = "";
  22. function ftsLookup(bCR)
  23. {
  24.     if (bCR)
  25.     {
  26.         var strInput = document.FtsInputForm.keywordField.value.toUpperCase();
  27.         if (strInput != "") {
  28.             var oMsg = new whMessage(WH_MSG_SEARCHFTSKEY, this, 1, strInput);
  29.             if (!SendMessage(oMsg))
  30.             {
  31.                 gstrInput = strInput;
  32.             }
  33.             else
  34.                 gstrInput = "";
  35.         }
  36.  
  37.         if (gbMac) {
  38.             document.FtsInputForm.keywordField.focus();
  39.         }
  40.     }
  41.     return;
  42. }
  43.  
  44. function beforeInit()
  45. {
  46.     var oParam = new Object();
  47.     oParam.sValue = "";
  48.     var oMsg = new whMessage(WH_MSG_GETSEARCHS, this, 1, oParam);
  49.     if (SendMessage(oMsg))
  50.     {
  51.         if (oParam.sValue != "" && oParam.sValue != "- Search -")
  52.         {
  53.             document.FtsInputForm.keywordField.value = oParam.sValue;
  54.             gfunLookUp(true);
  55.         }
  56.     }
  57.     init();    
  58. }
  59.  
  60. function window_unload()
  61. {
  62.     UnRegisterListener2(this, WH_MSG_SHOWTOC);
  63.     UnRegisterListener2(this, WH_MSG_SHOWIDX);
  64.     UnRegisterListener2(this, WH_MSG_SHOWFTS);
  65.     UnRegisterListener2(this, WH_MSG_SHOWGLO);
  66.     UnRegisterListener2(this, WH_MSG_SEARCHTHIS);
  67.     UnRegisterListener2(this, WH_MSG_BACKUPSEARCH);
  68.     UnRegisterListener2(this, WH_MSG_HILITESEARCH);
  69.     UnRegisterListener2(this, WH_MSG_GETSEARCHSTR);
  70. }
  71.  
  72. function onSendMessage(oMsg)
  73. {
  74.     if (oMsg.nMessageId == WH_MSG_SHOWFTS)
  75.     {
  76.         document.FtsInputForm.keywordField.focus();
  77.     }
  78.     else if (oMsg.nMessageId == WH_MSG_SHOWIDX ||
  79.         oMsg.nMessageId == WH_MSG_SHOWTOC || 
  80.         oMsg.nMessageId == WH_MSG_SHOWGLO)
  81.     {
  82.         document.FtsInputForm.keywordField.blur();
  83.     }
  84.     else if (oMsg.nMessageId == WH_MSG_SEARCHTHIS)
  85.     {
  86.         if (oMsg.oParam != "- Search -")
  87.         {
  88.             document.FtsInputForm.keywordField.value = oMsg.oParam;
  89.             gfunLookUp(true);
  90.         }
  91.     }
  92.     else if (oMsg.nMessageId == WH_MSG_BACKUPSEARCH)
  93.     {
  94.         if (gstrInput)
  95.         {
  96.             oMsg.oParam = gstrInput;
  97.             gstrInput = "";
  98.             return false;
  99.         }
  100.     }
  101.     else if (oMsg.nMessageId == WH_MSG_HILITESEARCH)
  102.     {
  103.         var bHiLite = (document.FtsInputForm.HiLite.checked == true);
  104.         if (bHiLite == 1)
  105.             oMsg.oParam = true; 
  106.         else
  107.             oMsg.oParam = false;
  108.     }
  109.     else if (oMsg.nMessageId == WH_MSG_GETSEARCHSTR)
  110.     {
  111.         oMsg.oParam = "";
  112.         if (oMsg.oParam != "- Search -")
  113.         {
  114.             oMsg.oParam = document.FtsInputForm.keywordField.value;
  115.         }    }
  116.  
  117.     return true;
  118. }
  119.  
  120. if (window.gbWhForm)
  121. {
  122.     RegisterListener2(this, WH_MSG_SHOWTOC);
  123.     RegisterListener2(this, WH_MSG_SHOWIDX);
  124.     RegisterListener2(this, WH_MSG_SHOWFTS);
  125.     RegisterListener2(this, WH_MSG_SHOWGLO);
  126.     RegisterListener2(this, WH_MSG_SEARCHTHIS);
  127.     RegisterListener2(this, WH_MSG_BACKUPSEARCH);
  128.     RegisterListener2(this, WH_MSG_HILITESEARCH);
  129.     RegisterListener2(this, WH_MSG_GETSEARCHSTR);
  130.     gfunLookUp = ftsLookup;
  131.     gfunInit = null;
  132.     gstrFormName = "FtsInputForm"
  133.     gsTitle = "Type in the word(s) to search for:";
  134.     gsTitle = "Type in the word(s) to search for:";
  135.     gsHiliteSearchTitle = "Highlight search results";
  136.     gsHiliteSearchTitle = "Highlight search results";
  137.     setGoImage1("wht_go.gif");
  138.     setBackgroundcolor("Navy");
  139.     setBackground("bkg.gif");
  140.     setBtnType("image");
  141.     setGoImage1("go_3.gif");
  142.     
  143.     
  144.     setGoText("Go");
  145.     setFont("Title", "Verdana","8pt","White","Normal","Normal","none");
  146.     
  147.     
  148.     var strHiliteSearchSetting = "enable,yellow,black";
  149.     strHiliteSearchSetting = "disable,#b2b4bf,black";
  150.     var searchSetting = strHiliteSearchSetting.match("^(.+),(.+),(.*)$");
  151.     if(searchSetting != null && searchSetting[1] == "enable")
  152.         setHighlightSearch(true);
  153.     document.write(getFormHTML());
  154.     writeFormStyle();
  155.     window.onload = beforeInit;
  156.     window.onunload=window_unload;
  157. }
  158. else
  159.     document.location.reload();
  160. //-->
  161. </script>
  162. </body>
  163. </html>