Bg.prototype.z=function(a){var b=this.d(),d=Bg.f.z.call(this,a);if(d)return d;if("title_icon"==a)return a=b.e(),a=M.g(a,"_ticn"),a=w.b.getElementById(a),H.Ua(a,"img");a=this.S_().CL[a];return this.jZ(a)};z.a("AdfDhtmlDialogPeer.prototype.GetSubIdDomElement",{z:Bg.prototype.z});Bg.prototype.jZ=function(a){var b=this.d(),d=b.e();return Bg.pn(d)?(a=F.c.j(d+"_"+a),a!=n?(b=a.k(),b.bind(a),b.h()):n):vh.Xh(b,a)};
Bg.prototype.D=function(a){var b=Bg.f.D.call(this,a);if(!b){var d=this.d().e(),d=M.g(d,"_ticn"),d=w.b.getElementById(d);if(H.sb(d,a))b="title_icon";else for(buttonId in Bg.CL)if((d=this.jZ(Bg.CL[buttonId]))&&H.sb(d,a)){b=buttonId;break}}return b};z.a("AdfDhtmlDialogPeer.prototype.GetBestMatchSubId",{D:Bg.prototype.D});Bg.CL={ok_button:"ok",yes_button:"yes",no_button:"no",cancel_button:"cancel"};