2004-12-17 16:18:33 +05:00
|
|
|
// WebHelp 5.10.001
|
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)
|
|
|
|
{
|
2004-12-17 16:18:33 +05:00
|
|
|
if(sProjPath.lastIndexOf("/")!=sProjPath.length-1)
|
|
|
|
sProjPath+="/";
|
2004-06-16 21:45:26 +06:00
|
|
|
this.sPPath = sProjPath;
|
|
|
|
this.sRPath = sRootPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function window_OnLoad()
|
|
|
|
{
|
|
|
|
if (parent && parent != this && parent.projReady) {
|
|
|
|
parent.projReady(gsRoot, gaProj);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
window.onload = window_OnLoad;
|