X.ha={day_view_button:"_adfCalDV",week_view_button:"_adfCalWV",month_view_button:"_adfCalMV",list_view_button:"_adfCalLV",previous_button:"_adfCalPD",next_button:"_adfCalND",today_button:"_adfCalTD"};
X.prototype.L=function(a){u.Ya(a);var b=X.ha[a],d=this.f();if(b)return Kh.nf(d,b,!0);if("all_activities_in_view"==a){if(d.K(X.fr)==X.Jt){a=q.oa().getElementById(d.g());a=a.getElementsByTagName("a");var b=[],e=d=0}else a=q.oa().getElementById(d.g()),a=a.getElementsByTagName("div"),b=[],e=d=0;for(;e<a.length;e++)"true"==a[e].getAttribute(X.Ek)&&"none"!=a[e].style.display&&(b[d++]=a[e]);return b}if("all_more_links_in_view"==a){a=q.oa().getElementById(d.g());a=a.getElementsByTagName("div");b=[];for(e=
d=0;e<a.length;e++)if(a[e].getAttribute(X.Ml)){var f=a[e].getElementsByTagName("a");1==f.length&&"none"!=f[0].style.display&&(b[d++]=f[0])}return b}if("all_date_links"==a){a=q.oa().getElementById(d.g());a=a.getElementsByTagName("a");b=[];for(e=d=0;e<a.length;e++)a[e].getAttribute(X.Ml)&&(b[d++]=a[e]);return b}return null};r.a("AdfDhtmlCalendarPeer.prototype.GetSubIdDomElement",{L:X.prototype.L});
X.prototype.N=function(a){var b=Kh.vc(a,this,X.ha);if(null!=b)return b;var b="true"==a.getAttribute(X.Ek),d=null!=a.getAttribute(X.Ml),e=q.b.Na(a);d||"A"!=e||(d=null!=a.parentNode.getAttribute(X.Ml));if("none"==a.style.display||!b&&!d)return null;if(b)return"all_activities_in_view";if(d){b=this.f().K(X.fr);if(null!=a.getAttribute(X.Ml))return"all_date_links";if(null!=a.parentNode.getAttribute(X.Ml)&&b==X.Sw)return"all_more_links_in_view"}return null};
r.a("AdfDhtmlCalendarPeer.prototype.GetBestMatchSubId",{N:X.prototype.N});