im.X={scroll_up_button:"ScrollUp",scroll_down_button:"ScrollDown",popup:"menu",close_button:"close",detach_handle:"handle",popup_scroll_box:"ScrollBox"};im.prototype.z=function(a){var b=this.d(),d=vh.re(a,im.X,b);if(d)return d;d=this.h();return OA.j0(b,d,a)};z.a("AdfDhtmlMenuPeer.prototype.GetSubIdDomElement",{z:im.prototype.z});
im.prototype.D=function(a){var b=this.d(),d=this.h(),b=OA.i0(b,d,a);if(b!=n)return b;b=vh.Sc(a,this,im.X);if(b!=n)return b;if(a&&a.id&&(d=a.id.lastIndexOf("::"),0<d&&a.id.substr(0,d)==this.d().e())){b=im.X;a=a.id.substr(d+2);for(var e in b)if(b[e]==a)return e}return n};z.a("AdfDhtmlMenuPeer.prototype.GetBestMatchSubId",{D:im.prototype.D});