$wnd.showcase.runAsyncCallback7("function zoc(){Aoc.call(this,false)}\nfunction Woc(a,b){Yoc.call(this,a,false);this.b=b}\nfunction Xoc(a,b){Yoc.call(this,a,false);Voc(this,b)}\nfunction Zoc(a){Yoc.call(this,'GWT',true);Voc(this,a)}\nfunction sTb(a){this.c=a;this.b=fHb(this.c.a)}\nfunction coc(a,b){return koc(a,b,a.a.b.length)}\nfunction Voc(a,b){a.e=b;!!a.d&&yoc(a.d,a);(Nlc(),acc(),b.hb).tabIndex=-1;Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,Mfb(Kfb(TAb,1),UOc,112,0,[(bDc(),bDc(),aDc)]))}\nfunction koc(a,b,c){if(c<0||c>a.a.b.length){throw new WCc}a.o&&zp((acc(),b.hb),KUc,2);boc(a,c,(acc(),b.hb));XIc(a.a,c,b);return b}\nfunction bHb(a){var b,c;b=Tfb(a.a.Vh(cVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['New','Open','Close',dVc,'Exit']);a.a.Wh(cVc,c);return c}else{return b}}\nfunction aHb(a){var b,c;b=Tfb(a.a.Vh(bVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.Wh(bVc,c);return c}else{return b}}\nfunction eHb(a){var b,c;b=Tfb(a.a.Vh(gVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['Contents','Fortune Cookie','About GWT']);a.a.Wh(gVc,c);return c}else{return b}}\nfunction dHb(a){var b,c;b=Tfb(a.a.Vh(fVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['Download','Examples',RRc,\"GWT wit' the program\"]);a.a.Wh(fVc,c);return c}else{return b}}\nfunction cHb(a){var b,c;b=Tfb(a.a.Vh(eVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.Wh(eVc,c);return c}else{return b}}\nfunction _oc(){var a;lh(this,(acc(),$doc.createElement(GTc)));wp(this.hb,'gwt-MenuItemSeparator');a=$doc.createElement(pPc);_o(this.hb,hcc(a));wp(a,'menuSeparatorInner')}\nfunction fHb(a){var b,c;b=Tfb(a.a.Vh(hVc),5);if(b==null){c=Mfb(Kfb(jBb,1),YQc,2,4,['Thank you for selecting a menu item','A fine selection indeed',\"Don't you have anything better to do than select menu items?\",'Try something else','this is just a menu!','Another wasted click']);a.a.Wh(hVc,c);return c}else{return b}}\nfunction pTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new sTb(a);o=new zoc;o.b=true;(acc(),o.hb).style[jPc]='500px';o.e=true;r=new Aoc(true);q=cHb(a.a);for(k=0;k<q.length;k++){aoc(r,new Woc(q[k],p))}d=new Aoc(true);d.e=true;aoc(o,new Xoc('File',d));e=bHb(a.a);for(l=0;l<e.length;l++){if(l==3){coc(d,new _oc);aoc(d,new Xoc(e[3],r));coc(d,new _oc)}else{aoc(d,new Woc(e[l],p))}}b=new Aoc(true);aoc(o,new Xoc('Edit',b));c=aHb(a.a);for(m=0;m<c.length;m++){aoc(b,new Woc(c[m],p))}f=new Aoc(true);aoc(o,new Zoc(f));g=dHb(a.a);for(n=0;n<g.length;n++){aoc(f,new Woc(g[n],p))}h=new Aoc(true);coc(o,new _oc);aoc(o,new Xoc('Help',h));i=eHb(a.a);for(j=0;j<i.length;j++){aoc(h,new Woc(i[j],p))}xwc(o.hb,'','cwMenuBar');xoc(o,'cwMenuBar');return o}\nvar bVc='cwMenuBarEditOptions',cVc='cwMenuBarFileOptions',eVc='cwMenuBarFileRecents',fVc='cwMenuBarGWTOptions',gVc='cwMenuBarHelpOptions',hVc='cwMenuBarPrompts';JCb(422,1,{},sTb);_.zc=function tTb(){$cc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var csb=zDc($Rc,'CwMenuBar/1',422);JCb(423,1,XRc);_.xc=function wTb(){YFb(this.b,pTb(this.a))};JCb(146,6,nPc,zoc);JCb(85,7,iVc,Woc,Xoc,Zoc);JCb(194,7,{9:1,194:1,7:1},_oc);var Qxb=zDc(mPc,'MenuItemSeparator',194);zOc(Kl)(7);\n//# sourceURL=showcase-7.js\n")
