//Function for expanding or collapsing a chosen tag in the XSL template
 function expand(thistag) {

      if(document.getElementById(thistag)){
      styleObj = document.getElementById(thistag).style;
      if (styleObj.display=='none') {

styleObj.display = '';
}
      else {styleObj.display = 'none';}
      }
}