rem:  var elementClone = this.element.cloneNode(true); this.innerElement = elementClone; this.innerElement.style.visibility = "inherit";  YAHOO.util.Dom.addClass(this.innerElement, YAHOO.widget.Panel.CSS_PANEL); 
add: var originalElement = this.element; 
context: YAHOO.widget.Panel.prototype.buildWrapper = function() {	var elementParent = this.element.parentNode;	var elementClone = this.element.cloneNode(true);	this.innerElement = elementClone;	this.innerElement.style.visibility = "inherit";	YAHOO.util.Dom.addClass(this.innerElement, YAHOO.widget.Panel.CSS_PANEL);	var wrapper = document.createElement("DIV");	wrapper.className = YAHOO.widget.Panel.CSS_PANEL_CONTAINER;	wrapper.id = elementClone.id + "_c";		wrapper.appendChild(elementClone);		if (elementParent) {		elementParent.replaceChild(wrapper, this.element);	}	this.element = wrapper;	// Resynchronize the local field references	var childNodes = this.innerElement.childNodes;	if (childNodes) {		for (var i=0;i<childNodes.length;i++) {			var child = childNodes[i];			switch (child.className) {				case YAHOO.widget.Module.CSS_HEADER:					this.header = child;					break;				case YAHOO.widget.Module.CSS_BODY:					this.body = child;					break;				case YAHOO.widget.Module.CSS_FOOTER:					this.footer = child;					break;			}		}	}	this.initDefaultConfig(); // We've changed the DOM, so the configuration must be re-tooled to get the DOM references right};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/container-debug.js/clean/www/resources/yui/container/container-debug.js