$wnd.showcase.runAsyncCallback11("function DDb(){}\nfunction FDb(){}\nfunction yDb(a,b){a.b=b}\nfunction zDb(a){if(a==oDb){return true}My();return a==rDb}\nfunction ADb(a){if(a==nDb){return true}My();return a==mDb}\nfunction EDb(a){this.b=(gFb(),bFb).a;this.e=(lFb(),kFb).a;this.a=a}\nfunction wDb(a,b){var c;c=AB(a.fb,152);c.b=b.a;!!c.d&&qyb(c.d,b)}\nfunction xDb(a,b){var c;c=AB(a.fb,152);c.e=b.a;!!c.d&&syb(c.d,b)}\nfunction BDb(){sDb();uyb.call(this);this.b=(gFb(),bFb);this.c=(lFb(),kFb);(gvb(),this.e)[N9b]=0;this.e[O9b]=0}\nfunction sDb(){sDb=RW;lDb=new DDb;oDb=new DDb;nDb=new DDb;mDb=new DDb;pDb=new DDb;qDb=new DDb;rDb=new DDb}\nfunction tDb(a,b,c){var d;if(c==lDb){if(b==a.a){return}else if(a.a){throw lW(new tWb('Only one CENTER widget may be added'))}}Rh(b);qPb(a.j,b);c==lDb&&(a.a=b);d=new EDb(c);b.fb=d;wDb(b,a.b);xDb(b,a.c);vDb(a);Th(b,a)}\nfunction uDb(a){var b,c,d,e,f,g,h;ZOb((gvb(),a.hb),'',lbc);g=new c2b;h=new APb(a.j);while(h.b<h.c.c){b=yPb(h);f=AB(b.fb,152).a;d=AB(kZb(u2b(g.d,f)),84);c=!d?1:d.a;e=f==pDb?'north'+c:f==qDb?'south'+c:f==rDb?'west'+c:f==mDb?'east'+c:f==oDb?'linestart'+c:f==nDb?'lineend'+c:m8b;ZOb(To(b.hb),lbc,e);wZb(g,f,GWb(c+1))}}\nfunction vDb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=(gvb(),a.d);while(Jwb(b)>0){xo(b,Iwb(b,0))}o=1;e=1;for(i=new APb(a.j);i.b<i.c.c;){d=yPb(i);f=AB(d.fb,152).a;f==pDb||f==qDb?++o:(f==mDb||f==rDb||f==oDb||f==nDb)&&++e}p=JA(HQ,K5b,263,o,0,1);for(g=0;g<o;++g){p[g]=new FDb;p[g].b=$doc.createElement(L9b);to(b,nvb(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new APb(a.j);h.b<h.c.c;){d=yPb(h);j=AB(d.fb,152);r=$doc.createElement(M9b);j.d=r;j.d[y9b]=j.b;j.d.style[z9b]=j.e;j.d[a6b]=j.f;j.d[_5b]=j.c;if(j.a==pDb){jvb(p[m].b,r,p[m].a);to(r,nvb(d.hb));r[Cac]=l-k+1;++m}else if(j.a==qDb){jvb(p[q].b,r,p[q].a);to(r,nvb(d.hb));r[Cac]=l-k+1;--q}else if(j.a==lDb){c=r}else if(zDb(j.a)){n=p[m];jvb(n.b,r,n.a++);to(r,nvb(d.hb));r[mbc]=q-m+1;++k}else if(ADb(j.a)){n=p[m];jvb(n.b,r,n.a);to(r,nvb(d.hb));r[mbc]=q-m+1;--l}}if(a.a){n=p[m];jvb(n.b,c,n.a);to(c,nvb(eh(a.a)))}}\nvar lbc='cwDockPanel';QW(416,1,l8b);_.Bc=function Edb(){var a,b,c;eZ(this.a,(a=new BDb,(gvb(),a.hb).className='cw-DockPanel',a.e[N9b]=4,yDb(a,(gFb(),aFb)),tDb(a,new $Bb('This is the first north component'),(sDb(),pDb)),tDb(a,new $Bb('This is the first south component'),qDb),tDb(a,new $Bb('This is the east component'),mDb),tDb(a,new $Bb('This is the west component'),rDb),tDb(a,new $Bb('This is the second north component'),pDb),tDb(a,new $Bb('This is the second south component'),qDb),b=new $Bb(\"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 tzb(b),c.hb.style[a6b]='400px',c.hb.style[_5b]='100px',tDb(a,c,lDb),uDb(a),a))};QW(872,255,f6b,BDb);_.gc=function CDb(a){var b;b=nxb(this,a);if(b){a==this.a&&(this.a=null);vDb(this)}return b};var lDb,mDb,nDb,oDb,pDb,qDb,rDb;var IQ=ZVb(d6b,'DockPanel',872);QW(151,1,{},DDb);var FQ=ZVb(d6b,'DockPanel/DockLayoutConstant',151);QW(152,1,{152:1},EDb);_.c='';_.f='';var GQ=ZVb(d6b,'DockPanel/LayoutData',152);QW(263,1,{263:1},FDb);_.a=0;var HQ=ZVb(d6b,'DockPanel/TmpRow',263);p5b(Al)(11);\n//# sourceURL=showcase-11.js\n")
