$wnd.showcase.runAsyncCallback11("function Tjc(){}\nfunction Vjc(){}\nfunction Ojc(a,b){a.b=b}\nfunction Pjc(a){if(a==Ejc){return true}pC();return a==Hjc}\nfunction Qjc(a){if(a==Djc){return true}pC();return a==Cjc}\nfunction Ujc(a){this.b=(xlc(),slc).a;this.e=(Clc(),Blc).a;this.a=a}\nfunction Njc(a,b){var c;c=jgb(a.fb,179);c.e=b.a;!!c.d&&Iec(c.d,b)}\nfunction Mjc(a,b){var c;c=jgb(a.fb,179);c.b=b.a;!!c.d&&Gec(c.d,b)}\nfunction Ijc(){Ijc=rDb;Bjc=new Tjc;Ejc=new Tjc;Djc=new Tjc;Cjc=new Tjc;Fjc=new Tjc;Gjc=new Tjc;Hjc=new Tjc}\nfunction Rjc(){Ijc();Kec.call(this);this.b=(xlc(),slc);this.c=(Clc(),Blc);(Hbc(),this.e)[rSc]=0;this.e[sSc]=0}\nfunction Jjc(a,b,c){var d;if(c==Bjc){if(b==a.a){return}else if(a.a){throw NCb(new HCc('Only one CENTER widget may be added'))}}Sh(b);Cvc(a.j,b);c==Bjc&&(a.a=b);d=new Ujc(c);b.fb=d;Mjc(b,a.b);Njc(b,a.c);Ljc(a);Uh(b,a)}\nfunction Kjc(a){var b,c,d,e,f,g,h;jvc((Hbc(),a.hb),'',TTc);g=new oKc;h=new Mvc(a.j);while(h.b<h.c.c){b=Kvc(h);f=jgb(b.fb,179).a;d=jgb(zFc(GKc(g.d,f)),111);c=!d?1:d.a;e=f==Fjc?'north'+c:f==Gjc?'south'+c:f==Hjc?'west'+c:f==Cjc?'east'+c:f==Ejc?'linestart'+c:f==Djc?'lineend'+c:XQc;jvc(Vo(b.hb),TTc,e);LFc(g,f,UCc(c+1))}}\nfunction Ljc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=(Hbc(),a.d);while(bdc(b)>0){Bo(b,adc(b,0))}o=1;e=1;for(i=new Mvc(a.j);i.b<i.c.c;){d=Kvc(i);f=jgb(d.fb,179).a;f==Fjc||f==Gjc?++o:(f==Cjc||f==Hjc||f==Ejc||f==Djc)&&++e}p=sfb(jxb,RNc,287,o,0,1);for(g=0;g<o;++g){p[g]=new Vjc;p[g].b=$doc.createElement(pSc);xo(b,Obc(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new Mvc(a.j);h.b<h.c.c;){d=Kvc(h);j=jgb(d.fb,179);r=$doc.createElement(qSc);j.d=r;j.d[eSc]=j.b;j.d.style[fSc]=j.e;j.d[hOc]=j.f;j.d[gOc]=j.c;if(j.a==Fjc){Kbc(p[m].b,r,p[m].a);xo(r,Obc(d.hb));r[hTc]=l-k+1;++m}else if(j.a==Gjc){Kbc(p[q].b,r,p[q].a);xo(r,Obc(d.hb));r[hTc]=l-k+1;--q}else if(j.a==Bjc){c=r}else if(Pjc(j.a)){n=p[m];Kbc(n.b,r,n.a++);xo(r,Obc(d.hb));r[UTc]=q-m+1;++k}else if(Qjc(j.a)){n=p[m];Kbc(n.b,r,n.a);xo(r,Obc(d.hb));r[UTc]=q-m+1;--l}}if(a.a){n=p[m];Kbc(n.b,c,n.a);xo(c,Obc(fh(a.a)))}}\nvar TTc='cwDockPanel';qDb(445,1,WQc);_.Ec=function eWb(){var a,b,c;GFb(this.a,(a=new Rjc,(Hbc(),a.hb).className='cw-DockPanel',a.e[rSc]=4,Ojc(a,(xlc(),rlc)),Jjc(a,new oic('This is the first north component'),(Ijc(),Fjc)),Jjc(a,new oic('This is the first south component'),Gjc),Jjc(a,new oic('This is the east component'),Cjc),Jjc(a,new oic('This is the west component'),Hjc),Jjc(a,new oic('This is the second north component'),Fjc),Jjc(a,new oic('This is the second south component'),Gjc),b=new oic(\"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 Jfc(b),c.hb.style[hOc]='400px',c.hb.style[gOc]='100px',Jjc(a,c,Bjc),Kjc(a),a))};qDb(898,279,mOc,Rjc);_.gc=function Sjc(a){var b;b=Cdc(this,a);if(b){a==this.a&&(this.a=null);Ljc(this)}return b};var Bjc,Cjc,Djc,Ejc,Fjc,Gjc,Hjc;var kxb=lCc(kOc,'DockPanel',898);qDb(178,1,{},Tjc);var hxb=lCc(kOc,'DockPanel/DockLayoutConstant',178);qDb(179,1,{179:1},Ujc);_.c='';_.f='';var ixb=lCc(kOc,'DockPanel/LayoutData',179);qDb(287,1,{287:1},Vjc);_.a=0;var jxb=lCc(kOc,'DockPanel/TmpRow',287);wNc(El)(11);\n//# sourceURL=showcase-11.js\n")
