-<html>\r
-<head>\r
-<title>SMESH 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
-<body>\r
-<script language="JavaScript">\r
-<!--\r
-\r
-var gArrayCsh = new Array();\r
-\r
-var gstrWindowOption = "";\r
-var gstrURL = "";\r
-var gbWithNavPane = false;\r
-\r
-function CshEntityItem(strAliasId, nTopicNum, strUrl) \r
-{\r
- this.strAliasId = strAliasId;\r
- this.nTopicNum = nTopicNum;\r
- this.strUrl = strUrl;\r
-}\r
-\r
-\r
-//Try to get to topic number from hash string\r
-function GetTopicNumberAuto(strMayBeNumber)\r
-{\r
- var nNum = -1;\r
- if (strMayBeNumber.length >= 1)\r
- {\r
- var strTmp = strMayBeNumber;\r
- var iEnd = strTmp.length;\r
- for (var i=0; i<iEnd; i++)\r
- {\r
- var ch = strTmp.charAt(i);\r
- if (!((ch == "0") || (ch == "1") ||\r
- (ch == "2") || (ch == "3") ||\r
- (ch == "4") || (ch == "5") ||\r
- (ch == "6") || (ch == "7") ||\r
- (ch == "8") || (ch == "9")))\r
- return GetTopicNumberById(strTmp);\r
- }\r
- nNum = parseInt(strTmp);\r
- }\r
- return nNum;\r
-}\r
-\r
-function GetTopicNumber(strHashString)\r
-{\r
- var nTopicEndPos = strHashString.indexOf(',')\r
- if (nTopicEndPos == -1) { // no window option.\r
- return GetTopicNumberOnly(strHashString);\r
- }\r
- else {\r
- var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);\r
- var strWithNavPane = 'withnavpane=true';\r
- if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)\r
- {\r
- if (strWindowOption.length > strWithNavPane.length)\r
- gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);\r
- else\r
- gstrWindowOption = "";\r
- gbWithNavPane = true;\r
- }\r
- else\r
- gstrWindowOption = strWindowOption;\r
- return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos)); \r
- }\r
-}\r
-\r
-function GetTopicNumberOnly(strTopicString)\r
-{\r
- var nEqualPos = strTopicString.indexOf('=');\r
- if (nEqualPos == -1) {\r
- return GetTopicNumberAuto(strTopicString);\r
- }\r
- else {\r
- var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);\r
- if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {\r
- return parseInt(strValue);\r
- } else if (strTopicString.toLowerCase().indexOf("context") == 0) {\r
- return GetTopicNumberById(strValue);\r
- } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {\r
- gstrURL = strValue;\r
- return -1;\r
- }\r
-\r
- }\r
-}\r
-\r
-//Find HomePage of the WebHelp system\r
-// we try to get the topic from remote project if it exists.\r
-function RedirectToHomePage()\r
-{\r
- if (parent && parent != this && parent.goNext)\r
- {\r
- var sHome = parent.goNext();\r
- if (sHome != "")\r
- RedirectTo(sHome);\r
- }\r
-}\r
-\r
-function getHomePage()\r
-{\r
- if (parent && parent != this && parent.getRelHomePage)\r
- {\r
- return parent.getRelHomePage(document.location.href);\r
- }\r
- return "";\r
-}\r
-\r
-function addRemoteProject(strPath)\r
-{\r
- if (parent && parent != this && parent.addProject)\r
- {\r
- parent.addProject(strPath);\r
- }\r
-}\r
-\r
-//Redirect page to...\r
-function RedirectTo(strUrl)\r
-{\r
- if (gstrWindowOption.length != 0) {\r
- var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);\r
- // close current window and rename the stub window to current window.\r
- if (wnd)\r
- wnd.focus();\r
- if (parent)\r
- parent.close();\r
- }\r
- else {\r
- parent.document.location.href = strUrl;\r
- window.focus();\r
- }\r
-}\r
-\r
-//Prompt the user that we can not find...\r
-function FailToFind(strMsg)\r
-{\r
- RedirectToHomePage();\r
-}\r
-\r
-//Find topic by topic number (defined in h file)\r
-function FindTopicByTopicNum(nTopicNum)\r
-{\r
- var i = 0;\r
- var iEnd = gArrayCsh.length;\r
- for (i=0; i<iEnd; i++)\r
- {\r
- if (gArrayCsh[i].nTopicNum == nTopicNum)\r
- {\r
- var strURL = gArrayCsh[i].strUrl;\r
- if (gbWithNavPane)\r
- {\r
- var strHomePage = getHomePage();\r
- if (strHomePage.length != 0)\r
- strURL = strHomePage + strURL;\r
- } \r
- RedirectTo(strURL);\r
- return true;\r
- }\r
- }\r
- FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);\r
- return false;\r
-}\r
-\r
-var oldPrefix = "HelpIdFromHTMLHelp_"\r
-//Find topic by topic id (alias id defined in ali file)\r
-function GetTopicNumberById(strTopicId)\r
-{\r
- if (strTopicId.indexOf(oldPrefix) == 0)\r
- {\r
- strTopicId = strTopicId.substring(oldPrefix.length);\r
- }\r
-\r
- var i = 0;\r
- var iEnd = gArrayCsh.length;\r
- for (i=0; i<iEnd; i++)\r
- {\r
- if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())\r
- {\r
- return gArrayCsh[i].nTopicNum;\r
- }\r
- }\r
- gstrURL = "";\r
- return -1;\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n, strAliasId, nTopicNum, strUrl)\r
-{\r
- gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-\r
-function getHash()\r
-{\r
- if (parent && parent != this)\r
- return parent.location.hash;\r
- else\r
- return "";\r
-}\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-\r
-\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-//Find CSH according to hash string after this page\r
-if (getHash().length > 0)\r
-{\r
- // VH 05/16/00 now support \r
- // TopicID=\r
- // TopicNumber=\r
- // RemoteURL= \r
- // and WindowsOptions\r
- // with the format #a=xxx,b=xxx,c=xxx...\r
- var strHashString = getHash().toString();\r
- // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it. \r
- // so here need to change it back.\r
- strHashString = strHashString.substring(1,strHashString.length);\r
- strHashString = strHashString.replace("%072%057%057", "://");\r
- var nTopicNum = GetTopicNumber(strHashString);\r
-\r
- if (nTopicNum != -1)\r
- {\r
- FindTopicByTopicNum(nTopicNum);\r
- }\r
- else\r
- {\r
- if (gstrURL.length > 0) \r
- RedirectTo(gstrURL);\r
- else\r
- RedirectToHomePage();\r
- }\r
-}\r
-else\r
-{\r
- RedirectToHomePage();\r
-}\r
-//-->\r
-</script>\r
-<noscript>\r
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>\r
-</noscript>\r
-</body>\r
-</html>\r
-\r
-\r
-\r
-\r
-\r
-\r
+<html>
+<head>
+<title>Mesh Module Reference Manual</title>
+
+<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
+<meta name="description" content="WebHelp 5.50">
+</head>
+<body>
+<script language="JavaScript">
+<!--
+
+var gArrayCsh = new Array();
+
+var gstrWindowOption = "";
+var gstrURL = "";
+var gbWithNavPane = false;
+
+function CshEntityItem(strAliasId, nTopicNum, strUrl)
+{
+ this.strAliasId = strAliasId;
+ this.nTopicNum = nTopicNum;
+ this.strUrl = strUrl;
+}
+
+
+//Try to get to topic number from hash string
+function GetTopicNumberAuto(strMayBeNumber)
+{
+ var nNum = -1;
+ if (strMayBeNumber.length >= 1)
+ {
+ var strTmp = strMayBeNumber;
+ var iEnd = strTmp.length;
+ for (var i=0; i<iEnd; i++)
+ {
+ var ch = strTmp.charAt(i);
+ if (!((ch == "0") || (ch == "1") ||
+ (ch == "2") || (ch == "3") ||
+ (ch == "4") || (ch == "5") ||
+ (ch == "6") || (ch == "7") ||
+ (ch == "8") || (ch == "9")))
+ return GetTopicNumberById(strTmp);
+ }
+ nNum = parseInt(strTmp);
+ }
+ return nNum;
+}
+
+function GetTopicNumber(strHashString)
+{
+ var nTopicEndPos = strHashString.indexOf(',')
+ if (nTopicEndPos == -1) { // no window option.
+ return GetTopicNumberOnly(strHashString);
+ }
+ else {
+ var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
+ var strWithNavPane = 'withnavpane=true';
+ if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
+ {
+ if (strWindowOption.length > strWithNavPane.length)
+ gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
+ else
+ gstrWindowOption = "";
+ gbWithNavPane = true;
+ }
+ else
+ gstrWindowOption = strWindowOption;
+ return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
+ }
+}
+
+function GetTopicNumberOnly(strTopicString)
+{
+ var nEqualPos = strTopicString.indexOf('=');
+ if (nEqualPos == -1) {
+ return GetTopicNumberAuto(strTopicString);
+ }
+ else {
+ var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
+ if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
+ return parseInt(strValue);
+ } else if (strTopicString.toLowerCase().indexOf("context") == 0) {
+ return GetTopicNumberById(strValue);
+ } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
+ gstrURL = strValue;
+ return -1;
+ }
+
+ }
+}
+
+//Find HomePage of the WebHelp system
+// we try to get the topic from remote project if it exists.
+function RedirectToHomePage()
+{
+ if (parent && parent != this && parent.goNext)
+ {
+ var sHome = parent.goNext();
+ if (sHome != "")
+ RedirectTo(sHome);
+ }
+}
+
+function getHomePage()
+{
+ if (parent && parent != this && parent.getRelHomePage)
+ {
+ return parent.getRelHomePage(document.location.href);
+ }
+ return "";
+}
+
+function addRemoteProject(strPath)
+{
+ if (parent && parent != this && parent.addProject)
+ {
+ parent.addProject(strPath);
+ }
+}
+
+//Redirect page to...
+function RedirectTo(strUrl)
+{
+ if (gstrWindowOption.length != 0) {
+ var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
+ // close current window and rename the stub window to current window.
+ if (wnd)
+ wnd.focus();
+ if (parent)
+ parent.close();
+ }
+ else {
+ parent.document.location.href = strUrl;
+ window.focus();
+ }
+}
+
+//Prompt the user that we can not find...
+function FailToFind(strMsg)
+{
+ RedirectToHomePage();
+}
+
+//Find topic by topic number (defined in h file)
+function FindTopicByTopicNum(nTopicNum)
+{
+ var i = 0;
+ var iEnd = gArrayCsh.length;
+ for (i=0; i<iEnd; i++)
+ {
+ if (gArrayCsh[i].nTopicNum == nTopicNum)
+ {
+ var strURL = gArrayCsh[i].strUrl;
+ if (gbWithNavPane)
+ {
+ var strHomePage = getHomePage();
+ if (strHomePage.length != 0)
+ strURL = strHomePage + strURL;
+ }
+ RedirectTo(strURL);
+ return true;
+ }
+ }
+ FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
+ return false;
+}
+
+var oldPrefix = "HelpIdFromHTMLHelp_"
+//Find topic by topic id (alias id defined in ali file)
+function GetTopicNumberById(strTopicId)
+{
+ if (strTopicId.indexOf(oldPrefix) == 0)
+ {
+ strTopicId = strTopicId.substring(oldPrefix.length);
+ }
+
+ var i = 0;
+ var iEnd = gArrayCsh.length;
+ for (i=0; i<iEnd; i++)
+ {
+ if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
+ {
+ return gArrayCsh[i].nTopicNum;
+ }
+ }
+ gstrURL = "";
+ return -1;
+}
+
+//Set Context-sensitive help entity...
+function SetCsh(n, strAliasId, nTopicNum, strUrl)
+{
+ gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
+}
+
+
+function getHash()
+{
+ if (parent && parent != this)
+ return parent.location.hash;
+ else
+ return "";
+}
+//-->
+</script>
+<script language="javascript">
+<!--
+
+
+//-->
+</script>
+<script language="javascript">
+<!--
+//Find CSH according to hash string after this page
+if (getHash().length > 0)
+{
+ // VH 05/16/00 now support
+ // TopicID=
+ // TopicNumber=
+ // RemoteURL=
+ // and WindowsOptions
+ // with the format #a=xxx,b=xxx,c=xxx...
+ var strHashString = getHash().toString();
+ // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
+ // so here need to change it back.
+ strHashString = strHashString.substring(1,strHashString.length);
+ strHashString = strHashString.replace("%072%057%057", "://");
+ var nTopicNum = GetTopicNumber(strHashString);
+
+ if (nTopicNum != -1)
+ {
+ FindTopicByTopicNum(nTopicNum);
+ }
+ else
+ {
+ if (gstrURL.length > 0)
+ RedirectTo(gstrURL);
+ else
+ RedirectToHomePage();
+ }
+}
+else
+{
+ RedirectToHomePage();
+}
+//-->
+</script>
+<noscript>
+ <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
+</noscript>
+</body>
+</html>
+
+
+
+
+
+