/***********************************************************************
*
* ACT_DropListBox -returns a string containing the HTML for the SELECT listbox
*
************************************************************************/

function ACT_DropListBox(ar)
{
var strIDs = '<SELECT SIZE="1" NAME="ACT_droplstbox" onClick="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">';
var sel = " SELECTED"

strIDs += '<OPTION ' + sel + ' VALUE="">Change Section</OPTION>';

for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<OPTION VALUE="' + ar[i].sURL + '">' + ar[i].sName + '</OPTION>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
strIDs += '<OPTION VALUE="' + ar[i].pChild[j].sURL + '">' + ' &nbsp;&nbsp;&nbsp;- ' + ar[i].pChild[j].sName + '</OPTION>';
{
if (ar[i].pChild[j].pChild)
{
for (var k=1;k<=ar[i].pChild[j].pChild.length;k++)
{
strIDs += '<OPTION VALUE="' + ar[i].pChild[j].pChild[k].sURL + '">' + '- - ' + ar[i].pChild[j].pChild[k].sName + '</OPTION>';
}
}
}
}
}
}
}
}
strIDs+='</SELECT>'

return strIDs
}
