/*---------------------------------------------------
A simple function to collapse an unordered list.
Parameters are the list ID, the ID of the header of the list, and 
the heading text
---------------------------------------------------*/
function collapseUL(theList,theHeader,theText) {
 
 if (document.getElementById) {
  var foundElement = document.getElementById(theList).style;
  if (foundElement.display == "none") {
     document.getElementById(theHeader).innerHTML = "- " + theText;
     foundElement.display = "block";     
   } 
   else 
   {
     document.getElementById(theHeader).innerHTML = "+ " + theText;
     foundElement.display = "none";
  } 
  return false;
  } 
  else {
    return true;
 }
}

