Salome HOME
Update the GUI documentation for SMESH module
[modules/smesh.git] / doc / salome / gui / SMESH / whdata / whtoc.js
1 //      WebHelp 5.10.001\r
2 // const strings\r
3 var gaProj = new Array();\r
4 var gsRoot = "";\r
5 \r
6 function setRoot(sRoot)\r
7 {\r
8         gsRoot = sRoot\r
9 }\r
10 \r
11 function aPE(sProjPath, sRootPath)\r
12 {\r
13         gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);\r
14 }\r
15 \r
16 function tocProjEntry(sProjPath, sRootPath) \r
17 {\r
18         if(sProjPath.lastIndexOf("/")!=sProjPath.length-1)\r
19                 sProjPath+="/"; \r
20         this.sPPath = sProjPath;\r
21         this.sRPath = sRootPath;\r
22 }\r
23 \r
24 \r
25 function window_OnLoad()\r
26 {\r
27         if (parent && parent != this && parent.projReady) {\r
28                 parent.projReady(gsRoot, gaProj);\r
29         }\r
30 }\r
31 window.onload = window_OnLoad;