rem: if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " + 
add: if(attrs.length) element.innerHTML = "<" +elementName + " " + 
context:   node: function(elementName) {    elementName = elementName.toUpperCase();        // try innerHTML approach    var parentTag = this.NODEMAP[elementName] || 'div';    var parentElement = document.createElement(parentTag);    parentElement.innerHTML = "<" + elementName + "></" + elementName + ">";    var element = parentElement.firstChild || null;          // see if browser added wrapping tags    if(element && (element.tagName != elementName))      element = element.getElementsByTagName(elementName)[0];        // fallback to createElement approach    if(!element) element = document.createElement(elementName);        // abort if nothing could be created    if(!element) return;    // attributes (or text)    if(arguments[1])      if(this._isStringOrNumber(arguments[1]) ||        (arguments[1] instanceof Array)) {          this._children(element, arguments[1]);        } else {          var attrs = this._attributes(arguments[1]);          if(attrs.length) {            parentElement.innerHTML = "<" +elementName + " " +              attrs + "></" + elementName + ">";            element = parentElement.firstChild || null;            // workaround firefox 1.0.X bug            if(!element) {              element = document.createElement(elementName);              for(attr in arguments[1])                 element[attr == 'class' ? 'className' : attr] = arguments[1][attr];            }            if(element.tagName != elementName)              element = parentElement.getElementsByTagName(elementName)[0];            }        }     // text, or array of children    if(arguments[2])      this._children(element, arguments[2]);     return element;  },
meta: 3991	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3991/57687341792749db94b850962ee7ed7f18e1087d/util.js/clean/manager/media/script/scriptaculous/util.js