rem: HTMLArea.prototype._getAncestorsClassNames = function(sel) {  var prnt = this._activeElement(sel); if(prnt == null) { prnt = (HTMLArea.is_ie ? this._createRange(sel).parentElement() : this._createRange(sel).commonAncestorContainer); }  var classNames = [ ]; while(prnt) { if(prnt.nodeType == 1) { var classes = prnt.className.trim().split(' '); for(var x = 0; x < classes.length; x++) { classNames[classNames.length] = classes[x]; }  if(prnt.tagName.toLowerCase() == 'body') break; if(prnt.tagName.toLowerCase() == 'table'  ) break; } prnt = prnt.parentNode; }  return classNames; 
add: HTMLArea.prototype._getAncestorsClassNames=function(sel){ var _30=this._activeElement(sel); if(_30==null){ _30=(HTMLArea.is_ie?this._createRange(sel).parentElement():this._createRange(sel).commonAncestorContainer); } var _31=[]; while(_30){ if(_30.nodeType==1){ var _32=_30.className.trim().split(" "); for(var x=0;x<_32.length;x++){ _31[_31.length]=_32[x]; } if(_30.tagName.toLowerCase()=="body"){ break; } if(_30.tagName.toLowerCase()=="table"){ break; } } _30=_30.parentNode; } return _31; 
context: HTMLArea.prototype._getAncestorsClassNames = function(sel){  // Scan upwards to find a block level element that we can change or apply to  var prnt = this._activeElement(sel);  if(prnt == null)  {    prnt = (HTMLArea.is_ie ? this._createRange(sel).parentElement() : this._createRange(sel).commonAncestorContainer);  }  var classNames = [ ];  while(prnt)  {    if(prnt.nodeType == 1)    {      var classes = prnt.className.trim().split(' ');      for(var x = 0; x < classes.length; x++)      {        classNames[classNames.length] = classes[x];      }      if(prnt.tagName.toLowerCase() == 'body') break;      if(prnt.tagName.toLowerCase() == 'table'  ) break;    }      prnt = prnt.parentNode;  }  return classNames;};
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/stylist.js/buggy/packages/acs-templating/www/resources/xinha-nightly/plugins/Stylist/stylist.js