$wnd.showcase.runAsyncCallback11("function mjc(){}\nfunction ojc(){}\nfunction hjc(a,b){a.b=b}\nfunction ijc(a){if(a==Zic){return true}AB();return a==ajc}\nfunction jjc(a){if(a==Yic){return true}AB();return a==Xic}\nfunction njc(a){this.b=(Rkc(),Mkc).a;this.e=(Wkc(),Vkc).a;this.a=a}\nfunction gjc(a,b){var c;c=qfb(a.fb,179);c.e=b.a;!!c.d&&bec(c.d,b)}\nfunction fjc(a,b){var c;c=qfb(a.fb,179);c.b=b.a;!!c.d&&_dc(c.d,b)}\nfunction bjc(){bjc=BCb;Wic=new mjc;Zic=new mjc;Yic=new mjc;Xic=new mjc;$ic=new mjc;_ic=new mjc;ajc=new mjc}\nfunction kjc(){bjc();dec.call(this);this.b=(Rkc(),Mkc);this.c=(Wkc(),Vkc);(Rac(),this.e)[ZRc]=0;this.e[$Rc]=0}\nfunction cjc(a,b,c){var d;if(c==Wic){if(b==a.a){return}else if(a.a){throw XBb(new aCc('Only one CENTER widget may be added'))}}Rh(b);avc(a.j,b);c==Wic&&(a.a=b);d=new njc(c);b.fb=d;fjc(b,a.b);gjc(b,a.c);ejc(a);Th(b,a)}\nfunction djc(a){var b,c,d,e,f,g,h;Juc((Rac(),a.hb),'',QTc);g=new OJc;h=new kvc(a.j);while(h.b<h.c.c){b=ivc(h);f=qfb(b.fb,179).a;d=qfb(WEc(eKc(g.d,f)),111);c=!d?1:d.a;e=f==$ic?'north'+c:f==_ic?'south'+c:f==ajc?'west'+c:f==Xic?'east'+c:f==Zic?'linestart'+c:f==Yic?'lineend'+c:yQc;Juc(To(b.hb),QTc,e);gFc(g,f,nCc(c+1))}}\nfunction ejc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=(Rac(),a.d);while(scc(b)>0){xo(b,rcc(b,0))}o=1;e=1;for(i=new kvc(a.j);i.b<i.c.c;){d=ivc(i);f=qfb(d.fb,179).a;f==$ic||f==_ic?++o:(f==Xic||f==ajc||f==Zic||f==Yic)&&++e}p=zeb(rwb,uNc,289,o,0,1);for(g=0;g<o;++g){p[g]=new ojc;p[g].b=$doc.createElement(XRc);to(b,Yac(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new kvc(a.j);h.b<h.c.c;){d=ivc(h);j=qfb(d.fb,179);r=$doc.createElement(YRc);j.d=r;j.d[KRc]=j.b;j.d.style[LRc]=j.e;j.d[MNc]=j.f;j.d[LNc]=j.c;if(j.a==$ic){Uac(p[m].b,r,p[m].a);to(r,Yac(d.hb));r[fTc]=l-k+1;++m}else if(j.a==_ic){Uac(p[q].b,r,p[q].a);to(r,Yac(d.hb));r[fTc]=l-k+1;--q}else if(j.a==Wic){c=r}else if(ijc(j.a)){n=p[m];Uac(n.b,r,n.a++);to(r,Yac(d.hb));r[RTc]=q-m+1;++k}else if(jjc(j.a)){n=p[m];Uac(n.b,r,n.a);to(r,Yac(d.hb));r[RTc]=q-m+1;--l}}if(a.a){n=p[m];Uac(n.b,c,n.a);to(c,Yac(eh(a.a)))}}\nvar QTc='cwDockPanel';ACb(445,1,xQc);_.Bc=function oVb(){var a,b,c;QEb(this.a,(a=new kjc,(Rac(),a.hb).className='cw-DockPanel',a.e[ZRc]=4,hjc(a,(Rkc(),Lkc)),cjc(a,new Jhc('This is the first north component'),(bjc(),$ic)),cjc(a,new Jhc('This is the first south component'),_ic),cjc(a,new Jhc('This is the east component'),Xic),cjc(a,new Jhc('This is the west component'),ajc),cjc(a,new Jhc('This is the second north component'),$ic),cjc(a,new Jhc('This is the second south component'),_ic),b=new Jhc(\"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 cfc(b),c.hb.style[MNc]='400px',c.hb.style[LNc]='100px',cjc(a,c,Wic),djc(a),a))};ACb(900,281,RNc,kjc);_.gc=function ljc(a){var b;b=Ycc(this,a);if(b){a==this.a&&(this.a=null);ejc(this)}return b};var Wic,Xic,Yic,Zic,$ic,_ic,ajc;var swb=GBc(PNc,'DockPanel',900);ACb(178,1,{},mjc);var pwb=GBc(PNc,'DockPanel/DockLayoutConstant',178);ACb(179,1,{179:1},njc);_.c='';_.f='';var qwb=GBc(PNc,'DockPanel/LayoutData',179);ACb(289,1,{289:1},ojc);_.a=0;var rwb=GBc(PNc,'DockPanel/TmpRow',289);$Mc(Al)(11);\n//# sourceURL=showcase-11.js\n")
