if (typeof(window.RadControlsNamespace)=="undef\x69\x6e\145\x64"){window.RadControlsNamespace=new Object(); } ; RadControlsNamespace.AppendStyleSheet= function (O,o,I){if (!I){return; }if (!O){document.write("<"+"link"+" re\x6c\x3d\047\x73ty\x6c\x65she\x65t\047\x20type=\x27\x74ext\x2fcss\x27 href\x3d\047"+I+"\047\x20/>"); }else {var A=document.createElement("L\x49NK"); A.rel="stylesh\x65\x65t"; A.type="text/css"; A.href=I; document.getElementById(o+"\x53\164yle\x53\x68eetH\x6f\x6cde\x72").appendChild(A); }} ; function RadComboItem(){ this.ComboBox=null; this.ClientID=null; this.Highlighted= false; this.Index=0; this.Enabled=1; this.Selected=0; this.Text=""; this.Value=null; this.U=new Array(); } ; RadComboItem.prototype.Initialize= function (Z){for (var z in Z){ this[z]=Z[z]; }} ; RadComboItem.prototype.W= function (){if (this.ComboBox.Items.length>0){var totalHeight=0; for (var i=0; i<=this.Index; i++){var w=document.getElementById(this.ComboBox.Items[i].ClientID); if (w){totalHeight+=w.offsetHeight; }}document.getElementById(this.ComboBox.ClientID+"\x5fDropDo\x77\x6e").scrollTop=totalHeight-document.getElementById(this.ComboBox.ClientID+"\x5fDropD\x6f\x77n").offsetHeight; }} ; RadComboItem.prototype.V= function (){if (this.ComboBox.Items.length>0){var totalHeight=0; for (var i=0; i<this.Index; i++){var w=document.getElementById(this.ComboBox.Items[i].ClientID); if (w){totalHeight+=w.offsetHeight; }}var scrollTop=document.getElementById(this.ComboBox.ClientID+"\x5fDr\x6f\x70Down").scrollTop; if (scrollTop>totalHeight){document.getElementById(this.ComboBox.ClientID+"\x5fDropDown").scrollTop=totalHeight; }}} ; RadComboItem.prototype.Highlight= function (){if (!this.Highlighted && this.Enabled){ this.ComboBox.UnHighlightAll(); if (!this.ComboBox.IsTemplated || this.ComboBox.HighlightTemplatedItems){if (document.getElementById(this.ClientID)){document.getElementById(this.ClientID).className=this.ComboBox.ItemCssClassHover; }} this.Highlighted= true; this.ComboBox.HighlightedItem=this ; }} ; RadComboItem.prototype.UnHighlight= function (){if (this.Highlighted && this.Enabled && document.getElementById(this.ClientID)){document.getElementById(this.ClientID).className=this.ComboBox.ItemCssClass; this.Highlighted= false; this.ComboBox.HighlightedItem=null; }} ; RadComboItem.prototype.Select= function (){ this.ComboBox.SelectedItem=this ; this.ComboBox.v(this ); this.ComboBox.HideDropDown(); this.ComboBox.T= true; this.ComboBox.t(); } ; function RadComboBox(S,R){var r=window[R]; if (r!=null && !r.tagName){r.Q(); }if (window.tlrkComboBoxes==null){window.tlrkComboBoxes=new Array(); }tlrkComboBoxes[tlrkComboBoxes.length]=this ; this.Items=new Array(); this.P= false; this.ID=S; this.ClientID=R; this.N=R; this.DropDownID=R+"_Dr\x6f\x70\x44ow\x6e"; this.InputID=R+"\x5fInput"; this.ImageID=R+"\x5fImage"; this.DropDownPlaceholderID=R+"\x5fDropD\x6f\x77nPlac\x65\x68ol\x64\145\x72"; this.MoreResultsBoxID=R+"_MoreResu\x6c\x74sBox"; this.MoreResultsBoxImageID=R+"\x5fMoreResul\x74\x73BoxI\x6d\x61ge"; this.MoreResultsBoxMessageID=R+"\x5fMoreRe\x73\x75ltsBo\x78\x4des\x73\x61ge"; this.n=R+"_Header"; this.M=document.getElementById(this.InputID); this.m=document.getElementById(this.ImageID); this.L=document.getElementById(this.DropDownPlaceholderID); this.l=document.getElementById(this.ClientID+"\x5ftext"); this.K=document.getElementById(this.ClientID+"\x5fvalue"); this.k=document.getElementById(this.ClientID+"\x5findex"); this.Enabled= true; this.DropDownVisible= false; this.LoadOnDemandUrl=null; this.PollTimeOut=0; this.HighlightedItem=null; this.SelectedItem=null; this.ItemRequestTimeout=300; this.EnableLoadOnDemand= false; this.AutoPostBack= false; this.ShowMoreResultsBox= false; this.OpenDropDownOnLoad= false; this.J= false; this.MarkFirstMatch= false; this.IsCaseSensitive= false; this.PostBackReference=null; this.LoadingMessage="Loading..\x2e"; this.ScrollDownImage=null; this.ScrollDownImageDisabled=null; this.H=null; this.RadComboBoxImagePosition="\x52ight"; this.ItemCssClass=null; this.ItemCssClassHover=null; this.ItemCssClassDisabled=null; this.ImageCssClass=null; this.ImageCssClassHover=null; this.InputCssClass=null; this.InputCssClassHover=null; this.LoadingMessageCssClass="ComboBoxL\x6f\x61din\x67\x4dessa\x67\145"; this.AutoCompleteSeparator=null; this.ExternalCallBackPage=null; this.OnClientSelectedIndexChanging=null; this.OnClientDropDownOpening=null; this.OnClientDropDownClosing=null; this.OnClientItemsRequesting=null; this.OnClientSelectedIndexChanged=null; this.OnClientItemsRequested=null; this.OnClientKeyPressing=null; this.Skin="\103la\x73\x73ic"; this.HideTimeoutID=0; this.h=0; this.G= false; this.g=null; this.AllowCustomText= false; this.ExpandEffectString=null; this.HighlightTemplatedItems= false; this.CausesValidation= false; this.ClientDataString=null; this.T= false; this.F=-1; this.IsTemplated= false; this.f=null; var comboInstance=this ; this.D= function (){comboInstance.HideOnClick(); } ; if (document.attachEvent){document.attachEvent("\x6fnclick",this.D); }else {document.addEventListener("click",this.D, false); } this.d= function (e){comboInstance.C(e || event); } ; if (document.attachEvent){document.getElementById(this.InputID).attachEvent("onblur",this.d); }else {document.getElementById(this.InputID).addEventListener("\x62\x6cur",this.d, false); } this.B= function (){comboInstance.o0(); } ; if (document.attachEvent){document.getElementById(this.InputID).attachEvent("\157nf\x6f\x63us",this.B); }else {document.getElementById(this.InputID).addEventListener("\x66ocus",this.B, false); }document.getElementById(this.InputID).setAttribute("\x61utocomplete","off"); document.getElementById(this.DropDownPlaceholderID).onselectstart= function (){return false; } ; if (typeof(RadCallbackNamespace)!="un\x64\145fin\x65\x64"){window.setTimeout( function (){comboInstance.O0(document.getElementById(comboInstance.InputID));} ,100); }else {var l0= false; if (window.addEventListener){window.addEventListener("load", function (){comboInstance.O0(document.getElementById(comboInstance.InputID)); } , false); l0= true; }else {if (!l0){ this.O0(document.getElementById(this.InputID)); }}}if (window.attachEvent){window.attachEvent("onunl\x6f\x61d", function (){comboInstance.Q(); } ); }else {window.addEventListener("\x75nload", function (){comboInstance.Q(); } , false); }} ; RadComboBox.prototype.Q= function (){try {tlrkComboBoxes[this.ID]=null; this.Items=null; this.M=null; this.m=null; this.L=null; this.l=null; this.K=null; this.k=null; this.H=null; this.OnClientSelectedIndexChanging=null; this.OnClientDropDownOpening=null; this.OnClientDropDownClosing=null; this.OnClientItemsRequesting=null; this.OnClientSelectedIndexChanged=null; this.OnClientItemsRequested=null; this.OnClientKeyPressing=null; var comboInstance=this ; if (document.detachEvent){document.detachEvent("onclick",this.D); }else {document.removeEventListener("\x63\x6cick",this.D, false); }if (document.detachEvent){document.getElementById(this.InputID).detachEvent("\157\x6e\x62lur",this.d); }else {document.getElementById(this.InputID).removeEventListener("\x62\x6cur",this.d, false); }if (document.detachEvent){document.getElementById(this.InputID).detachEvent("\x6fnfocus",this.B); }else {document.getElementById(this.InputID).removeEventListener("fo\x63\x75s",this.B, false); }if (window.removeEventListener){window.removeEventListener("l\x6f\x61d", function (){comboInstance.O0(document.getElementById(comboInstance.InputID)); } , false); }var input=document.getElementById(this.InputID); if (input!=null)input.onblur=null; input=null; var i0=document.getElementById(this.DropDownPlaceholderID); if (i0!=null){i0.onselectstart=null; }i0=null; }catch (e){}} ; RadComboBox.prototype.Initialize= function (I0,Z){ this.o1(I0); this.O1(Z); this.l1(); this.i1(); } ; RadComboBox.prototype.o1= function (I0){for (var z in I0){ this[z]=I0[z]; }} ; RadComboBox.prototype.l1= function (){ this.ItemCssClass="C\x6fmboBoxItem_"+this.Skin; this.ItemCssClassHover="ComboB\x6f\x78ItemH\x6f\x76er_"+this.Skin; this.ItemCssClassDisabled="\x43\x6fmboBox\x49\x74emDi\x73\x61bl\x65\144_"+this.Skin; this.ImageCssClass="C\x6f\x6dboBoxI\x6d\x61ge_"+this.Skin; this.ImageCssClassHover="ComboBoxIm\x61\x67eHov\x65\x72_"+this.Skin; this.InputCssClass="\x43omboBoxIn\x70\x75t_"+this.Skin; this.InputCssClassHover="\x43omboBox\x49\x6eputH\x6f\x76er_"+this.Skin; this.LoadingMessageCssClass="ComboBoxLo\x61\x64ingM\x65\x73sag\x65\x5f"+this.Skin; } ; RadComboBox.prototype.v= function (item){if (item!=null){ this.I1(item.Text); this.SetValue(item.Value); this.o2(item.Index); }else { this.SetText(""); this.SetValue(""); this.o2("\x2d1"); }} ; RadComboBox.prototype.t= function (){if (this.AutoPostBack){if (this.CausesValidation){if (typeof(WebForm_DoPostBackWithOptions)!="func\x74\x69on" && !(typeof(Page_ClientValidate)!="\x66\x75nctio\x6e" || Page_ClientValidate())){return; }}eval(this.PostBackReference); }} ; RadComboBox.prototype.C= function (e){var O2=this.SelectedItem; var l2=this.HighlightedItem; if (O2!=null && l2!=null && O2!=l2){ this.v(l2); this.i2(); }var I2=this.f; var o3=this.GetText(); if (I2!=o3 && this.AllowCustomText){ this.SetText(this.GetText()); if (!this.T){ this.t(); }else { this.T= false; }}} ; RadComboBox.prototype.o0= function (e){ this.f=this.GetText(); this.O3(); };RadComboBox.prototype.l3= function (){var i3=document.getElementById(this.N); while (i3.tagName!="\x46OR\x4d"){i3=i3.parentNode; }return i3; } ; RadComboBox.prototype.I3= function (){var i0=document.getElementById(this.DropDownPlaceholderID); var o4=i0.getElementsByTagName("\x69nput"); return o4.length>0; };RadComboBox.prototype.O4= function (){if ((!document.readyState || document.readyState=="\x63omple\x74\x65") && (!this.G)){var parentElement=document.body; if (this.I3()){parentElement=this.l3(); }var i0=document.getElementById(this.N).getElementsByTagName("DIV")[0]; i0.parentNode.removeChild(i0); i0.style.marginLeft="0"; var l4=document.getElementById(this.DropDownPlaceholderID); if (l4){l4.parentNode.removeChild(l4); }if (parentElement.firstChild){parentElement.insertBefore(i0,parentElement.firstChild); }else {parentElement.appendChild(i0); } this.G= true; this.L=document.getElementById(this.DropDownPlaceholderID); }} ; RadComboBox.prototype.HideOnClick= function (){var comboInstance=this ; this.HideTimeoutID=window.setTimeout( function (){comboInstance.DoHideOnClick(); } ,5); } ; RadComboBox.prototype.DoHideOnClick= function (){if (this.HideTimeoutID){ this.HideDropDown(); }} ; RadComboBox.prototype.ClearHideTimeout= function (){ this.HideTimeoutID=0; } ; RadComboBox.prototype.i4= function (text){var lastIndex=-1; for (var i=0; i<this.AutoCompleteSeparator.length; i++){var I4=this.AutoCompleteSeparator.charAt(i); var o5=text.lastIndexOf(I4); if (o5>lastIndex){lastIndex=o5; }}return lastIndex; } ; RadComboBox.prototype.I1= function (O5){var l5=-1; var i5=this.GetText(); if (this.AutoCompleteSeparator!=null){l5=this.i4(i5); }var o3=i5.substring(0,l5+1)+O5; this.SetText(o3); } ; RadComboBox.prototype.ClearSelection= function (){ this.v(null); this.SelectedItem=null; this.I5=null; } ; RadComboBox.prototype.O1= function (Z){for (var i=0; i<Z.length; i++){var item=new RadComboItem(); item.ComboBox=this ; item.Index=this.Items.length; item.Initialize(Z[i]); this.Items[this.Items.length]=item; }} ; RadComboBox.prototype.i1= function (){if (this.SelectedItem!=null){ this.SelectedItem.Highlight(); }else {var i5=this.GetText(); var o6=this.FindItemByText(i5); if (o6!=null){ this.SelectedItem=o6; this.SelectedItem.Highlight(); }} this.P= true; if (this.SelectedItem==null && this.F==-1 && this.Items.length>0){ this.SelectedItem=this.Items[0]; this.Items[0].Selected= true; this.SelectedItem.Highlight(); }var comboInstance=this ; if (this.OpenDropDownOnLoad){if (window.attachEvent){window.attachEvent("\157nload", function (){comboInstance.ShowDropDown(); } ); }else {window.addEventListener("\x6coad", function (){comboInstance.ShowDropDown(); } , false); }}} ; RadComboBox.prototype.O6= function (Z,l6){if (!l6){ this.Items.length=0; } this.HighlightedItem=null; this.SelectedItem=null; this.P= false; if (this.Items.length>0){if (this.Items[0].Text==document.getElementById(this.InputID).value){ this.SetValue(this.Items[0].Value); }else { this.SetValue(""); } this.g=this.GetText(); } this.O1(Z); } ; RadComboBox.prototype.SetText= function (O5){document.getElementById(this.InputID).value=O5; this.l.value=O5; } ; RadComboBox.prototype.GetText= function (){return document.getElementById(this.InputID).value; } ; RadComboBox.prototype.SetValue= function (value){if (value || value==""){ this.K.value=value; }} ; RadComboBox.prototype.GetValue= function (){return this.K.value; } ; RadComboBox.prototype.o2= function (index){ this.k.value=index; } ; RadComboBox.prototype.i6= function (el){var parent=null; var I6=[]; var box; if (el.getBoundingClientRect){box=el.getBoundingClientRect(); var scrollTop=document.documentElement.scrollTop || document.body.scrollTop; var scrollLeft=document.documentElement.scrollLeft || document.body.scrollLeft; var x=box.left+scrollLeft-2; var y=box.top+scrollTop-2; return [x,y]; }else if (document.getBoxObjectFor){box=document.getBoxObjectFor(el); I6=[box.x-2,box.y-2]; }else {I6=[el.offsetLeft,el.offsetTop]; parent=el.offsetParent; if (parent!=el){while (parent){I6[0]+=parent.offsetLeft; I6[1]+=parent.offsetTop; parent=parent.offsetParent; }}}if (window.opera){parent=el.offsetParent; while (parent && parent.tagName!="\102\x4fDY" && parent.tagName!="HTM\x4c"){I6[0]-=parent.scrollLeft; I6[1]-=parent.scrollTop; parent=parent.offsetParent; }}else {parent=el.parentNode; while (parent && parent.tagName!="\x42ODY" && parent.tagName!="HTML"){I6[0]-=parent.scrollLeft; I6[1]-=parent.scrollTop; parent=parent.parentNode; }}return I6; } ; RadComboBox.prototype.o7= function (x,y){if (document.readyState && document.readyState!="complete"){return; }var O7=(navigator.userAgent.toLowerCase().indexOf("\x73afari")!=-1); var l7=window.opera; if (O7 || l7 || (!document.all)){return; }if (this.H==null){ this.H=document.createElement("IFRAME"); this.H.src="\x6aava\x73\x63ript\x3a\x27\047"; this.H.id=this.ClientID+"_Overl\x61\x79"; this.H.frameBorder=0; this.H.style.position="\x61bsolute"; this.H.style.visibility="\x68\x69dden"; this.L.parentNode.insertBefore(this.H,this.L); this.H.style.zIndex=this.L.style.zIndex-1; } this.H.style.left=x; this.H.style.top=y; var i7=this.L.offsetWidth; var I7=this.L.offsetHeight; this.H.style.width=i7+"\x70x"; this.H.style.height=I7+"\x70x"; this.H.style.visibility="\x76\x69sible"; } ; RadComboBox.prototype.o8= function (){var O7=(navigator.userAgent.toLowerCase().indexOf("sa\x66ari")!=-1); var l7=window.opera; if (O7 || l7 || (!document.all)){return; }if (this.H!=null){ this.H.style.visibility="\x68idden"; }} ; RadComboBox.prototype.O8= function (){for (var i=0; i<tlrkComboBoxes.length; i++){if (tlrkComboBoxes[i].ClientID!=this.ClientID){tlrkComboBoxes[i].HideDropDown(); }}} ; RadComboBox.prototype.ShowDropDown= function (){if (this.l8(this.OnClientDropDownOpening,this )== false){return; } this.O8(); this.O4(); var i8; (this.RadComboBoxImagePosition=="Right")?i8=this.M:i8=document.getElementById(this.ImageID); var position=this.i6(i8); var x=position[0]; var y=position[1]+i8.offsetHeight; var I8=document.getElementById(this.N); o9=I8.offsetWidth; if (this.ExpandEffectString!=null && document.all){ this.L.style.filter=this.ExpandEffectString; this.L.filters[0].Apply(); this.L.filters[0].Play(); } this.L.style.position="absolute"; this.L.style.left=x+"px"; this.L.style.top=y+"px"; this.L.style.width=o9-2+"\x70x"; this.L.style.display="bl\x6f\x63k"; this.o7(x+"\160\x78",y+"px"); if (this.HighlightedItem!=null){ this.HighlightedItem.W(); }if (this.SelectedItem!=null){ this.SelectedItem.W(); } this.ClearHideTimeout(); this.DropDownVisible= true; try {document.getElementById(this.InputID).focus(); }catch (e){} ; if ((this.EnableLoadOnDemand) && (this.Items.length==0)){ this.O9( true ,null); }if (this.SelectedItem!=null){ this.SelectedItem.Highlighted= false; this.SelectedItem.Highlight(); this.SelectedItem.V(); }} ; RadComboBox.prototype.FindItemByText= function (O5){for (var i=0; i<this.Items.length; i++){if (this.Items[i].Text==O5){return this.Items[i]; }}return null; } ; RadComboBox.prototype.FindItemByValue= function (l9){for (var i=0; i<this.Items.length; i++){if (this.Items[i].Value==l9){return this.Items[i]; }}return null; } ; RadComboBox.prototype.HideDropDown= function (){if (this.DropDownVisible){if (this.l8(this.OnClientDropDownClosing,this )== false){return; }document.getElementById(this.DropDownPlaceholderID).style.display="n\x6fne"; this.o8(); this.DropDownVisible= false; this.i9(); }} ; RadComboBox.prototype.i9= function (){ this.l8(this.OnClientBlur,this );};RadComboBox.prototype.O3= function (){ this.l8(this.OnClientFocus,this );};function I9(oa){document.body.appendChild(document.createTextNode(oa)); document.body.appendChild(document.createElement("HR")); }RadComboBox.prototype.ToggleDropDown= function (){ (this.DropDownVisible)?this.HideDropDown(): this.ShowDropDown(); } ; RadComboBox.prototype.Oa= function (la){if (la){while (la!=null){if (la.id && this.ia(la.id)){return la; }la=la.parentNode; }}return null; } ; RadComboBox.prototype.ia= function (Ia){for (var i=0; i<this.Items.length; i++){if (this.Items[i].ClientID==Ia){return true; }}return false; } ; RadComboBox.prototype.ob= function (item){for (var i=0; i<this.Items.length; i++){if (this.Items[i].ClientID==item.id){return this.Items[i]; }}return null; } ; RadComboBox.prototype.Ob= function (lb){lb.Highlight(); } ; RadComboBox.prototype.ib= function (lb){lb.UnHighlight(); } ; RadComboBox.prototype.i2= function (eventArgs){var Ib=this.HighlightedItem; if (Ib!=null){if (this.l8(this.OnClientSelectedIndexChanging,Ib,eventArgs)== false){return; }Ib.Select(); this.l8(this.OnClientSelectedIndexChanged,Ib,eventArgs); } this.HideDropDown(); } ; RadComboBox.prototype.HandleClick= function (eventArgs){ this.i2(eventArgs); } ; RadComboBox.prototype.oc= function (index){var i=index; var Oc= false; while (i<this.Items.length-1){i=i+1; if (this.Items[i].Enabled){Oc= true; break; }}if (Oc)return i; return index; } ; RadComboBox.prototype.lc= function (index){var i=index; var Oc= false; while (i>0){i=i-1; if (this.Items[i].Enabled){Oc= true; break; }}if (Oc)return i; return index; } ; RadComboBox.prototype.ic= function (comboInstance,eventArgs){ this.l8(this.OnClientKeyPressing,this,eventArgs); if (eventArgs.keyCode==46){if (!this.EnableLoadOnDemand && !this.AllowCustomText){ this.Ic(eventArgs); }}if (eventArgs.keyCode==40){if (eventArgs.altKey && (!this.DropDownVisible)){ this.ShowDropDown(); return; }var index=0; if (this.HighlightedItem!=null){index=this.oc(this.HighlightedItem.Index); }if (index>=0 && this.Items.length>0){if (this.l8(this.OnClientSelectedIndexChanging,this.Items[index],eventArgs)== false){return; } this.Items[index].Highlight(); this.Items[index].W(); this.v(this.Items[index]); this.Ic(eventArgs); }return; }if (eventArgs.keyCode==27 && this.DropDownVisible){ this.HideDropDown(); return; }if (eventArgs.keyCode==38){if (eventArgs.altKey && this.DropDownVisible){ this.HideDropDown(); return; }var index=-1; if (this.HighlightedItem!=null){index=this.lc(this.HighlightedItem.Index); }if (index>=0){if (this.l8(this.OnClientSelectedIndexChanging,this.Items[index],eventArgs)== false){return; } this.Items[index].V(); this.Items[index].Highlight(); this.v(this.Items[index]); this.Ic(eventArgs); }return; }if ((eventArgs.keyCode==13 || eventArgs.keyCode==9) && this.DropDownVisible){if (eventArgs.keyCode==13){ this.Ic(eventArgs); } this.i2(); return; }if (eventArgs.keyCode==9 && !this.DropDownVisible){ this.i9(); return; }if (eventArgs.keyCode==35 || eventArgs.keyCode==36 || eventArgs.keyCode==37 || eventArgs.keyCode==39){return; }if (this.EnableLoadOnDemand && (!eventArgs.altKey) && (!eventArgs.ctrlKey) && (!(eventArgs.keyCode==16))){if (!this.DropDownVisible){ this.ShowDropDown(); } this.od( false ,eventArgs.keyCode); return; }var Od=eventArgs.keyCode; if ((Od<32) || (Od>=33 && Od<=46) || (Od>=112 && Od<=123) || (eventArgs.altKey== true)){return; }var ld=this ; window.setTimeout( function (){ld.oe(); } ,20); } ; RadComboBox.prototype.Oe= function (eventArgs){if (eventArgs.preventDefault){if (eventArgs.keyCode==13 || (eventArgs.keyCode==32 && (!this.EnableLoadOnDemand))){eventArgs.preventDefault(); }}} ; RadComboBox.prototype.le= function (s){if (typeof(encodeURIComponent)!="\165ndefined"){return encodeURIComponent(this.ie(s)); }if (escape){return escape(this.ie(s)); }} ; RadComboBox.prototype.ie= function (text){if (typeof(text)!="number"){return text.replace(/\x27/g,"\x26squote"); }} ; RadComboBox.prototype.Ie= function (of,text,keyCode){if (!this.J){ this.J= true; var Of=(text)?text:document.getElementById(this.InputID).value; var If=this.GetValue(); Of=Of.replace(/\x27/g,"\x26squote"); var url=this.LoadOnDemandUrl+"\x26\x74\x65xt="+this.le(Of); url=url+"&com\x62\x6fValue\x3d"+this.le(If); url=(of)?url+"&itemCount\x3d"+this.Items.length:url; url=url+"\x26\x73kin="+this.le(this.Skin); if (this.ExternalCallBackPage!=null){url=url+"&\x65\x78ternal=\x74\x72ue"; }if (this.ClientDataString!=null){url+="\x26client\x44\x61taSt\x72\x69ng\x3d"+this.le(this.ClientDataString); }url=url+"&tim\x65\x53tamp="+encodeURIComponent((new Date()).getTime()); var xmlRequest=null; if (typeof(XMLHttpRequest)!="unde\x66\x69ned"){xmlRequest=new XMLHttpRequest(); }if (typeof(ActiveXObject)!="undefine\x64"){xmlRequest=new ActiveXObject("\x4dicrosoft\x2e\130\x4d\x4cHTT\x50"); }xmlRequest.open("\x47ET",url, true); var og=this ; xmlRequest.onreadystatechange= function (){if (xmlRequest.readyState!=4)return; og.Og(xmlRequest.responseText,of,Of,keyCode,xmlRequest.status,url); } ; xmlRequest.send(""); }} ; RadComboBox.prototype.Og= function (lg,of,Of,keyCode,status,url){if (status==500){alert("\x72.a.d.co\x6d\x62obox\x3a\x20Se\x72\x76er \x65\x72ro\x72\x20in\x20the\x20ItemsR\x65queste\x64 even\x74\040\x68and\x6cer, \x70res\x73 ok \x74o vi\x65w th\x65 res\x75lt."); document.body.innerHTML=lg; return; }if (status==404){alert("\x72.a.d.com\x62\x6fbox:\x20\x4coa\x64\x20On \x44\x65ma\x6e\x64 P\x61ge no\x74\x20fo\x75nd: "+url); var ig="\x72.a.d.combob\x6f\x78: L\x6f\x61d \x4f\x6e De\x6d\x61nd \x50\141\x67\145 \x6eot fou\x6ed: "+url+"\x3cbr/>"; ig+="\x50lease, t\x72\x79 us\x69\x6eg E\x78\x74ern\x61\154C\x61\x6clB\x61ckPage\x20\164o\x20map t\x6f\040\x74\150e\x20exac\x74\040\x6coca\x74ion \x6ff th\x65 cal\x6cbac\x6bpage\x20you\x20are \x75sin\x67.";document.body.innerHTML=ig; return; }eval("var callBac\x6b\x44ata \x3d\x20"+lg+"\x3b"); if (this.ShowMoreResultsBox){document.getElementById(this.MoreResultsBoxMessageID).innerHTML=callBackData.Message; }var Ig=this.Items.length; this.O6(callBackData.Items,of); if (of){document.getElementById(this.DropDownID).removeChild(document.getElementById(this.ClientID+"_LoadingD\x69\x76")); document.getElementById(this.DropDownID).innerHTML+=callBackData.DropDownHtml; if (this.Items[Ig+1]!=null){ this.Items[Ig+1].W(); }}else {document.getElementById(this.DropDownID).innerHTML=callBackData.DropDownHtml; } this.o7(this.L.style.left,this.L.style.top); this.l8(this.OnClientItemsRequested,this,Of,of); this.J= false; var oh=this.FindItemByText(this.GetText()); if (oh!=null){oh.Highlight(); oh.W(); }if (!keyCode)return; if (keyCode<32 || (keyCode>=33 && keyCode<=46) || (keyCode>=112 && keyCode<=123)){return; } this.oe(); };RadComboBox.prototype.Oh= function (i5){var l5=-1; if (this.AutoCompleteSeparator!=null){l5=this.i4(i5); }var lh=i5.substring(l5+1,i5.length); return lh; } ; RadComboBox.prototype.ih= function (Ih,oi){if (!this.IsCaseSensitive){return (Ih.toLowerCase()==oi.toLowerCase()); }else {return (Ih==oi); }} ; RadComboBox.prototype.oe= function (){if (!this.MarkFirstMatch)return; var i5=this.GetText(); var lh=this.Oh(i5); if (lh.length==0){return; }for (var i=0; i<this.Items.length; i++){var Oi=this.Items[i].Text; if (Oi.length>=lh.length){var ii=Oi.substring(0,lh.length); if (this.ih(ii,lh)){var l5=-1; if (this.AutoCompleteSeparator!=null){l5=this.i4(i5); }var o3=i5.substring(0,l5+1)+Oi; this.SetText(o3); this.SetValue(this.Items[i].Value); this.o2(this.Items[i].Index); if (this.l8(this.OnClientSelectedIndexChanging,this.Items[i],null)== false){return; } this.Items[i].Highlight(); this.Items[i].W(); var Ii=l5+lh.length+1; var oj=o3.length-Ii; if (document.all){var Oj=document.getElementById(this.InputID).createTextRange(); Oj.moveStart("character",Ii); Oj.moveEnd("\x63\x68\x61racte\x72",oj); Oj.select(); }else {document.getElementById(this.InputID).setSelectionRange(Ii,Ii+oj); }return; }else { this.SetValue(""); this.o2(-1); if (this.HighlightedItem!=null){ this.HighlightedItem.UnHighlight(); }}}} this.SetValue(""); this.o2("\x2d\x31"); if (!this.AllowCustomText){var lj=i5.substring(0,i5.length-1); if (this.g!=null){ this.SetText(this.g); return; } this.SetText(lj); this.oe(); }} ; RadComboBox.prototype.od= function (l6,keyCode){if (!this.J && (!document.getElementById(this.ClientID+"_L\x6fadingDiv"))){var comboInstance=this ; if (this.h){window.clearTimeout(this.h); this.h=0; } this.h=window.setTimeout( function (){comboInstance.O9(l6,keyCode);} ,this.ItemRequestTimeout); }} ; RadComboBox.prototype.O9= function (l6,keyCode){var Of=document.getElementById(this.InputID).value; if (Of=="")Of= false; if (this.l8(this.OnClientItemsRequesting,this,Of,l6)== false){return; }if (!this.J){document.getElementById(this.DropDownID).innerHTML="\x3cdiv id="+this.ClientID+"_Loadi\x6e\x67Div"+" class=\x27"+this.LoadingMessageCssClass+" \047>"+this.LoadingMessage+"\x3c/div>"+document.getElementById(this.DropDownID).innerHTML; }var comboInstance=this ; window.setTimeout( function (){comboInstance.Ie(l6,Of,keyCode);} ,20); } ; RadComboBox.prototype.RequestItems= function (text,l6){ this.Ie(l6,text,null); } ; RadComboBox.prototype.UnHighlightAll= function (){for (var i=0; i<this.Items.length; i++){if (this.Items[i].Highlighted){ this.Items[i].UnHighlight(); }}} ; RadComboBox.prototype.ij= function (){document.getElementById(this.InputID).className=this.InputCssClass; var Ij=document.getElementById(this.ImageID); if (Ij){Ij.className=this.ImageCssClass; }} ; RadComboBox.prototype.ok= function (){document.getElementById(this.InputID).className=this.InputCssClassHover; var Ij=document.getElementById(this.ImageID); if (Ij){Ij.className=this.ImageCssClassHover; }} ; RadComboBox.prototype.Ok= function (){document.getElementById(this.MoreResultsBoxImageID).style.cursor="\x64e\x66\x61ult"; document.getElementById(this.MoreResultsBoxImageID).src=this.ScrollDownImageDisabled; } ; RadComboBox.prototype.lk= function (){document.getElementById(this.MoreResultsBoxImageID).style.cursor="\x68and"; document.getElementById(this.MoreResultsBoxImageID).src=this.ScrollDownImage; } ; RadComboBox.prototype.ik= function (){ this.UnHighlightAll(); this.od( true ,null); document.getElementById(this.InputID).focus(); } ; RadComboBox.prototype.Ik= function (eventArgs){if (eventArgs.stopPropagation){eventArgs.stopPropagation(); }else {eventArgs.cancelBubble= true; }} ; RadComboBox.prototype.Ic= function (eventArgs){if (eventArgs.preventDefault){eventArgs.preventDefault(); }else {eventArgs.returnValue= false; }} ; RadComboBox.prototype.l8= function (ll,a,b,il){if (!ll)return true; RadComboBoxGlobalFirstParam=a; RadComboBoxGlobalSecondParam=b; RadComboBoxGlobalThirdParam=il; var s=ll; s=s+"(RadComboB\x6f\x78Glo\x62\x61lFi\x72stParam"; s=s+",RadC\x6f\x6dboBox\x47\x6coba\x6c\123\x65\x63ond\x50\x61ra\x6d"; s=s+",RadCom\x62\x6fBoxGl\x6f\x62alT\x68\151r\x64\x50ara\x6d"; s=s+"\x29;"; return eval(s); } ; RadComboBox.prototype.HandleEvent= function (eventName,eventArgs){var lb; var srcElement=(document.all)?eventArgs.srcElement:eventArgs.target; var item=this.Oa(srcElement); if (item!=null){lb=this.ob(item); }if (!this.Enabled){return; }switch (eventName){case "showdropdo\x77n": this.Ik(eventArgs); this.ShowDropDown(); break; case "\x68idedropd\x6f\x77n": this.Ik(eventArgs); this.HideDropDown(); break; case "\x74\x6fggled\x72\x6fpdow\x6e": this.Ik(eventArgs); this.ToggleDropDown(); break; case "\x6d\x6fuseove\x72":if (lb!=null)this.Ob(lb); break; case "\155ou\x73\x65out":if (lb!=null)this.ib(lb); break; case "keyp\x72\x65ss": this.ic(this,eventArgs); break; case "key\x64\x6fwn": this.Oe(eventArgs); break; case "\x63lick": this.HandleClick(eventArgs); break; case "\x69nputclick": this.Ik(eventArgs); document.getElementById(this.InputID).select(); this.ShowDropDown(); break; case "i\x6e\x70utimage\x6f\x75t": this.ij(); break; case "\x69nputimageh\x6f\x76er": this.ok(); break; case "morere\x73\x75ltsima\x67\x65cli\x63\153": this.Ik(eventArgs); this.ik(); break; case "mor\x65\x72esults\x69\x6dageh\x6f\166er": this.lk(); break; case "moreresu\x6c\x74sima\x67\x65out": this.Ok(); break; }} ; RadComboBox.prototype.Enable= function (){document.getElementById(this.InputID).disabled= false; this.Enabled= true; } ; RadComboBox.prototype.Disable= function (){document.getElementById(this.InputID).disabled="disabled"; this.Enabled= false; this.l.value=this.GetText(); } ; RadComboBox.prototype.O0= function (Il){if (window.opera)return; if (document.compatMode && document.compatMode=="\x43\x53S1Comp\x61\164"){var computedStyle=null; if (Il.currentStyle){computedStyle=Il.currentStyle; }else if (document.defaultView && document.defaultView.getComputedStyle){computedStyle=document.defaultView.getComputedStyle(Il,null); }else {return; }var height=parseInt(computedStyle.height); var width=parseInt(computedStyle.width); var paddingTop=parseInt(computedStyle.paddingTop); var paddingBottom=parseInt(computedStyle.paddingBottom); var paddingLeft=parseInt(computedStyle.paddingLeft); var paddingRight=parseInt(computedStyle.paddingRight); var borderTop=parseInt(computedStyle.borderTopWidth); if (isNaN(borderTop)){borderTop=0; }var borderBottom=parseInt(computedStyle.borderBottomWidth); if (isNaN(borderBottom)){borderBottom=0; }var borderLeft=parseInt(computedStyle.borderLeftWidth); if (isNaN(borderLeft)){borderLeft=0; }var borderRight=parseInt(computedStyle.borderRightWidth); if (isNaN(borderRight)){borderRight=0; }if (!isNaN(height)){Il.style.height=height-paddingTop-paddingBottom-borderTop-borderBottom+"px"; }if (!isNaN(width)){Il.style.width=width-paddingLeft-paddingRight-borderLeft-borderRight+"\x70\170"; }}} ; function rcbDispatcher(R,eventName,eventArgs){var comboInstance=null; try {comboInstance=window[R]; }catch (e){}if (typeof(comboInstance)=="un\x64\x65fined" || comboInstance==null){return; }if (typeof(comboInstance.HandleEvent)!="und\x65\x66ined"){comboInstance.HandleEvent(eventName,eventArgs); }} ; function rcbAppendStyleSheet(o,I){var om=(navigator.appName=="\x4dicrosoft I\x6e\164er\x6e\x65t\x20\x45xp\x6c\x6frer") && ((navigator.userAgent.toLowerCase().indexOf("\x6dac")!=-1) || (navigator.appVersion.toLowerCase().indexOf("mac")!=-1)); var O7=(navigator.userAgent.toLowerCase().indexOf("s\x61\x66ari")!=-1); if (om || O7){document.write("\x3c"+"\x6cink"+"\x20\x72el=\047stylesh\x65\145t\x27\040t\x79\x70e=\x27\x74ex\x74/css\x27 href\x3d\x27"+I+"\x27>"); }else {var A=document.createElement("LI\x4e\x4b"); A.rel="s\x74\x79lesheet"; A.type="\x74\145xt/\x63\x73s"; A.href=I; document.getElementById(o+"StyleShe\x65\x74Hold\x65\x72").appendChild(A); }} ;

