--- /dev/null
+<html>\r
+<head>\r
+<title>Supervisor Module Reference Manual</title>\r
+\r
+<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
+<meta name="description" content="WebHelp 5.50">\r
+</head>\r
+<script language="javascript1.2" src="whutils.js"></script>\r
+<script language="javascript1.2" src="whmsg.js"></script>\r
+<script language="javascript" src="whver.js"></script>\r
+<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>\r
+<script language="javascript">\r
+<!--\r
+var strDefaultTopic = "about:blank";\r
+var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset\r
+var bNoApplet = false;\r
+var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.\r
+var strPaneApplet = "whd_nvp20.htm";\r
+var strPaneList = "whgdata/whnvp30.htm";\r
+\r
+var strHTML = "";\r
+var strPane = "";\r
+var nViewFrameType = -1;\r
+\r
+function CMRServer()\r
+{\r
+ this.m_cAgents = new Array;\r
+}\r
+var cMRServer = new CMRServer;\r
+\r
+//figure out which mode is the best\r
+if (!window.gAgent)\r
+{\r
+ // low end browser, we don't even try to determine it.\r
+ document.location = "whnjs.htm";\r
+}\r
+else\r
+{\r
+ if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)\r
+ document.location = "whnjs.htm";\r
+ else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
+ document.location = "whnjs.htm";\r
+ else if (gbMac && gbIE4 && !gbIE5)\r
+ document.location = "whnjs.htm";\r
+ //figure out which mode is the best\r
+ else \r
+ {\r
+ nViewFrameType=nWebhelpNavPaneMode;\r
+ if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
+ {\r
+ var gbDHTML=(nWebhelpNavPaneMode==1);\r
+ if (gbNav4) nViewFrameType = 2;\r
+ if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;\r
+ if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;\r
+ if (gbIE4&&gbDHTML) nViewFrameType = 1;\r
+ if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;\r
+ if (gbNav6&&gbDHTML) nViewFrameType = 1;\r
+ if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;\r
+ if (gbMac) nViewFrameType = 3;\r
+ if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;\r
+ if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;\r
+ }\r
+ }\r
+}\r
+\r
+if (nViewFrameType!=-1)\r
+{\r
+ var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
+ //The colordepth of the 16 color on Windows is 1. \r
+ if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
+ {\r
+ alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");\r
+ nViewFrameType = 3;\r
+ }\r
+\r
+ //figure out which one is navpane\r
+ if (nViewFrameType == 1)\r
+ strPane = strPaneDHTML;\r
+ else if (nViewFrameType == 2)\r
+ strPane = strPaneApplet;\r
+ else \r
+ strPane = strPaneList;\r
+\r
+ var oParam = new Object();\r
+ oParam.sTopic = "";\r
+ var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);\r
+ if (SendMessage(oMsg) && oParam.sTopic != "")\r
+ strDefaultTopic = oParam.sTopic;\r
+\r
+\r
+ if (nViewFrameType == 1)\r
+ {\r
+ //DHTML (iframe or xml based)\r
+ strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";\r
+ strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";\r
+ strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";\r
+ }\r
+ else if (nViewFrameType == 2)\r
+ {\r
+ //applet (xml based)\r
+ strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";\r
+ strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";\r
+ strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";\r
+ }\r
+ else if (nViewFrameType == 3)\r
+ {\r
+ //generic html (pure html based)\r
+ strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";\r
+ strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";\r
+ strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";\r
+ strHTML += "</frameset>";\r
+ } \r
+ else if (nViewFrameType == 4)\r
+ {\r
+ //no navipane at all\r
+ strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";\r
+ strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";\r
+ strHTML += "</frameset>";\r
+ }\r
+\r
+ document.write(strHTML);\r
+\r
+ RegisterListener2(window, WH_MSG_SHOWPANE);\r
+ RegisterListener2(window, WH_MSG_HIDEPANE);\r
+ RegisterListener2(window, WH_MSG_ISPANEVISIBLE);\r
+ window.onunload = window_unload;\r
+}\r
+\r
+function window_unload()\r
+{\r
+ UnRegisterListener2(window, WH_MSG_SHOWPANE);\r
+ UnRegisterListener2(window, WH_MSG_HIDEPANE);\r
+ UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);\r
+}\r
+\r
+\r
+function onSendMessage(oMsg)\r
+{\r
+ var nMsgId = oMsg.nMessageId;\r
+ if (nMsgId == WH_MSG_SHOWPANE)\r
+ {\r
+ getElement("whPfset").cols = "260,*";\r
+ var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
+ SendMessage(onMsg);\r
+ onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");\r
+ if (SendMessage(onMsg))\r
+ {\r
+ onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);\r
+ SendMessage(onMsg);\r
+ }\r
+ return false;\r
+ }\r
+ else if (nMsgId == WH_MSG_HIDEPANE)\r
+ {\r
+ getElement("whPfset").cols = "0,*";\r
+ var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");\r
+ SendMessage(onMsg);\r
+ onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");\r
+ SendMessage(onMsg);\r
+ return false;\r
+ }\r
+ else if (nMsgId == WH_MSG_ISPANEVISIBLE)\r
+ {\r
+ var n = parseInt(getElement("whPfset").cols);\r
+ if (n > 0)\r
+ {\r
+ oMsg.oParam.bVisible = true;\r
+ }\r
+ return false;\r
+ }\r
+ return true;\r
+}\r
+//-->\r
+</script>\r
+<body>\r
+<noscript>\r
+ <p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>\r
+</noscript>\r
+</body>\r
+</html>\r