3 <title>Index form</title>
5 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
6 <meta name="description" content="WebHelp 5.50">
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">
21 function indexLookup(bCR)
23 var strInput = document.IndexInputForm.keywordField.value.toUpperCase();
25 var oParam = new Object();
26 oParam.sInput = strInput;
28 var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);
29 SendMessage(oMessage);
32 document.IndexInputForm.keywordField.focus();
36 function window_Unload()
38 UnRegisterListener2(this, WH_MSG_SHOWTOC);
39 UnRegisterListener2(this, WH_MSG_SHOWIDX);
40 UnRegisterListener2(this, WH_MSG_SHOWFTS);
41 UnRegisterListener2(this, WH_MSG_SHOWGLO);
44 function onSendMessage(oMessage)
46 if (oMessage.nMessageId == WH_MSG_SHOWIDX)
48 document.IndexInputForm.keywordField.focus();
50 else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||
51 oMessage.nMessageId == WH_MSG_SHOWTOC ||
52 oMessage.nMessageId == WH_MSG_SHOWGLO)
54 document.IndexInputForm.keywordField.blur();
61 RegisterListener2(this, WH_MSG_SHOWTOC);
62 RegisterListener2(this, WH_MSG_SHOWIDX);
63 RegisterListener2(this, WH_MSG_SHOWFTS);
64 RegisterListener2(this, WH_MSG_SHOWGLO);
65 window.onunload=window_Unload;
67 gfunLookUp = indexLookup;
69 gstrFormName = "IndexInputForm"
70 gsTitle = "Type in the keyword to find:";
71 gsTitle = "Type in the keyword to find:";
73 setBackgroundcolor("White");
80 setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");
83 document.write(getFormHTML());
87 document.location.reload();