X.X={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.z=function(a){B.Wa(a);var b=X.X[a],d=this.d();if(b)return vh.Xh(d,b,l);if("all_activities_in_view"==a){if(d.r(X.Bo)==X.Cw){a=w.fa().getElementById(d.e());a=a.getElementsByTagName("a");var b=[],e=d=0}else a=w.fa().getElementById(d.e()),a=a.getElementsByTagName("div"),b=[],e=d=0;for(;e<a.length;e++)"true"==a[e].getAttribute(X.mk)&&"none"!=a[e].style.display&&(b[d++]=a[e]);return b}if("all_more_links_in_view"==a){a=w.fa().getElementById(d.e());a=a.getElementsByTagName("div");b=[];for(e=d=
0;e<a.length;e++)if(a[e].getAttribute(X.nk)){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=w.fa().getElementById(d.e());a=a.getElementsByTagName("a");b=[];for(e=d=0;e<a.length;e++)a[e].getAttribute(X.nk)&&(b[d++]=a[e]);return b}return n};z.a("AdfDhtmlCalendarPeer.prototype.GetSubIdDomElement",{z:X.prototype.z});
X.prototype.D=function(a){var b=vh.Sc(a,this,X.X);if(b!=n)return b;var b="true"==a.getAttribute(X.mk),d=a.getAttribute(X.nk)!=n,e=w.b.Ga(a);!d&&"A"==e&&(d=a.parentNode.getAttribute(X.nk)!=n);if("none"==a.style.display||!b&&!d)return n;if(b)return"all_activities_in_view";if(d){b=this.d().r(X.Bo);if(a.getAttribute(X.nk)!=n)return"all_date_links";if(a.parentNode.getAttribute(X.nk)!=n&&b==X.zt)return"all_more_links_in_view"}return n};z.a("AdfDhtmlCalendarPeer.prototype.GetBestMatchSubId",{D:X.prototype.D});