';
var strHTML = '';
// number of items in navigation
var intItems = arrNavigation.length;
document.write(' | ');
var intCurr0 = -1;
var intLast0 = -1;
var strCurr0 = '';
var intActiveID = -1;
// iterate over the items.
for(i=0;i | | ';
// write closing DIV tag
document.write('');
}
}
var intMarginL = intMarginLeft + 3;
if(i==0)
{
document.write('');
}
if(i>0)
{
var bFirst = false;
var intTmp1;
if(intLastLevel < intLevel)
{
intTmp1 = intLastLevel;
bFirst = true;
}
else
{
intTmp1 = intLevel;
}
var intMarginLeftBorder = 11 + (intTmp1 * 10);
document.write('');
}
// append HTML code for this link.
document.write('');
// if we start another level here, add distance.
//if(intLastLevel < intLevel)
if(i==0)
{
document.write(' | ');
}
// add TR
document.write('');
// check if the next item is deeper than this one.
if(i intLevel)
{
// this is a folder, so append HTML code with plus button.
//document.write(' | ';
bMustDrawDIV = true;
}
else
{
//document.write(' | ';
}
// append the link.
document.write('' + strLabel /* + ',' + intLevel */ +' | '
+' ');
if(bMustDrawDIV)
{
// render a DIV for this item.
document.write('');
// push ID to DIV stack if we have not found the active entry yet.
if(bFoundActive == false)
{
arrDIVStack[arrDIVStack.length] = i;
}
}
// set last level to current level
intLastLevel = intLevel;
if(bIsActive)
{
bFoundActive = true;
strData = strLabel;
}
}
// close open DIVs.
for(z=0;z');
}
// append some space after the navigation.
document.write(' |