<!-- 

var unfolt = {};
var style = {};
style.display = 'block';
unfolt.style = style;

function unfold(obj) {
  var container = getContainer(obj);
  if (container) {
    var sub = getSub(container);
    if (sub) {
      if (unfolt && unfolt!=sub) unfolt.style.display = 'none';
      display = (sub.style.display=='block')
      sub.style.display = (display)? 'none' : 'block';
      unfolt = sub;
    }
  }
}

function getContainer(obj) {
  p = obj.parentNode;
  while (p && p.id!='container') {
    p = p.parentNode;
  }
  return (p.id=='container')? p : null;
}

function getSub(obj) {
  var tables = obj.getElementsByTagName('TABLE');
  if (tables) for(i in tables) {
    if (tables[i].id && tables[i].id=='sub') return tables[i];
  }
}

//--> 
