cv.X={dropdown:"drop"};cv.prototype.z=function(a){var b=this.d();return vh.Ru(a,cv.X,b,this,cv)};z.a("AdfDhtmlSelectOneChoicePeer.prototype.GetSubIdDomElement",{z:cv.prototype.z});
cv.prototype.D=function(a){var b=vh.up(a,this,cv.X,cv);b||(b=vh.Sc(a,this,cv.X));if(!b&&("OPTION"==a.tagName||"LI"==a.tagName)){var d=this.Zr(),e,f=0;this.Jh(this.d())?(d=d.getElementsByTagName("LI"),-1!=d[0].id.indexOf("sp")&&f++,e=d[f].getAttribute("_adfiv")):(d=d.getElementsByTagName("OPTION"),e=d[0].getAttribute("value"));""==e&&f++;for(e=0;e<d.length;e++)if(!(-1!=d[e].id.indexOf("sp")||""==d[e].getAttribute("_adfiv")||""==d[e].getAttribute("value"))&&d[e]==a){b="item["+(e-f)+"]";break}}return b};
z.a("AdfDhtmlSelectOneChoicePeer.prototype.GetBestMatchSubId",{D:cv.prototype.D});