geom/doc/salome/gui/GEOM/whdata/whtoc.js

28 lines
492 B
JavaScript
Raw Normal View History

2004-06-16 21:45:26 +06:00
// const strings
var gaProj = new Array();
var gsRoot = "";
function setRoot(sRoot)
{
gsRoot = sRoot
}
function aPE(sProjPath, sRootPath)
{
gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);
}
function tocProjEntry(sProjPath, sRootPath)
{
this.sPPath = sProjPath;
this.sRPath = sRootPath;
}
function window_OnLoad()
{
if (parent && parent != this && parent.projReady) {
parent.projReady(gsRoot, gaProj);
}
}
window.onload = window_OnLoad;