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