panel$mold$=function(a,g){var b=this.uuid,f=this.getTitle(),c=this.caption,d=this._tabindex;a.push("<div",this.domAttrs_({tabindex:1}),">");if(c||f){a.push('<div id="',b,'-head" class="',this.$s("head"),'">','<div id="',b,'-cap" class="',this.$s("header"),'">');if(c)c.redraw(a);else{c=this.$s("icon");this._closable&&(a.push('<button id="',b,'-close" class="',c," ",this.$s("close"),'"'),void 0!=d&&a.push(' tabindex="',d,'"'),a.push(' title="',msgzul.PANEL_CLOSE,'"><i class="',this.getClosableIconClass_(),
'"></i></button>'));if(this._maximizable){var e=this._maximized;a.push('<div id="',b,'-max" class="',c," ",this.$s("maximize"));e&&a.push(" ",this.$s("maximized"));e=e?this.getMaximizedIconClass_():this.getMaximizableIconClass_();void 0!=d&&a.push('" tabindex="',d);a.push('" title="',msgzul.PANEL_MAXIMIZE,'"><i class="',e,'"></i></div>')}this._minimizable&&(a.push('<div id="',b,'-min" class="',c," ",this.$s("minimize"),'"'),void 0!=d&&a.push(' tabindex="',d,'"'),a.push(' title="',msgzul.PANEL_MINIMIZE,
'"><i class="',this.getMinimizableIconClass_(),'"></i></div>'));this._collapsible&&(e=this._open?this.getCollapseOpenIconClass_():this.getCollapseCloseIconClass_(),a.push('<div id="',b,'-exp" class="',c," ",this.$s("expand"),'"'),void 0!=d&&a.push(' tabindex="',d,'"'),e?a.push(' title="',msgzul.PANEL_COLLAPSE,'"'):a.push(' title="',msgzul.PANEL_EXPAND,'"'),a.push('><i class="',e,'"></i></div>'));a.push(zUtl.encodeXML(f))}a.push("</div></div>")}else a.push('<div id="',b,'-drag-button" class="',this.$s("drag-button"),
" z-icon-minus",'"></div>');a.push('<div id="',b,'-body" class="',this.$s("body"),'"');this._open||a.push(' style="display:none;"');a.push(">");g||(this.tbar&&(a.push('<div id="',b,'-tb" class="',this.$s("top"),'">'),this.tbar.redraw(a),a.push("</div>")),this.panelchildren&&this.panelchildren.redraw(a),this.bbar&&(a.push('<div id="',b,'-bb" class="',this.$s("bottom"),'">'),this.bbar.redraw(a),a.push("</div>")),this.fbar&&(a.push('<div id="',b,'-fb" class="',this.$s("footer"),'">'),this.fbar.redraw(a),
a.push("</div>")));a.push("</div></div>")};
