]> SALOME platform Git repositories - modules/smesh.git/blob - doc/salome/gui/SMESH/whdata/whidx.js
Salome HOME
c34fb24b2651604d56f12a169eff088da845cda5
[modules/smesh.git] / doc / salome / gui / SMESH / whdata / whidx.js
1 //      WebHelp 5.10.001
2 var gaFileMapping = new Array();
3 function fileMapping(sBK, sEK, sFileName, nNum)
4 {
5         this.sBK = sBK;
6         this.sEK = sEK;
7         this.sFileName = sFileName;
8         this.aKs = null;
9         this.nNum = nNum;
10         this.oUsedItems = null;
11 }
12
13
14 function iFM(sBK, sEK, sFileName, nNum)
15 {
16         var i = gaFileMapping.length;
17         gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum);  
18         if (i == 0) {
19                 gaFileMapping[i].nTotal = nNum;
20         }
21         else {
22                 gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal;
23         }
24 }
25
26 function window_OnLoad()
27 {
28         if (parent && parent != this && parent.projReady)
29         {
30                 parent.projReady(gaFileMapping);
31         }               
32 }
33
34 window.onload = window_OnLoad;