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.CustomAttributes=new Array(); } ; RadComboItem.prototype.O= function (){if (this.ComboBox.Items.length>0){var totalHeight=0; for (var i=0; i<=this.Index; i++){totalHeight+=document.getElementById(this.ComboBox.Items[i].ClientID).offsetHeight; }document.getElementById(this.ComboBox.ClientID+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e").scrollTop=totalHeight-document.getElementById(this.ComboBox.ClientID+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e").offsetHeight; }} ; RadComboItem.prototype.o= function (){if (this.ComboBox.Items.length>0){var totalHeight=0; for (var i=0; i<this.Index; i++){totalHeight+=document.getElementById(this.ComboBox.Items[i].ClientID).offsetHeight; }var scrollTop=document.getElementById(this.ComboBox.ClientID+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e").scrollTop; if (scrollTop>totalHeight){document.getElementById(this.ComboBox.ClientID+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e").scrollTop=totalHeight; }}} ; RadComboItem.prototype.Highlight= function (){if (!this.Highlighted&&this.Enabled){ this.ComboBox.UnHighlightAll(); if (!this.ComboBox.IsTemplated||this.ComboBox.HighlightTemplatedItems){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 (){if (this.ComboBox.SelectedItem == this ){return; } this.ComboBox.SelectedItem=this ; this.ComboBox.I(this.Text); this.ComboBox.SetValue(this.Value); this.ComboBox.HideDropDown(); if (this.ComboBox.AutoPostBack){if (this.ComboBox.CausesValidation){if (typeof(WebForm_DoPostBackWithOptions) != "\x66\x75\x6e\x63\x74\x69\x6f\x6e"&&!(typeof(Page_ClientValidate) != "\x66\x75\x6e\x63\x74\x69\x6f\x6e"||Page_ClientValidate())){return; }}eval(this.ComboBox.PostBackReference); }} ; function RadComboBox(A,U,Z){if (window.tlrkComboBoxes == null){window.tlrkComboBoxes=new Array(); }tlrkComboBoxes[U]=this ; this.Items=new Array(); this.z= false; this.ID=A; this.ClientID=U; this.W=U; this.UniqueID=Z; this.DropDownID=U+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e"; this.InputID=U+"\x5f\x49\x6e\x70\x75\x74"; this.ImageID=U+"\x5f\x49\x6d\x61\x67\x65"; this.DropDownPlaceholderID=U+"\x5f\x44\x72\x6f\x70\x44\x6f\x77\x6e\x50\x6c\x61\x63\x65\x68\x6f\x6c\x64\x65\x72"; this.MoreResultsBoxID=U+"\x5f\x4d\x6f\x72\x65\x52\x65\x73\x75\x6c\x74\x73\x42\x6f\x78"; this.MoreResultsBoxImageID=U+"\x5f\x4d\x6f\x72\x65\x52\x65\x73\x75\x6c\x74\x73\x42\x6f\x78\x49\x6d\x61\x67\x65"; this.MoreResultsBoxMessageID=U+"\x5f\x4d\x6f\x72\x65\x52\x65\x73\x75\x6c\x74\x73\x42\x6f\x78\x4d\x65\x73\x73\x61\x67\x65"; this.w=U+"\x5f\x48\x65\x61\x64\x65\x72"; this.Enabled= true; this.DropDownVisible= false; this.LoadOnDemandUrl=null; this.PollTimeOut=0; this.HighlightedItem=null; this.SelectedItem=null; this.ItemRequestTimeout=0454; this.EnableLoadOnDemand= false; this.Overlay= false; this.AutoPostBack= false; this.ShowMoreResultsBox= false; this.OpenDropDownOnLoad= false; this.V= false; this.MarkFirstMatch= false; this.IsCaseSensitive= false; this.PostBackReference=null; this.LoadingMessage="\x4c\x6f\x61\x64\x69\x6e\x67\x2e\x2e\x2e"; this.ScrollDownImage=null; this.ScrollDownImageDisabled=null; this.v=null; this.RadComboBoxImagePosition="\x52\x69\x67\x68\x74"; this.ItemCssClass=null; this.ItemCssClassHover=null; this.ItemCssClassDisabled=null; this.ImageCssClass=null; this.ImageCssClassHover=null; this.InputCssClass=null; this.InputCssClassHover=null; this.LoadingMessageCssClass="\x43\x6f\x6d\x62\x6f\x42\x6f\x78\x4c\x6f\x61\x64\x69\x6e\x67\x4d\x65\x73\x73\x61\x67\x65"; this.AutoCompleteSeparator=null; this.OnClientSelectedIndexChanging=null; this.OnClientDropDownOpening=null; this.OnClientDropDownClosing=null; this.OnClientItemsRequesting=null; this.OnClientItemsRequested=null; this.OnClientKeyPressing=null; this.IsTemplated= false; this.Skin=null; this.HideTimeoutID=0; this.T=0; this.t= false; this.S=null; this.AllowCustomText= true; this.ExpandEffectString=null; this.HighlightTemplatedItems= false; this.CausesValidation= false; this.ClientDataString=null; var comboInstance=this ; if (document.attachEvent){document.attachEvent("\x6f\x6e\x63\x6c\x69\x63\x6b", function (){comboInstance.HideOnClick(); } ); }else {document.addEventListener("\x63\x6c\x69\x63\x6b", function (){comboInstance.HideOnClick(); } , false); }if (window.addEventListener){window.addEventListener("\x6c\x6f\x61\x64", function (){comboInstance.R(document.getElementById(comboInstance.InputID)); } , false); }else { this.R(document.getElementById(this.InputID)); }document.getElementById(this.InputID).setAttribute("\x61\x75\x74\x6f\x63\x6f\x6d\x70\x6c\x65\x74\x65","\x6f\x66\x66"); document.getElementById(this.DropDownPlaceholderID).onselectstart= function (){return false; } ; } ; RadComboBox.prototype.r= function (){var Q=document.getElementById(this.W); while (Q.tagName != "\x46\x4f\x52\x4d"){Q=Q.parentNode; }return Q; } ; RadComboBox.prototype.P= function (){if (!document.readyState||document.readyState == "\x63\x6f\x6d\x70\x6c\x65\x74\x65"){var N=this.r(); this.n(N); var M=document.getElementById(this.DropDownPlaceholderID); M.parentNode.removeChild(M); M.style.marginLeft="\x30"; N.appendChild(M); this.t= true; }} ; RadComboBox.prototype.n= function (N){for (var i=0; i<N.childNodes.length; i++){if (N.childNodes[i].id == this.DropDownPlaceholderID){N.removeChild(N.childNodes[i]); break; }}} ; 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.SetText= function (m){document.getElementById(this.InputID).value=m; } ; RadComboBox.prototype.GetText= function (){return document.getElementById(this.InputID).value; } ; RadComboBox.prototype.L= function (text){var lastIndex=-1; for (var i=0; i<this.AutoCompleteSeparator.length; i++){var l=this.AutoCompleteSeparator.charAt(i); var K=text.lastIndexOf(l); if (K>lastIndex){lastIndex=K; }}return lastIndex; } ; RadComboBox.prototype.I= function (m){var k=-1; var J=document.getElementById(this.InputID).value; if (this.AutoCompleteSeparator != null){k=this.L(J); }var H=J.substring(0,k+1)+m; document.getElementById(this.InputID).value=H; var h=this.SelectedItem; if (h != null){document.getElementById(this.ClientID+"\x5f\x69\x6e\x64\x65\x78").value=h.Index; }else {document.getElementById(this.ClientID+"\x5f\x69\x6e\x64\x65\x78").value="\x2d\x31"; }} ; RadComboBox.prototype.ClearSelection= function (){ this.SetText(""); this.SelectedItem=null; this.G=null; } ; RadComboBox.prototype.DoLoadItems= function (g){for (var i=0; i<g.length; i++){var item=new RadComboItem(); item.CustomAttributes=g[i]; item.Index=this.Items.length; item.ClientID=g[i].ClientID; if (g[i].Text)item.Text=g[i].Text; if (g[i].Value)item.Value=g[i].Value; if (g[i].Selected){ this.SelectedItem=item; item.Highlighted=1; item.Selected=1; }if (g[i].Enabled == 0){item.Enabled=0; }item.ComboBox=this ; this.Items[this.Items.length]=item; }if (this.SelectedItem != null){ this.SelectedItem.Highlight(); } this.z= true; } ; RadComboBox.prototype.LoadItems= function (){var g=eval(this.ClientID+"\x5f\x64\x61\x74\x61"); this.DoLoadItems(g); 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 (document.all){window.attachEvent("\x6f\x6e\x6c\x6f\x61\x64", function (){comboInstance.ShowDropDown(); } ); }else {window.addEventListener("\x6c\x6f\x61\x64", function (){comboInstance.ShowDropDown(); } , false); }}} ; RadComboBox.prototype.LoadItemsOnDemand= function (f){if (!f){ this.Items.length=0; } this.HighlightedItem=null; this.SelectedItem=null; this.z= false; this.DoLoadItems(RadComboItemsArrayOnDemand); 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.S=this.GetText(); }} ; RadComboBox.prototype.SetValue= function (value){if (value||value == ""){document.getElementById(this.ClientID+"\x5f\x76\x61\x6c\x75\x65").value=value; }} ; RadComboBox.prototype.GetValue= function (){return document.getElementById(this.ClientID+"\x5f\x76\x61\x6c\x75\x65").value; } ; RadComboBox.prototype.D= function (d){var C=0; if (d.offsetParent){while (d.offsetParent){C+=d.offsetLeft; d=d.offsetParent; }}else if (d.x)C+=d.x; return C; } ; RadComboBox.prototype.B= function (d){var o0=0; if (d.offsetParent){while (d.offsetParent){o0+=d.offsetTop; d=d.offsetParent; }}else if (d.y)o0+=d.y; return o0; } ; RadComboBox.prototype.O0= function (){if (window.opera){return; }var l0=document.getElementById(this.DropDownPlaceholderID); var i0=document.getElementById(this.MoreResultsBoxID); var I0=document.getElementById(this.w); if (this.v == null){ this.v=document.createElement("\x49\x46\x52\x41\x4d\x45"); this.v.src="\x6a\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3a\x66\x61\x6c\x73\x65\x3b"; this.v.id=this.ClientID+"\x5f\x4f\x76\x65\x72\x6c\x61\x79"; this.v.frameBorder=0; this.v.style.position="\x61\x62\x73\x6f\x6c\x75\x74\x65"; this.v.style.visibility="\x68\x69\x64\x64\x65\x6e"; this.v.style.zIndex=l0.style.zIndex-1; this.v.style.left=l0.style.left; this.v.style.top=l0.style.top; var o1=l0.offsetWidth; var O1=l0.offsetHeight; if (i0){O1=O1+i0.offsetHeight; }if (I0){O1=O1+I0.offsetHeight; } this.v.style.width=o1+"\x70\x78"; this.v.style.height=O1+"\x70\x78"; this.v.style.filter="\x70\x72\x6f\x67\x69\x64\x3a\x44\x58\x49\x6d\x61\x67\x65\x54\x72\x61\x6e\x73\x66\x6f\x72\x6d\x2e\x4d\x69\x63\x72\x6f\x73\x6f\x66\x74\x2e\x41\x6c\x70\x68\x61\x28\x73\x74\x79\x6c\x65\x3d\x30\x2c\x6f\x70\x61\x63\x69\x74\x79\x3d\x30\x29"; this.v.l1= false; l0.parentNode.insertBefore(this.v,l0); } this.v.style.visibility="\x76\x69\x73\x69\x62\x6c\x65"; } ; RadComboBox.prototype.i1= function (){if (this.v != null){ this.v.style.visibility="\x68\x69\x64\x64\x65\x6e"; }} ; RadComboBox.prototype.ShowDropDown= function (){if (this.I1(this.OnClientDropDownOpening,this ) == false){return; }for (var o2 in tlrkComboBoxes){if ((typeof(tlrkComboBoxes[o2]) != "\x66\x75\x6e\x63\x74\x69\x6f\x6e")&&(tlrkComboBoxes[o2].ClientID != this.ClientID)){tlrkComboBoxes[o2].HideDropDown(); }}if (!this.t){ this.P(); }var x; var y; var O2; (this.RadComboBoxImagePosition == "\x52\x69\x67\x68\x74")?O2=document.getElementById(this.InputID):O2=document.getElementById(this.ImageID); var x=this.D(O2); var y=this.B(O2)+O2.offsetHeight; var l2=document.getElementById(this.InputID); var i2=document.getElementById(this.ImageID); var I2=l2.offsetWidth; if (i2){I2+=i2.offsetWidth; }var offsetX=0; var offsetY=0; if (window.opera){offsetX=this.o3(l2); offsetY=this.O3(l2); }else {offsetX=this.l3(l2); offsetY=this.i3(l2); }var M=document.getElementById(this.DropDownPlaceholderID); if (this.ExpandEffectString != null&&document.all){M.style.filter=this.ExpandEffectString; M.filters[0].Apply(); M.filters[0].Play(); }if (document.compatMode&&document.compatMode == "\x43\x53\x53\x31\x43\x6f\x6d\x70\x61\x74"&&document.body.currentStyle){if (document.getElementById(this.ClientID).style.position != "\x61\x62\x73\x6f\x6c\x75\x74\x65"){if (document.body.currentStyle.marginLeft != "\x61\x75\x74\x6f"){x+=parseInt(document.body.currentStyle.marginLeft); }if (document.body.currentStyle.marginTop != "\x61\x75\x74\x6f"){y+=parseInt(document.body.currentStyle.marginTop); }}}M.style.position="\x61\x62\x73\x6f\x6c\x75\x74\x65"; M.style.left=x-offsetX+"\x70\x78"; M.style.top=y-offsetY+"\x70\x78"; M.style.width=I2-2+"\x70\x78"; M.style.display="\x62\x6c\x6f\x63\x6b"; if (this.Overlay){ this.O0(); }if (this.HighlightedItem != null){ this.HighlightedItem.O(); }if (this.SelectedItem != null){ this.SelectedItem.O(); } this.ClearHideTimeout(); this.DropDownVisible= true; try {document.getElementById(this.InputID).focus(); }catch (e){} ; if ((this.EnableLoadOnDemand)&&(this.Items.length == 0)){ this.I3( true ,null); }if (this.SelectedItem != null){ this.SelectedItem.Highlighted= false; this.SelectedItem.Highlight(); this.SelectedItem.o(); }} ; RadComboBox.prototype.FindItemByText= function (m){for (var i=0; i<this.Items.length; i++){if (this.Items[i].Text == m){return this.Items[i]; }}return null; } ; RadComboBox.prototype.FindItemByValue= function (o4){for (var i=0; i<this.Items.length; i++){if (this.Items[i].Value == o4){return this.Items[i]; }}return null; } ; RadComboBox.prototype.HideDropDown= function (){if (this.DropDownVisible){if (this.I1(this.OnClientDropDownClosing,this ) == false)return; document.getElementById(this.DropDownPlaceholderID).style.display="\x6e\x6f\x6e\x65"; if (this.Overlay){ this.i1(); } this.DropDownVisible= false; }} ; RadComboBox.prototype.ToggleDropDown= function (){ (this.DropDownVisible)?this.HideDropDown(): this.ShowDropDown(); } ; RadComboBox.prototype.O4= function (d){if (d){while (d != null){if (d.id&&this.l4(d.id)){return d; }d=d.parentNode; }}return null; } ; RadComboBox.prototype.l4= function (i4){for (var i=0; i<this.Items.length; i++){if (this.Items[i].ClientID == i4){return true; }}return false; } ; RadComboBox.prototype.I4= 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.o5= function (O5){O5.Highlight(); } ; RadComboBox.prototype.l5= function (O5){O5.UnHighlight(); } ; RadComboBox.prototype.i5= function (eventArgs){var h=this.HighlightedItem; if (h != null){if (this.I1(this.OnClientSelectedIndexChanging,h,eventArgs) == false){return; }h.Select(); }else { this.HideDropDown(); }} ; RadComboBox.prototype.HandleClick= function (eventArgs){ this.i5(eventArgs); } ; RadComboBox.prototype.I5= function (index){var i=index; var o6= false; while (i<this.Items.length-1){i=i+1; if (this.Items[i].Enabled){o6= true; break; }}if (o6)return i; return index; } ; RadComboBox.prototype.O6= function (index){var i=index; var o6= false; while (i>0){i=i-1; if (this.Items[i].Enabled){o6= true; break; }}if (o6)return i; return index; } ; RadComboBox.prototype.l6= function (comboInstance,eventArgs){ this.I1(this.OnClientKeyPressing,this,eventArgs); if (eventArgs.keyCode == 056){if (!this.EnableLoadOnDemand&&!this.AllowCustomText){ this.i6(eventArgs); }}if (eventArgs.keyCode == 050){if (eventArgs.altKey&&(!this.DropDownVisible)){ this.ShowDropDown(); return; }var index=-1; if (this.HighlightedItem == null&&this.Items.length>0){index=0; }if (this.HighlightedItem != null){index=this.I5(this.HighlightedItem.Index); }else {index=this.I5(0); }if (index>=0&&this.Items.length>0){if (this.I1(this.OnClientSelectedIndexChanging,this.Items[index],eventArgs) == false){return; } this.Items[index].Highlight(); this.Items[index].O(); this.I(this.Items[index].Text); this.i6(eventArgs); }return; }if (eventArgs.keyCode == 033&&this.DropDownVisible){ this.HideDropDown(); return; }if (eventArgs.keyCode == 046){if (eventArgs.altKey&&this.DropDownVisible){ this.HideDropDown(); return; }var index=-1; if (this.HighlightedItem != null){index=this.O6(this.HighlightedItem.Index); }if (index>=0){if (this.I1(this.OnClientSelectedIndexChanging,this.Items[index],eventArgs) == false){return; } this.Items[index].o(); this.Items[index].Highlight(); this.I(this.Items[index].Text); this.i6(eventArgs); }return; }if ((eventArgs.keyCode == 015||eventArgs.keyCode == 011)&&this.DropDownVisible){if (eventArgs.keyCode == 015){ this.i6(eventArgs); } this.i5(); return; }if (eventArgs.keyCode == 011&&!this.DropDownVisible){return; }if (eventArgs.keyCode == 043||eventArgs.keyCode == 044||eventArgs.keyCode == 045||eventArgs.keyCode == 047){return; }if (this.EnableLoadOnDemand&&(!eventArgs.altKey)&&(!eventArgs.ctrlKey)&&(!(eventArgs.keyCode == 020))){if (!this.DropDownVisible){ this.ShowDropDown(); } this.I6( false ,eventArgs.keyCode); return; }var o7=eventArgs.keyCode; if ((o7<040)||(o7>=041&&o7<=056)||(o7>=0160&&o7<=0173)){return; }var O7=this ; window.setTimeout( function (){O7.l7(); } ,024); } ; RadComboBox.prototype.i7= function (eventArgs){if (eventArgs.preventDefault){if (eventArgs.keyCode == 015||(eventArgs.keyCode == 040&&(!this.EnableLoadOnDemand))){eventArgs.preventDefault(); }}} ; RadComboBox.prototype.I7= function (s){if (encodeURIComponent){return encodeURIComponent(this.o8(s)); }if (escape){return escape(this.o8(s)); }} ; RadComboBox.prototype.o8= function (text){if (typeof(text) != "\x6e\x75\x6d\x62\x65\x72"){return text.replace(/\x27/g,"\x26\x73\x71\x75\x6f\x74\x65"); }} ; RadComboBox.prototype.O8= function (f,text,o7){if (!this.V){ this.V= true; var l8=(text)?text:document.getElementById(this.InputID).value; var i8=this.GetValue(); l8=l8.replace(/\x27/g,"\x26\x73\x71\x75\x6f\x74\x65"); var url=this.LoadOnDemandUrl+"\x26\x74\x65\x78\x74\x3d"+this.I7(l8); url=url+"\x26\x63\x6f\x6d\x62\x6f\x56\x61\x6c\x75\x65\x3d"+this.I7(i8); url=(f)?url+"\x26\x69\x74\x65\x6d\x43\x6f\x75\x6e\x74\x3d"+this.Items.length:url; url=url+"\x26\x73\x6b\x69\x6e\x3d"+this.I7(this.Skin); if (this.ClientDataString != null){url+="\x26\x63\x6c\x69\x65\x6e\x74\x44\x61\x74\x61\x53\x74\x72\x69\x6e\x67\x3d"+this.I7(this.ClientDataString); }url=url+"\x26\x74\x69\x6d\x65\x53\x74\x61\x6d\x70\x3d"+encodeURIComponent((new Date()).getTime()); var xmlRequest=null; if (typeof(XMLHttpRequest) != "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"){xmlRequest=new XMLHttpRequest(); }if (typeof(ActiveXObject) != "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"){xmlRequest=new ActiveXObject("\x4d\x69\x63\x72\x6f\x73\x6f\x66\x74\x2e\x58\x4d\x4c\x48\x54\x54\x50"); }xmlRequest.open("\x47\x45\x54",url, true); var I8=this ; xmlRequest.onreadystatechange= function (){if (xmlRequest.readyState != 4)return; var html=xmlRequest.responseText; if (html.indexOf("\x21") == 0){alert("\x72\x2e\x61\x2e\x64\x2e\x63\x6f\x6d\x62\x6f\x62\x6f\x78\x3a\x20\x53\x65\x72\x76\x65\x72\x20\x65\x72\x72\x6f\x72\x20\x69\x6e\x20\x74\x68\x65\x20\x49\x74\x65\x6d\x73\x52\x65\x71\x75\x65\x73\x74\x65\x64\x20\x65\x76\x65\x6e\x74\x20\x68\x61\x6e\x64\x6c\x65\x72\x2c\x20\x70\x72\x65\x73\x73\x20\x6f\x6b\x20\x74\x6f\x20\x76\x69\x65\x77\x20\x74\x68\x65\x20\x72\x65\x73\x75\x6c\x74\x2e"); document.body.innerHTML=html; return; }var index=html.indexOf("\x3a"); var o9=html.indexOf("\x2c"); var O9=parseInt(html.substring(0,index)); var l9=parseInt(html.substring(index+1,o9)); var i9=html.substring(o9+1,l9+o9+1); var I9=html.substring(l9+o9+1,l9+o9+1+O9); var oa=html.substring(l9+o9+1+O9); if (I8.ShowMoreResultsBox){document.getElementById(I8.MoreResultsBoxMessageID).innerHTML=i9; }eval(I9); var Oa=I8.Items.length; I8.LoadItemsOnDemand(f); if (f){document.getElementById(I8.DropDownID).removeChild(document.getElementById(I8.ClientID+"\x5f\x4c\x6f\x61\x64\x69\x6e\x67\x44\x69\x76")); document.getElementById(I8.DropDownID).innerHTML+=oa; if (I8.Items[Oa+1] != null){I8.Items[Oa+1].O(); }}else {document.getElementById(I8.DropDownID).innerHTML=oa; }I8.I1(I8.OnClientItemsRequested,I8,l8,f); I8.V= false; var la=I8.FindItemByText(I8.GetText()); if (la != null){la.Highlight(); la.O(); }if (!o7)return; if (o7<040||(o7>=041&&o7<=056)||(o7>=0160&&o7<=0173)){return; }I8.l7(); } ; xmlRequest.send(""); }} ; RadComboBox.prototype.ia= function (J){var k=-1; if (this.AutoCompleteSeparator != null){k=this.L(J); }var Ia=J.substring(k+1,J.length); return Ia; } ; RadComboBox.prototype.ob= function (Ob,lb){if (!this.IsCaseSensitive){return (Ob.toLowerCase() == lb.toLowerCase()); }else {return (Ob == lb); }} ; RadComboBox.prototype.l7= function (){if (!this.MarkFirstMatch)return; var J=this.GetText(); var Ia=this.ia(J); if (Ia.length == 0){return; }for (var i=0; i<this.Items.length; i++){var ib=this.Items[i].Text; if (ib.length>=Ia.length){var Ib=ib.substring(0,Ia.length); if (this.ob(Ib,Ia)){var k=-1; if (this.AutoCompleteSeparator != null){k=this.L(J); }var H=J.substring(0,k+1)+ib; this.SetText(H); this.SetValue(this.Items[i].Value); if (this.I1(this.OnClientSelectedIndexChanging,this.Items[i],null) == false){return; } this.Items[i].Highlight(); this.Items[i].O(); var oc=k+Ia.length+1; var Oc=H.length-oc; if (document.all){var lc=document.getElementById(this.InputID).createTextRange(); lc.moveStart("\x63\x68\x61\x72\x61\x63\x74\x65\x72",oc); lc.moveEnd("\x63\x68\x61\x72\x61\x63\x74\x65\x72",Oc); lc.select(); }else {document.getElementById(this.InputID).setSelectionRange(oc,oc+Oc); }return; }}} this.SetValue(""); if (!this.AllowCustomText){var ic=J.substring(0,J.length-1); if (this.S != null){ this.SetText(this.S); return; } this.SetText(ic); this.l7(); }} ; RadComboBox.prototype.I6= function (f,keyCode){if (!this.V&&(!document.getElementById(this.ClientID+"\x5f\x4c\x6f\x61\x64\x69\x6e\x67\x44\x69\x76"))){var comboInstance=this ; if (this.T){window.clearTimeout(this.T); this.T=0; } this.T=window.setTimeout( function (){comboInstance.I3(f,keyCode);} ,this.ItemRequestTimeout); }} ; RadComboBox.prototype.I3= function (f,keyCode){var l8=document.getElementById(this.InputID).value; if (l8 == "")l8= false; if (this.I1(this.OnClientItemsRequesting,this,l8,f) == false){return; }document.getElementById(this.DropDownID).innerHTML="\x3c\x64\x69\x76\x20\x69\x64\x3d"+this.ClientID+"\x5f\x4c\x6f\x61\x64\x69\x6e\x67\x44\x69\x76"+"\x20\x63\x6c\x61\x73\x73\x3d\x27"+this.LoadingMessageCssClass+"\x20\x27\x3e"+this.LoadingMessage+"\x3c\x2f\x64\x69\x76\x3e"+document.getElementById(this.DropDownID).innerHTML; var comboInstance=this ; window.setTimeout( function (){comboInstance.O8(f,l8,keyCode);} ,024); } ; RadComboBox.prototype.RequestItems= function (text,f){ this.O8(f,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.Ic= function (){document.getElementById(this.InputID).className=this.InputCssClass; var od=document.getElementById(this.ImageID); if (od){od.className=this.ImageCssClass; }} ; RadComboBox.prototype.Od= function (){document.getElementById(this.InputID).className=this.InputCssClassHover; var od=document.getElementById(this.ImageID); if (od){od.className=this.ImageCssClassHover; }} ; RadComboBox.prototype.ld= function (){document.getElementById(this.MoreResultsBoxImageID).style.cursor="\x64\x65\x66\x61\x75\x6c\x74"; document.getElementById(this.MoreResultsBoxImageID).src=this.ScrollDownImageDisabled; } ; RadComboBox.prototype.oe= function (){document.getElementById(this.MoreResultsBoxImageID).style.cursor="\x68\x61\x6e\x64"; document.getElementById(this.MoreResultsBoxImageID).src=this.ScrollDownImage; } ; RadComboBox.prototype.Oe= function (){ this.UnHighlightAll(); this.I6( true ,null); document.getElementById(this.InputID).focus(); } ; RadComboBox.prototype.le= function (eventArgs){if (eventArgs.stopPropagation){eventArgs.stopPropagation(); }else {eventArgs.cancelBubble= true; }} ; RadComboBox.prototype.i6= function (eventArgs){if (eventArgs.preventDefault){eventArgs.preventDefault(); }else {eventArgs.returnValue= false; }} ; RadComboBox.prototype.I1= function (ie,a,b,Ie){if (!ie)return true; RadComboBoxGlobalFirstParam=a; RadComboBoxGlobalSecondParam=b; RadComboBoxGlobalThirdParam=Ie; var s=ie; s=s+"\x28\x52\x61\x64\x43\x6f\x6d\x62\x6f\x42\x6f\x78\x47\x6c\x6f\x62\x61\x6c\x46\x69\x72\x73\x74\x50\x61\x72\x61\x6d"; s=s+"\x2c\x52\x61\x64\x43\x6f\x6d\x62\x6f\x42\x6f\x78\x47\x6c\x6f\x62\x61\x6c\x53\x65\x63\x6f\x6e\x64\x50\x61\x72\x61\x6d"; s=s+"\x2c\x52\x61\x64\x43\x6f\x6d\x62\x6f\x42\x6f\x78\x47\x6c\x6f\x62\x61\x6c\x54\x68\x69\x72\x64\x50\x61\x72\x61\x6d"; s=s+"\x29\x3b"; return eval(s); } ; RadComboBox.prototype.HandleEvent= function (eventName,eventArgs){var O5; var srcElement=(document.all)?eventArgs.srcElement:eventArgs.target; var item=this.O4(srcElement); if (item != null){O5=this.I4(item); }if (!this.Enabled){return; }switch (eventName){case "\x73\x68\x6f\x77\x64\x72\x6f\x70\x64\x6f\x77\x6e": this.le(eventArgs); this.ShowDropDown(); break; case "\x68\x69\x64\x65\x64\x72\x6f\x70\x64\x6f\x77\x6e": this.le(eventArgs); this.HideDropDown(); break; case "\x74\x6f\x67\x67\x6c\x65\x64\x72\x6f\x70\x64\x6f\x77\x6e": this.le(eventArgs); this.ToggleDropDown(); break; case "\x6d\x6f\x75\x73\x65\x6f\x76\x65\x72":if (O5 != null)this.o5(O5); break; case "\x6d\x6f\x75\x73\x65\x6f\x75\x74":if (O5 != null)this.l5(O5); break; case "\x6b\x65\x79\x70\x72\x65\x73\x73": this.l6(this,eventArgs); break; case "\x6b\x65\x79\x64\x6f\x77\x6e": this.i7(eventArgs); break; case "\x63\x6c\x69\x63\x6b": this.HandleClick(eventArgs); break; case "\x69\x6e\x70\x75\x74\x63\x6c\x69\x63\x6b": this.le(eventArgs); document.getElementById(this.InputID).select(); this.ShowDropDown(); break; case "\x69\x6e\x70\x75\x74\x69\x6d\x61\x67\x65\x6f\x75\x74": this.Ic(); break; case "\x69\x6e\x70\x75\x74\x69\x6d\x61\x67\x65\x68\x6f\x76\x65\x72": this.Od(); break; case "\x6d\x6f\x72\x65\x72\x65\x73\x75\x6c\x74\x73\x69\x6d\x61\x67\x65\x63\x6c\x69\x63\x6b": this.le(eventArgs); this.Oe(); break; case "\x6d\x6f\x72\x65\x72\x65\x73\x75\x6c\x74\x73\x69\x6d\x61\x67\x65\x68\x6f\x76\x65\x72": this.oe(); break; case "\x6d\x6f\x72\x65\x72\x65\x73\x75\x6c\x74\x73\x69\x6d\x61\x67\x65\x6f\x75\x74": this.ld(); break; }} ; RadComboBox.prototype.l3= function (node){var x=0; var Q=node; while (Q.parentNode&&Q.parentNode.tagName != "\x42\x4f\x44\x59"){if (typeof(Q.parentNode.scrollLeft) == "\x6e\x75\x6d\x62\x65\x72"){x+=Q.parentNode.scrollLeft; }Q=Q.parentNode; }return x; } ; RadComboBox.prototype.i3= function (node){var y=0; var Q=node; while (Q.parentNode&&Q.parentNode.tagName != "\x42\x4f\x44\x59"){if (typeof(Q.parentNode.scrollTop) == "\x6e\x75\x6d\x62\x65\x72"){y+=Q.parentNode.scrollTop; }Q=Q.parentNode; }return y; } ; RadComboBox.prototype.o3= function (node){var x=0; var Q=node; while (Q.offsetParent&&Q.offsetParent.tagName != "\x42\x4f\x44\x59"){if (typeof(Q.offsetParent.scrollLeft) == "\x6e\x75\x6d\x62\x65\x72"){x+=Q.offsetParent.scrollLeft; }Q=Q.offsetParent; }return x; } ; RadComboBox.prototype.O3= function (node){var y=0; var Q=node; while (Q.offsetParent&&Q.offsetParent.tagName != "\x42\x4f\x44\x59"){if (typeof(Q.offsetParent.scrollTop) == "\x6e\x75\x6d\x62\x65\x72"){y+=Q.offsetParent.scrollTop; }Q=Q.offsetParent; }return y; } ; RadComboBox.prototype.Enable= function (){document.getElementById(this.W).disabled= false; this.Enabled= true; } ; RadComboBox.prototype.Disable= function (){document.getElementById(this.W).disabled= true; this.Enabled= false; document.getElementById(this.ClientID+"\x5f\x74\x65\x78\x74").value=this.GetText(); } ; RadComboBox.prototype.R= function (of){if (window.opera)return; if (document.compatMode&&document.compatMode == "\x43\x53\x53\x31\x43\x6f\x6d\x70\x61\x74"){var computedStyle=null; if (of.currentStyle){computedStyle=of.currentStyle; }else if (document.defaultView&&document.defaultView.getComputedStyle){computedStyle=document.defaultView.getComputedStyle(of,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)){of.style.height=height-paddingTop-paddingBottom-borderTop-borderBottom+"\x70\x78"; }if (!isNaN(width)){of.style.width=width-paddingLeft-paddingRight-borderLeft-borderRight+"\x70\x78"; }}} ; function rcbDispatcher(U,eventName,eventArgs){var comboInstance=null; try {comboInstance=window[U]; }catch (e){}if (typeof(comboInstance) == "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"||comboInstance == null){return; }if (typeof(comboInstance.HandleEvent) != "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"){comboInstance.HandleEvent(eventName,eventArgs); }} ; function rcbAppendStyleSheet(Of,If){var og=(navigator.appName == "\x4d\x69\x63\x72\x6f\x73\x6f\x66\x74\x20\x49\x6e\x74\x65\x72\x6e\x65\x74\x20\x45\x78\x70\x6c\x6f\x72\x65\x72")&&((navigator.userAgent.toLowerCase().indexOf("\x6d\x61\x63") != -1)||(navigator.appVersion.toLowerCase().indexOf("\x6d\x61\x63") != -1)); var Og=(navigator.userAgent.toLowerCase().indexOf("\x73\x61\x66\x61\x72\x69") != -1); if (og||Og){document.write("\x3c"+"\x6c\x69\x6e\x6b"+"\x20\x72\x65\x6c\x3d\x27\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x27\x20\x74\x79\x70\x65\x3d\x27\x74\x65\x78\x74\x2f\x63\x73\x73\x27\x20\x68\x72\x65\x66\x3d\x27"+If+"\x27\x3e"); }else {var lg=document.createElement("\x4c\x49\x4e\x4b"); lg.rel="\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74"; lg.type="\x74\x65\x78\x74\x2f\x63\x73\x73"; lg.href=If; document.getElementById(Of+"\x53\x74\x79\x6c\x65\x53\x68\x65\x65\x74\x48\x6f\x6c\x64\x65\x72").appendChild(lg); }} ;
 
