$wnd.showcase.runAsyncCallback11("function tjc(){}\nfunction vjc(){}\nfunction ojc(a,b){a.b=b}\nfunction pjc(a){if(a==ejc){return true}BB();return a==hjc}\nfunction qjc(a){if(a==djc){return true}BB();return a==cjc}\nfunction ujc(a){this.b=(Xkc(),Skc).a;this.e=(alc(),_kc).a;this.a=a}\nfunction rjc(){ijc();lec.call(this);this.b=(Xkc(),Skc);this.c=(alc(),_kc);this.e[TRc]=0;this.e[URc]=0}\nfunction mjc(a,b){var c;c=rfb(a.fb,180);c.b=b.a;!!c.d&&(c.d[SRc]=b.a,undefined)}\nfunction njc(a,b){var c;c=rfb(a.fb,180);c.e=b.a;!!c.d&&kec(c.d,b)}\nfunction ijc(){ijc=GCb;bjc=new tjc;ejc=new tjc;djc=new tjc;cjc=new tjc;fjc=new tjc;gjc=new tjc;hjc=new tjc}\nfunction jjc(a,b,c){var d;if(c==bjc){if(b==a.a){return}else if(a.a){throw aCb(new cCc('Only one CENTER widget may be added'))}}Oh(b);hvc(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);Qh(b,a)}\nfunction kjc(a){var b,c,d,e,f,g,h;Quc(a.hb,'',KTc);g=new NJc;h=new rvc(a.j);while(h.b<h.c.c){b=pvc(h);f=rfb(b.fb,180).a;d=rfb(VEc(dKc(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:yQc;Quc(Qo(b.hb),KTc,e);fFc(g,f,pCc(c+1))}}\nfunction ljc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.d;while(b.children.length>0){to(b,b.children[0])}o=1;e=1;for(i=new rvc(a.j);i.b<i.c.c;){d=pvc(i);f=rfb(d.fb,180).a;f==fjc||f==gjc?++o:(f==cjc||f==hjc||f==ejc||f==djc)&&++e}p=Aeb(ywb,tNc,290,o,0,1);for(g=0;g<o;++g){p[g]=new vjc;p[g].b=Uo($doc,QRc);po(b,sbc(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new rvc(a.j);h.b<h.c.c;){d=pvc(h);j=rfb(d.fb,180);r=Uo($doc,RRc);j.d=r;j.d[SRc]=j.b;j.d.style[HRc]=j.e;j.d[KNc]=j.f;j.d[JNc]=j.c;if(j.a==fjc){obc(p[m].b,r,p[m].a);po(r,sbc(d.hb));r[$Sc]=l-k+1;++m}else if(j.a==gjc){obc(p[q].b,r,p[q].a);po(r,sbc(d.hb));r[$Sc]=l-k+1;--q}else if(j.a==bjc){c=r}else if(pjc(j.a)){n=p[m];obc(n.b,r,n.a++);po(r,sbc(d.hb));r[LTc]=q-m+1;++k}else if(qjc(j.a)){n=p[m];obc(n.b,r,n.a);po(r,sbc(d.hb));r[LTc]=q-m+1;--l}}if(a.a){n=p[m];obc(n.b,c,n.a);po(c,sbc(a.a.hb))}}\nvar KTc='cwDockPanel';FCb(447,1,xQc);_.Bc=function xVb(){var a,b,c;ZEb(this.a,(a=new rjc,a.hb.className='cw-DockPanel',a.e[TRc]=4,ojc(a,(Xkc(),Rkc)),jjc(a,new Qhc('This is the first north component'),(ijc(),fjc)),jjc(a,new Qhc('This is the first south component'),gjc),jjc(a,new Qhc('This is the east component'),cjc),jjc(a,new Qhc('This is the west component'),hjc),jjc(a,new Qhc('This is the second north component'),fjc),jjc(a,new Qhc('This is the second south component'),gjc),b=new Qhc(\"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 kfc(b),c.hb.style[KNc]='400px',c.hb.style[JNc]='100px',jjc(a,c,bjc),kjc(a),a))};FCb(903,282,RNc,rjc);_.gc=function sjc(a){var b;b=idc(this,a);if(b){a==this.a&&(this.a=null);ljc(this)}return b};var bjc,cjc,djc,ejc,fjc,gjc,hjc;var zwb=IBc(ONc,'DockPanel',903);FCb(179,1,{},tjc);var wwb=IBc(ONc,'DockPanel/DockLayoutConstant',179);FCb(180,1,{180:1},ujc);_.c='';_.f='';var xwb=IBc(ONc,'DockPanel/LayoutData',180);FCb(290,1,{290:1},vjc);_.a=0;var ywb=IBc(ONc,'DockPanel/TmpRow',290);$Mc(wl)(11);\n//# sourceURL=showcase-11.js\n")
