var curDiv=fds[0] function changeMe(div,ref) { var tbl=document.getElementById("navTbl"+curDiv.split(",")[0]) tbl.rows[0].cells[1].bgColor='white' var txt=document.getElementById("navName"+curDiv.split(",")[0]).innerText document.getElementById("navName"+curDiv.split(",")[0]).innerHTML=txt curDiv=div var tbl=document.getElementById("navTbl"+div.split(",")[0]) tbl.rows[0].cells[1].bgColor='#000080' txt=document.getElementById("navName"+div.split(",")[0]).innerHTML document.getElementById("navName"+div.split(",")[0]).innerHTML=txt.fontcolor('white') if (ref==0) { //futureFolders() return; } var showChildren='' if(setOpen(div)) {showChildren='none'} else {showChildren=''} var children=fds[ref].split("|") for (x=0;x< children.length;x=x+1) { document.getElementById(children[x]).style.display=showChildren if(showChildren=='') { document.getElementById(div+"Closed").style.display='none' document.getElementById(div+"Open").style.display='' } else { document.getElementById(div+"Closed").style.display='' document.getElementById(div+"Open").style.display='none' } } } function setOpen(id) { return; var closed=id+"Closed" var isOpen=false if(document.getElementById(closed).style.display=='') { isOpen=false } else { isOpen=true } return isOpen; }