rem: if (typeof textAreaInit != 'undefined') { 
add: if (typeof textAreaAutoAttach != 'undefined') { 
context: function collapseAutoAttach() {  var fieldsets = document.getElementsByTagName('fieldset');  var legend, fieldset;  for (var i = 0; fieldset = fieldsets[i]; i++) {    if (!hasClass(fieldset, 'collapsible')) {      continue;    }    legend = fieldset.getElementsByTagName('legend');    if (legend.length == 0) {      continue;    }    legend = legend[0];    var a = document.createElement('a');    a.href = '#';    a.onclick = function() {      toggleClass(this.parentNode.parentNode, 'collapsed');      if (!hasClass(this.parentNode.parentNode, 'collapsed')) {        collapseScrollIntoView(this.parentNode.parentNode);        if (typeof textAreaInit != 'undefined') {          // Add the grippie to a textarea in a collapsed fieldset.          textAreaAutoAttach(null, this.parentNode.parentNode);        }      }      this.blur();      return false;    };    a.innerHTML = legend.innerHTML;    while (legend.hasChildNodes()) {      removeNode(legend.childNodes[0]);    }    legend.appendChild(a);    collapseEnsureErrorsVisible(fieldset);  }}
meta: 10881	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10881/a4fd2d666c55132dcb490fddbfd024a056197790/collapse.js/clean/misc/collapse.js