-// WebHelp 5.10.001\r
-var gaProj=new Array();\r
-\r
-gaProj[0]=new project("");\r
-\r
-function setLangId(sLangId)\r
-{\r
- gaProj[0].sLangId=sLangId;\r
-}\r
-\r
-function setDataPath(sPath)\r
-{\r
- if(sPath.length!=0)\r
- {\r
- if(sPath.lastIndexOf("/")!=sPath.length-1)\r
- sPath+="/";\r
- gaProj[0].sDPath=sPath; \r
- }\r
- else\r
- gaProj[0].sDPath="";\r
-}\r
-\r
-function addToc(sFile)\r
-{\r
- gaProj[0].sToc=sFile;\r
-}\r
-\r
-function addIdx(sFile)\r
-{\r
- gaProj[0].sIdx=sFile;\r
-}\r
-\r
-function addFts(sFile)\r
-{\r
- gaProj[0].sFts=sFile;\r
-}\r
-\r
-function addGlo(sFile)\r
-{\r
- gaProj[0].sGlo=sFile;\r
-}\r
-\r
-function addRemoteProject(sProjRelPath)\r
-{\r
- if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)\r
- sProjRelPath+="/";\r
- gaProj[gaProj.length]=new project(sProjRelPath);\r
-}\r
-\r
-function project(sPPath)\r
-{\r
- this.sPPath=sPPath;\r
- this.sLangId="";\r
- this.sDPath="";\r
- this.sToc="";\r
- this.sIdx="";\r
- this.sFts="";\r
- this.sGlo="";\r
-}\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
- gsName=document.location.href;\r
- gsName=_replaceSlash(gsName);\r
- var nPos=gsName.lastIndexOf("/");\r
- if(nPos!=-1)\r
- gaProj[0].sPPath=gsName.substring(0,nPos+1);\r
- else\r
- alert("Error in Loading navigation component. Please regenerate WebHelp.");\r
- patchPath(gaProj);\r
- if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")\r
- {\r
- parent.putProjectInfo(gaProj);\r
- }\r
-}\r
-\r
-function patchPath(aProj)\r
-{\r
- for(var i=1;i<aProj.length;i++)\r
- {\r
- aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);\r
- }\r
+// WebHelp 5.10.001
+var gaProj=new Array();
+
+gaProj[0]=new project("");
+
+function setLangId(sLangId)
+{
+ gaProj[0].sLangId=sLangId;
+}
+
+function setDataPath(sPath)
+{
+ if(sPath.length!=0)
+ {
+ if(sPath.lastIndexOf("/")!=sPath.length-1)
+ sPath+="/";
+ gaProj[0].sDPath=sPath;
+ }
+ else
+ gaProj[0].sDPath="";
+}
+
+function addToc(sFile)
+{
+ gaProj[0].sToc=sFile;
+}
+
+function addIdx(sFile)
+{
+ gaProj[0].sIdx=sFile;
+}
+
+function addFts(sFile)
+{
+ gaProj[0].sFts=sFile;
+}
+
+function addGlo(sFile)
+{
+ gaProj[0].sGlo=sFile;
+}
+
+function addRemoteProject(sProjRelPath)
+{
+ if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)
+ sProjRelPath+="/";
+ gaProj[gaProj.length]=new project(sProjRelPath);
+}
+
+function project(sPPath)
+{
+ this.sPPath=sPPath;
+ this.sLangId="";
+ this.sDPath="";
+ this.sToc="";
+ this.sIdx="";
+ this.sFts="";
+ this.sGlo="";
+}
+
+window.onload=window_OnLoad;
+
+function window_OnLoad()
+{
+ gsName=document.location.href;
+ gsName=_replaceSlash(gsName);
+ var nPos=gsName.lastIndexOf("/");
+ if(nPos!=-1)
+ gaProj[0].sPPath=gsName.substring(0,nPos+1);
+ else
+ alert("Error in Loading navigation component. Please regenerate WebHelp.");
+ patchPath(gaProj);
+ if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")
+ {
+ parent.putProjectInfo(gaProj);
+ }
+}
+
+function patchPath(aProj)
+{
+ for(var i=1;i<aProj.length;i++)
+ {
+ aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);
+ }
}
\ No newline at end of file