rz.prototype.z=function(a){B.Wa(a);var b=this.h(),d=b.getElementsByTagName("div");if(!d||0==d.length)d=b.getElementsByTagName("button");if("back_button"==a)return d[0];if("next_button"==a)return d[1];var e=a.indexOf("#");if(-1<e){b=a.substring(0,e);a=a.substring(e+1);var f;"back_button"==b?f=d[0].id:"next_button"==b&&(f=d[1].id);if(f)return d=F.c.j(f),f=d.k(),f.bind(d),f.z(a)}return n};z.a("AdfDhtmlTrainButtonBarPeer.prototype.GetSubIdDomElement",{z:rz.prototype.z});
rz.prototype.D=function(a){var b=this.h(),d=b.getElementsByTagName("div");if(!d||0==d.length)d=b.getElementsByTagName("button");if(a==d[0])return"back_button";if(a==d[1])return"next_button";var e,b=n;H.oc(d[0],a)?(e=d[0].id,b="back_button"):H.oc(d[1],a)&&(e=d[1].id,b="next_button");e&&(d=F.c.j(e),e=d.k(),e.bind(d),(a=e.D(a))&&(b=b+"#"+a));return b};z.a("AdfDhtmlTrainButtonBarPeer.prototype.GetBestMatchSubId",{D:rz.prototype.D});