\
';
var divCounter = 0;
var allHead1s = document.getElementsByTagName("h1");
if (allHead1s)
{
var theHead1 = allHead1s[0];
if (theHead1.id == null || theHead1.id.length == 0)
{
theHead1.id = "insertedID" + divCounter++;
}
else
{
}
var innerText = theHead1.innerHTML.replace(/<.*?>/g,"");
navDiv.innerHTML += '
';
if (theHead1.className != null && theHead1.className == "glossary")
{
var allParas = document.getElementsByTagName("p");
if (allParas)
{
for (i=0; i < allParas.length; i++)
{
var thePara = allParas[i];
if (thePara.className != null && thePara.className == "glossterm")
{
if (thePara.id == null || thePara.id.length == 0)
{
thePara.id = "insertedID" + divCounter++;
}
var innerText = thePara.innerHTML.replace(/<.*?>/g,"");
navDiv.innerHTML += '
';
}
}
}
}
else if ((theHead1.className != null && theHead1.className == "toc") || theHead1.innerHTML == "Contents")
{
}
else
{
var allHead2s = document.getElementsByTagName("h2");
for (i=0; i < allHead2s.length; i++)
{
var theHead2 = allHead2s[i];
if (theHead2.id == null || theHead2.id.length == 0)
{
theHead2.id = "insertedID" + divCounter++;
}
var innerText = theHead2.innerHTML.replace(/<.*?>/g,"");
innerText = innerText.replace(/ /g,"");
navDiv.innerHTML += '
';
}
}
}
navDiv.innerHTML += '