$wnd.showcase.runAsyncCallback11("function bkc(){}\nfunction dkc(){}\nfunction Yjc(a,b){a.b=b}\nfunction Zjc(a){if(a==Ojc){return true}uC();return a==Rjc}\nfunction $jc(a){if(a==Njc){return true}uC();return a==Mjc}\nfunction ckc(a){this.b=(Glc(),Blc).a;this.e=(Llc(),Klc).a;this.a=a}\nfunction Xjc(a,b){var c;c=ogb(a.fb,179);c.e=b.a;!!c.d&&Sec(c.d,b)}\nfunction Wjc(a,b){var c;c=ogb(a.fb,179);c.b=b.a;!!c.d&&Qec(c.d,b)}\nfunction Sjc(){Sjc=wDb;Ljc=new bkc;Ojc=new bkc;Njc=new bkc;Mjc=new bkc;Pjc=new bkc;Qjc=new bkc;Rjc=new bkc}\nfunction _jc(){Sjc();Uec.call(this);this.b=(Glc(),Blc);this.c=(Llc(),Klc);(Pbc(),this.e)[CSc]=0;this.e[DSc]=0}\nfunction Tjc(a,b,c){var d;if(c==Ljc){if(b==a.a){return}else if(a.a){throw SCb(new SCc('Only one CENTER widget may be added'))}}Sh(b);Lvc(a.j,b);c==Ljc&&(a.a=b);d=new ckc(c);b.fb=d;Wjc(b,a.b);Xjc(b,a.c);Vjc(a);Uh(b,a)}\nfunction Ujc(a){var b,c,d,e,f,g,h;svc((Pbc(),a.hb),'',bUc);g=new zKc;h=new Vvc(a.j);while(h.b<h.c.c){b=Tvc(h);f=ogb(b.fb,179).a;d=ogb(KFc(RKc(g.d,f)),111);c=!d?1:d.a;e=f==Pjc?'north'+c:f==Qjc?'south'+c:f==Rjc?'west'+c:f==Mjc?'east'+c:f==Ojc?'linestart'+c:f==Njc?'lineend'+c:eRc;svc(Yo(b.hb),bUc,e);WFc(g,f,dDc(c+1))}}\nfunction Vjc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=(Pbc(),a.d);while(jdc(b)>0){Co(b,idc(b,0))}o=1;e=1;for(i=new Vvc(a.j);i.b<i.c.c;){d=Tvc(i);f=ogb(d.fb,179).a;f==Pjc||f==Qjc?++o:(f==Mjc||f==Rjc||f==Ojc||f==Njc)&&++e}p=xfb(oxb,aOc,287,o,0,1);for(g=0;g<o;++g){p[g]=new dkc;p[g].b=$doc.createElement(ASc);yo(b,Wbc(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new Vvc(a.j);h.b<h.c.c;){d=Tvc(h);j=ogb(d.fb,179);r=$doc.createElement(BSc);j.d=r;j.d[oSc]=j.b;j.d.style[pSc]=j.e;j.d[sOc]=j.f;j.d[rOc]=j.c;if(j.a==Pjc){Sbc(p[m].b,r,p[m].a);yo(r,Wbc(d.hb));r[sTc]=l-k+1;++m}else if(j.a==Qjc){Sbc(p[q].b,r,p[q].a);yo(r,Wbc(d.hb));r[sTc]=l-k+1;--q}else if(j.a==Ljc){c=r}else if(Zjc(j.a)){n=p[m];Sbc(n.b,r,n.a++);yo(r,Wbc(d.hb));r[cUc]=q-m+1;++k}else if($jc(j.a)){n=p[m];Sbc(n.b,r,n.a);yo(r,Wbc(d.hb));r[cUc]=q-m+1;--l}}if(a.a){n=p[m];Sbc(n.b,c,n.a);yo(c,Wbc(fh(a.a)))}}\nvar bUc='cwDockPanel';vDb(445,1,dRc);_.Ec=function jWb(){var a,b,c;LFb(this.a,(a=new _jc,(Pbc(),a.hb).className='cw-DockPanel',a.e[CSc]=4,Yjc(a,(Glc(),Alc)),Tjc(a,new yic('This is the first north component'),(Sjc(),Pjc)),Tjc(a,new yic('This is the first south component'),Qjc),Tjc(a,new yic('This is the east component'),Mjc),Tjc(a,new yic('This is the west component'),Rjc),Tjc(a,new yic('This is the second north component'),Pjc),Tjc(a,new yic('This is the second south component'),Qjc),b=new yic(\"This is a <code>ScrollPanel<\\/code> contained at the center of a <code>DockPanel<\\/code>.  By putting some fairly large contents in the middle and setting its size explicitly, it becomes a scrollable area within the page, but without requiring the use of an IFRAME.<br><br>Here's quite a bit more meaningless text that will serve primarily to make this thing scroll off the bottom of its visible area.  Otherwise, you might have to make it really, really small in order to see the nifty scroll bars!\"),c=new Tfc(b),c.hb.style[sOc]='400px',c.hb.style[rOc]='100px',Tjc(a,c,Ljc),Ujc(a),a))};vDb(897,279,xOc,_jc);_.gc=function akc(a){var b;b=Ndc(this,a);if(b){a==this.a&&(this.a=null);Vjc(this)}return b};var Ljc,Mjc,Njc,Ojc,Pjc,Qjc,Rjc;var pxb=wCc(vOc,'DockPanel',897);vDb(178,1,{},bkc);var mxb=wCc(vOc,'DockPanel/DockLayoutConstant',178);vDb(179,1,{179:1},ckc);_.c='';_.f='';var nxb=wCc(vOc,'DockPanel/LayoutData',179);vDb(287,1,{287:1},dkc);_.a=0;var oxb=wCc(vOc,'DockPanel/TmpRow',287);HNc(Fl)(11);\n//# sourceURL=showcase-11.js\n")
