
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 8/31/2007 9:37:50 AM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
var wcGlobal ={tempObj: null };function WebComboCell(vb4871){ this._Type ="Cell"; ISObject.call(this); this.Row =null; this.Position =0; this.Text =""; this.Value =null; this.Column =null; this.Image =""; this.TooltipText =""; this.Name =""; this.CellElement =null; this._UIState ="Unchanged";  if (vb4871)this.Text =vb4871;  this.Setup =function(vbea71) { this.CellElement =vbea71; var v08016 =0; if (this.Row.Combo.LayoutSettings.ComboMode =="MultipleColumns") v08016 =this.CellElement.cellIndex;  this.Column =this.Row.Combo.Columns[v08016]; this.Name =this.Column.BaseFieldName; this.Value =this.Text =vbea71.innerText;  if (this.CellElement.title) this.TooltipText =this.CellElement.title;  };  this.GetElement =function() { return this.CellElement; };  this.ToXml =function(vbea71) { var va3427 ="<Cell>"; va3427 +=ISXml.EncodeString(this.Text); va3427 +="</Cell>";  return va3427; };}function WebComboClientEvents(){ this._Type ="ClientEvents"; ISObject.call(this); this.OnBeforeRequest =""; this.OnResponse =""; this.OnBeforeItemSelected =""; this.OnAfterItemSelected =""; this.OnError =""; this.OnLostFocus =""; this.OnAddItem =""; this.OnUnhandledError =""; this.OnInitialize =""; this.OnMatchInstantLookup =""; this.OnActionDispatched =""; this.OnAfterResponseProcess =""; this.OnKeyDown =""; this.OnShowDropDown =""; this.OnValueItemContextMenu =""; this.OnValueItemNotInList ="";}function WebComboLayoutSet(){ this._Type ="LayoutSet"; ISObject.call(this); this.Combo =null; this.AlwaysShowResultBox =false; this.AlwaysShowHelpButton =true; this.AlwaysShowSearchButton =true; this.AlwaysShowColumnHeaders =true; this.ComboMode ="SingleColumn"; this.SearchIconMode ="Text"; this.StatusBoxPosition ="Top"; this.SearchImage =""; this.HelpImage ="wc_help16.gif"; this.ItemHeight =20; this.ClientSideEvents =new WebComboClientEvents(); this.AllowNavigationOnMouseWheel =true; this.ColumnWidthDefault =100; this.TextSettings =new WebComboTextSet(); this.ScriptDirectory ="/CommonLibrary/WebCombo/V3_0_3000/"; this.ImagesDirectory ="/CommonLibrary/Images/"; this.AdjustResultBoxTop =0; this.AdjustResultBoxLeft =0; this.AllowTextWrapping =false; this.ResultBoxWidth =0; this.ResultBoxHeight =200; this.StatusBoxVisible =true; this.AllowAddItem =false; this.TextBoxMode ="Editable"; this.AlwaysShowAllRowsOnDropdown =false; this.BoundMode ="AutoDetect"; this.EntryMode ="Default"; this.SearchButtonPosition ="Right"; this.FrameStyle =null; this.TextBoxStyle =null; this.DropDownStyle =null; this.RowStyle =null; this.MoreButtonStyle =null; this.ResultFrameStyle =""; this.ResultBoxStyle =""; this.StatusBoxStyle =""; this.HeaderStyle =""; this.ColumnStyle =""; this.SelectedRowStyle =""; this.NoResultFoundAction ="RevertSelection"; this.ResultBoxWindowType ="Popup"; this.ResultBoxShadow =true; this.HelpURL =""; this.OnPropertiesInitialized =function() { if (this.ResultBoxWidth ==0)this.ResultBoxWidth =null; this.Combo =this.Parent;  this.Combo.AllowAdd =this.AllowAddItem; this.Combo.ResultBoxWidth =this.ResultBoxWidth; };}function WebComboRow(v52f73){ this._Type ="Row"; ISObject.call(this); this.Cells =null; this.DataSourceIndex =0; this.Combo =null; this.Position =0; this.Value =""; this.RowElement =null; this._UIState ="Unchanged";  if (v52f73) this.Value =v52f73;  this.Setup =function(v4a257) { wc4c990.mced13(v4a257); this.RowElement =v4a257; this.Value =v4a257.dataValue; };  this.IsSelected =function() { return (this.RowElement.className ==this.Combo.LayoutSettings.SelectedRowStyle); };  this.GetElement =function() { return this.RowElement; };  this.GetCells =function() { if (this.RowElement) { var v4ab43 =new ISArray(); for (var v0c945=0; v0c945<this.RowElement.cells.length; v0c945++) { var vb795 =this.GetCell(v0c945); v4ab43[v4ab43.length] =vb795; } this.Cells =v4ab43; return v4ab43; } else return this.Cells; };  this.GetCell =function(v76293) { var vb795 =new WebComboCell(); vb795.Position =v76293; vb795.Row =this; vb795.Setup(this.RowElement.cells[v76293]); return vb795; };  this.GetTextData =function() { var ved491 =wc4c990.md4e65(this.Combo); var v4ab43 =this.GetCells(); return v4ab43[ved491].Text; };  this.Select =function() { this.Combo.SelectedIndex =this.Combo.LastSelectedIndex =this.Position; this.Combo.SetTextBoxValue(this.GetTextData()); wc4c990.m28528(this.Combo); wc4c990.mfdf68(this.Combo,true); };  this.ToXml =function() { var v38637 ="<Row>"; v38637 +="<Text>" +ISXml.EncodeString(this.Text)+"</Text>"; v38637 +="<Value>" +ISXml.EncodeString(this.Value)+"</Value>"; if (this.Cells) { v38637 +="<Cells>"; for(var v0c945=0; v0c945<this.Cells.length; v0c945++) v38637 +=this.Cells[v0c945].ToXml(); v38637 +="</Cells>"; } v38637 +="</Row>"; return v38637; };}function WebComboTextSet(){ this._Type ="TextSet"; ISObject.call(this); this.LoadingText ="Loading..."; this.SearchText ="Search for"; this.NoResultsText ="No results found."; this.RetrievedTextFormat ="{retrieved} of {totalrows} retrieved."; this.HelpTitleText ="Help"; this.MoreTitleText ="More records."; this.UnhandledErrorText ="Unhandled exception occurred. See following for details."; this.ParentEmptyPromptText ="Please select a value for following WebCombo input: {0}";}function WebComboColumn(){ this._Type ="Column"; ISObject.call(this); this.Combo =null; this.HeaderText =""; this.Position =0; this.BaseFieldName =""; this.Width =null; this.Hidden =false; this.Bound =true; this.ColumnType ="Text"; this.DataType ="System.String"; this.CellImage =""; this.DataFormatString =""; this.Name =""; this.RenderOnHidden =false;  this.OnPropertiesInitialized =function() { this.Combo =this.Parent;  if (this.Width =="") this.Width =parseFloat(this.Combo.LayoutSettings.ColumnWidthDefault); if (this.HeaderText =="") this.HeaderText =this.BaseFieldName; };}function WebCombo(v85369){ this.ClassName ="WebCombo"; this.Version ="3.0.3000"; this.BuildNumber ="10"; this.MajorVersion ="3.0"; this.RequiredFrameworkVersion ="2.0.5000.16"; this.XmlNamespace ="isnet.webui.webcombo"; ISControl.call(this,v85369); IFlyPostBack.call(this,"WebCombo3Request"); this.Text =""; this.Value =null; this.TextBoxLength =0; this.DropDownRows =15; this.AutoLoad =true; this.ShowErrorMessages =true; this.Latency =500; this.AllowAutoPostback =false; this.DataValueField =""; this.DataTextField =""; this.LayoutSettings =new WebComboLayoutSet(); this.LinkSettings =new WebComboLinkSettings(); this.MultipleSelectionSettings =new WebComboMultipleSelectionSettings(); this.AdditionalFiltersText =""; this.AllowAutoQueryHandler =true; this.Columns =new ISArray(); this.Rows =null; this.AdditionalSearchFields =""; this.AllowWildCardSearch =false; this.MinCharsToRequest =0; this.ScriptDirectory ="/CommonLibrary/WebCombo/V3_0_3000/"; this.AllowAutoDataCaching =true; this.DataCacheStorage ="PageCache"; this.UseCachedDataOnFirstLoad =false; this.IsFlyPostBack =false; this.ViewStateStorage ="PageCache"; this.AccessKey =""; this.Enabled =false; this.TabIndex =null; this.ToolTip =""; this.Visible =true; this.SharedScriptDirectory ="/CommonLibrary/Shared/"; this.ClientID =this.Name =this.UniqueID =v85369; this.Parent =null; this.LastAction =""; this.IsPreviewMode =false; this.TotalRetrievedRows =0; this.TotalRows =0; this.FlyPostBackSettings =new FlyPostBackSettings(); this.Values =null; this.IsMouseDown =false; this.EventInResultBox =false;  this.HasDataSource =false; this.ResultBox =null; this.ResultBoxShown =false; this.IsDirty =false; this.IsInProgress =false; this.IsMoreRequest =false; this.NeedClearList =false; this.LastQuery =""; this.RequestId =0; this.LastSelectedIndex =-1; this.SelectedIndex =-1; this.RowIndex =null; this.ForceDropDown =false; this.IsDataBound =true; this.UnboundDataInitialized =false; this.InsertAtTop =false; this.NewRowObj =null; this.IsOnAdd =false; this.LastError =""; this.FoundPerfectMatch =null; this.FastPostBack =false; this.SensitiveSearch =false; this.TextObj =null; this.SearchObj =null; this.IsTextObjFocused =false; this.AllowAdd =false; this.LastEventType =""; this.LastKeyCode =0; this.LastCtrlKey =false; this.SkipLatency =false; this.HasLinkedChilds =false; this.LinkedChilds =null; this.LastQueryMultiple =null; this.LastShownPosition =0; this.LastKeyDownHandled =false;  this.TrimValueListText =true; this.RequireLinkRefresh =false; this.SimulateDropDownClick =null;   this.OnInitialize =function() { ISEvent.Raise(this.LayoutSettings.ClientSideEvents.OnInitialize,this.Id); wc4c990.m5d830(this);  if (this.FlyPostBackSettings !=null) { this.PostViewState =this.FlyPostBackSettings.PostViewState; this.PostHiddenFields =this.FlyPostBackSettings.PostHiddenFields; this.PostInputControls =this.FlyPostBackSettings.PostInputControls; }  if (this.MultipleSelectionSettings.Enabled) { var v7c612 =ISXml.GetNodeText(this.XmlNode,"MultipleTexts"); if (v7c612 !="") { this.SetMultipleValues(v7c612,ISXml.GetNodeText(this.XmlNode,"MultipleValues")); wc4c990.mf8324(this); } }  if (this.LinkSettings.Enabled) this.LinkSettings.ResolveParentWebCombo();  if (!this.HasDataSource) this.IsDataBound =false;  if (!this.AllowAutoQueryHandler) this.IsDataBound =true;  if (this.LayoutSettings.BoundMode =="ForceBound") this.IsDataBound =true; else if (this.LayoutSettings.BoundMode =="ForceUnbound") this.IsDataBound =false;  this.RemoveDynamicStyle(); this.UpdateState();  };  this.RemoveDynamicStyle =function() { var v2ed32 =["Row","Frame","TextBox","DropDown","MoreButton"];  for(var v73977=0; v73977<v2ed32.length; v73977++) { var v92d38 =this.LayoutSettings[v2ed32[v73977] +"Style"]; if (v92d38 &&v92d38.XmlNode) ISXml.RemoveNode(this.LayoutSettings.XmlNode,v2ed32[v73977] +"Style"); } };  this.DestroyPopup =function() { if (this.ResultBox) { var v3aa34 =this.ResultBox.document;  wc4c990.mf2c13(this,v3aa34); v3aa34.open("text/plain","replace"); v3aa34.write(""); v3aa34.close(); v3aa34 =null; this.ResultBox =null; } };  this.OnUnload =function() { wc4c990.m8b016(this); Listener.Unload(this.FrameObj); Listener.Unload(this.TextObj); Listener.Unload(this.SearchObj);  var v87968 =this.FrameObj.parentElement; if (v87968) { if (v87968.tagName =="BODY" ||v87968.tagName =="TD") { Listener.Unload(v87968); } }  if (this.ResultBox) this.DestroyPopup(); window.detachEvent("onunload",function(){wc4c990.me5652(ve208)}); window.detachEvent("onload",function(){wc4c990.m91d2(ve208)}); document.body.detachEvent("onclick",function(){wc4c990.m54261(ve208)}); }; this.OnPropertiesInitialized =function() { if (this.XmlNode !=null) { if (!this.MultipleSelectionSettings.Enabled) { this.Text =ISXml.GetNodeText(this.XmlNode,"Text"); this.Value =ISXml.GetNodeText(this.XmlNode,"Value"); } } }; this.ReBindingPostBackData =function() { wc4c990.m76031(this); };  this.OnResponse =function(v92d38) { wc4c990.mec872(this,v92d38); };  this.OnResponseError =function(v92d38) { wc4c990.m3e465(this,v92d38); };   this.SendCustomRequest =function() { wc4c990.mcbe8(this,"Custom"); };  this.IsValueInRange =function() { return wc4c990.mfd914(this); };  this.GetImagesFolder =function() { return this.LayoutSettings.ImagesDirectory; };  this.ShowDropDown =function(vf5724) { return wc4c990.m62663(this,vf5724); };  this.HideDropDown =function() { if (this.ResultBox) this.ResultBox.hide(); this.ResultBoxShown =false; this.LastShownPosition =0; };  this.SetSelectedIndex =function(v73977) { var v47016 =this.GetRow(v73977); if (!v47016) return false;  v47016.Select(); return true; };  this.SetSelectedRowByValue =function(v70044) { var v43912 =this.GetRows(); if (!v43912) return false;  for (var v73977=0; v73977<v43912.length; v73977++) { var v11113 =v43912[v73977]; if (v11113.Value ==v70044) { v11113.Select(); return true; } }  return false; };  this.SetText =function(v92d38,ve6555) { this.TextObj.value =this.Text =v92d38; if (ve6555) this.Value =v92d38; this.IsDirty =true; };  this.LoadValue =function(v68319) { if (v68319) this.XmlHttp.Asynchronous =false;  this.SkipLatency =true; wc4c990.m62663(this); this.XmlHttp.Asynchronous =true; };  this.SetValue =function(v70044) { this.Value =v70044; };  this.GetTextBoxValue =function() { return this.TextObj.value; };  this.SetTextBoxValue =function(v70044) { this.TextObj.value =v70044; };  this.GetValidatorValue =function() { return this.GetTextBoxValue(); };  this.ClearSelection =function() { wc4c990.m9fb39(this); this.SetTextBoxValue(""); };  this.NewRow =function(v70044) { var v11113 =new WebComboRow(); v11113.Combo =this; v11113.Cells =new ISArray();  for (var v73977=0; v73977<this.Columns.length; v73977++) { var ve208 =this.Columns[v73977]; if (!ve208.Hidden) { var v6e80 =new WebComboCell(); v6e80.Name =ve208.BaseFieldName; v11113.Cells.Add(v6e80); } }  return v11113;  };  this.GetSelectedValueItem =function() { if (this.Values ==null)return null;  for(var v73977=0; v73977<this.Values.length; v73977++) if (this.Values[v73977].IsSelected)return this.Values[v73977]; return null; };  this.ClearSelectedValueItem =function() { if (this.Values ==null)return null;  for(var v73977=0; v73977<this.Values.length; v73977++) this.Values[v73977].IsSelected =false; };  this.GetRows =function() { if (this.Rows !=null) return this.Rows;  if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode();  var vb9027 =this.GetTData(); var v43912 =new ISArray(); if (vb9027) { for(var v73977=0; v73977<vb9027.rows.length; v73977++) { var v11113 =this.GetRow(v73977); v43912[v43912.length] =v11113; } }  this.Rows =v43912; return v43912; };  this.GetRowsCount =function() { if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode(); var vb9027 =this.GetTData(); if (vb9027) return vb9027.rows.length;  return -1; };  this.GetRow =function(v70044) { if (this.Rows !=null) return this.Rows[v70044];  if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode();  var vb9027 =this.GetTData(); var v11113 =new WebComboRow(); v11113.Setup(vb9027.rows[v70044]); v11113.Position =v70044; v11113.Combo =this; return v11113; };  this.GetTData =function() { if (this.ResultBox) return this.ResultBox.document.getElementById(this.Id +"_tdata"); return null; };  this.GetSelectedRow =function() { if (this.ResultBox) { if (this.SelectedIndex >=0) { var v20d22 =this.GetTData(); return v20d22.rows[this.SelectedIndex]; } } return null; };  this.Disable =function() { this.FrameObj.disabled =true; this.TextObj.disabled =true; this.SearchObj.disabled =true; };  this.Enable =function() { this.FrameObj.disabled =false; this.TextObj.disabled =false; this.SearchObj.disabled =false; };  this.SetFocus =function() { this.TextObj.focus(); }; this.Show =function() { this.FrameObj.style.display =""; };  this.Hide =function() { this.FrameObj.style.display ="none"; };  this.AddItem =function(v7c612,vf7553,v83c61) { if (v83c61 ==null) v83c61 =new ISArray(); else { var v1073 =v83c61; v83c61 =new ISArray(); for (var v73977=0; v73977<v1073.length; v73977++) v83c61.Add(new WebComboCell(v1073[v73977])); } var v47016 =new WebComboRow(); v47016.Text =v7c612; v47016.Value =vf7553; v47016.Cells =v83c61; wc4c990.m7e996(this,v47016); };  this.UpdateUI =function() { wc4c990.m65055(this); };  this.GetXmlResponse =function() { return this.XmlResp; }; this.GetResponseProperty =function(v0df21) { return ISXml.GetNodeText(this.XmlResp,v0df21); };  this.GetLastAction =function() { return this.LastAction; };  this.UpdateState =function() { wc4c990.m76031(this); };  this.DoResize =function() { wc4c990.m42161(this); };  this.UnhighlightRow =function(v47016) { wc4c990.m34c65(this,v47016); };  this.InitializeUnboundMode =function() { wc4c990.mb6037(this); };  this.SearchUnbound =function() { wc4c990.me1024(this); };  this.SetAdditionalFilters =function(v92d38) { wc4c990.mc996(this); this.Set("AdditionalFiltersText",v92d38,true); this.IsDirty =true; this.NeedClearList =true; this.TextObj.value =""; this.LastSelectedIndex =this.SelectedIndex =-1; this.RowIndex =null; try  { wc4c990.m67367(this); } catch(e){} wc4c990.m9fb39(this); };  this.ClearAdditionalFilters =function() { this.SetAdditionalFilters(""); };  this.SetMultipleValues =function(v7c612,vf7553) { if (v7c612 ==null ||vf7553 ==null)return; this.Values =new Array();  var v24d39 =v7c612.split(this.MultipleSelectionSettings.SeparatorChar); var v29841 =vf7553.split(this.MultipleSelectionSettings.SeparatorChar);  if (v24d39.length !=v29841.length)return;  for(var v73977=0; v73977<v24d39.length; v73977++) { var va0d62 =new WebComboValueItem(); va0d62.Text =wc4c990.m3cb56(v24d39[v73977]); va0d62.Value =wc4c990.m3cb56(v29841[v73977]); if (va0d62.Text =="")continue; this.Values[this.Values.length]=va0d62; } };  this.GetMultipleValues =function() { return this.Values; };  this.GetMultipleValuesText =function() { if (this.Values ==null)return ""; var v92d38 ="";  for (var v73977=0; v73977<this.Values.length; v73977++) v92d38 +=this.Values[v73977].Text +this.MultipleSelectionSettings.SeparatorChar +" ";  return v92d38; };  this.GetMultipleValuesValue =function() { if (this.Values ==null)return ""; var v92d38 ="";  for (var v73977=0; v73977<this.Values.length; v73977++) v92d38 +=this.Values[v73977].Value +this.MultipleSelectionSettings.SeparatorChar +" ";  return v92d38; };  this.RefreshValueItems =function() { wc4c990.mf8324(this); };  this.RefreshTextByValueItems =function() { wc4c990.m48076(this); };  this.ClearResultBox =function() { wc4c990.m67367(this); };}function WebComboLinkSettings(){ this._Type ="LinkSettings"; ISObject.call(this); this.Enabled =false; this.FilterDataMember =""; this.ParentFilterMode ="UseDataValueField"; this.ParentWebComboID =""; this.ResolvedParentWebComboID =""; this.ParentWebCombo =null; this.ParentEmptyAction ="PromptMessage"; this.SkipQueryTextField =false;  this.ResolveParentWebCombo =function() { if (this.Enabled) { if (this.ParentWebComboID =="") { alert("ParentWebComboID is required to enable Link feature! LinkSettings is now disabled!"); this.Enabled =false; return; }  var v2b179 =this.ResolvedParentWebComboID.split(","); for(var v7e540=0; v7e540<v2b179.length; v7e540++) { var v0fb32 =v2b179[v7e540].replace(new RegExp(" ","g"),""); if (v0fb32 !="") { var v4d077 =ISGetObject(v0fb32); if (!v4d077) { alert("The specified Parent WebCombo ID '" +v0fb32 +"' can't be found in this Page. LinkSettings is now disabled!"); this.Enabled =false; return; } else { if (v4d077.ClassName &&v4d077.ClassName =="WebCombo") { if (v4d077.LinkSettings.Enabled &&v4d077.LinkSettings.ParentWebComboID.indexOf(this.Parent.ClientID)>-1) { alert("The specified Parent WebCombo ID '" +v0fb32 +"' contains reference to this instance as its ParentWebComboID and will cause infinite loops. LinkSettings is now disabled!"); this.Enabled =false; return; }  if (v4d077.MultipleSelectionSettings.Enabled) { alert("The parent WebCombo ID '" +v0fb32 +"' has MultipleSelection feature enabled. The LinkSettings is now disabled!"); this.Enabled =false; return; }  v4d077.HasLinkedChilds =true; if (v4d077.LinkedChilds ==null) v4d077.LinkedChilds =new Array(); v4d077.LinkedChilds[v4d077.LinkedChilds.length] =this.Parent;  if (this.ParentWebCombo ==null) this.ParentWebCombo =new Array();  this.ParentWebCombo[this.ParentWebCombo.length] =v4d077; } else { alert("The specified Parent WebCombo ID '" +v0fb32 +"' is found in this Page, however it is not the type of WebCombo. LinkSettings is now disabled!"); this.Enabled =false; return; } } } } } };}function WebComboMultipleSelectionSettings(){ this._Type ="MultipleSelectionSettings"; ISObject.call(this); this.Enabled =false; this.SeparatorChar =";"; this.ItemContextMenu =null; this.AllowNotInListText =false; this.AutoSelectFirstMatch =true; this.AllowBrowseAll =false; this.AutoPositionResultBox =true;}function WebComboValueItem(){ this._Type ="WebComboValueItem"; ISObject.call(this); this.Text =""; this.Value =""; this.Position =-1; this.StartPos =-1; this.EndPos =-1; this.IsInsert =false; this.IsSelected =false;}function InitWC30(vac610){ var vfd426 =wc4c990.m07b90(vac610); vfd426.OnInitialize();}var wc4c990 ={ Initialized: false,  m07b90:function(va4489) { var v5fc5 =new WebCombo(va4489); wc4c990.m72553(v5fc5); wc4c990.m69369(v5fc5); wc4c990.mf8054(v5fc5); v5fc5.IsInit =true; return v5fc5; },  m72553:function(vde08) { if (vde08==null)return; if (!vde08.IsInit) { var v61089 =null;  try { v61089 =ISXml.GetNode(vde08.XmlDt,"//WebCombo"); } catch(e) {} if (v61089 ==null) v61089 =vde08.XmlDt.documentElement;  if (v61089!=null) { IS.SetPropertiesRecursive(vde08,v61089); vde08.TextObj =document.getElementById(vde08.Id +"_text"); vde08.SearchObj =document.getElementById(vde08.Id +"_search"); vde08.LayoutSettings.FrameStyle =DynamicStyleEngine.Assign(ISXml.GetNode(vde08.XmlDt,"//FrameStyle"),vde08.FrameObj); vde08.LayoutSettings.TextBoxStyle =DynamicStyleEngine.Assign(ISXml.GetNode(vde08.XmlDt,"//TextBoxStyle"),vde08.TextObj); vde08.LayoutSettings.DropDownStyle =DynamicStyleEngine.Assign(ISXml.GetNode(vde08.XmlDt,"//DropDownStyle"),vde08.SearchObj); vde08.LayoutSettings.RowStyle =DynamicStyleEngine.Assign(ISXml.GetNode(vde08.XmlDt,"//RowStyle")); vde08.LayoutSettings.MoreButtonStyle =DynamicStyleEngine.Assign(ISXml.GetNode(vde08.XmlDt,"//MoreButtonStyle")); } } },  m69369:function(v99e36) { window.attachEvent("onunload",function(){wc4c990.me5652(v99e36)}); window.attachEvent("onload",function(){wc4c990.m91d2(v99e36)}); document.body.attachEvent("onclick",function(){wc4c990.m54261(v99e36)});  var v8b080 =v99e36.FrameObj; Listener.Add(v8b080,"onmouseover",function(){wc4c990.mad58(v99e36)}); Listener.Add(v8b080,"onmouseout",function(){wc4c990.me994(v99e36)});  var v16f41 =v99e36.TextObj; Listener.Add(v16f41,"onfocus",function(){wc4c990.m0f521(v99e36)}); Listener.Add(v16f41,"onblur",function(){wc4c990.m46398(v99e36)}); Listener.Add(v16f41,"onbeforedeactivate",function(){wc4c990.mbc226(v99e36)}); Listener.Add(v16f41,"onkeydown",function(){wc4c990.maf497(v99e36)}); Listener.Add(v16f41,"onkeyup",function(){wc4c990.m39e51(v99e36)}); Listener.Add(v16f41,"onkeypress",function(){wc4c990.md4031(v99e36)}); Listener.Add(v16f41,"onmousedown",function(){wc4c990.m0b234(v99e36)}); Listener.Add(v16f41,"onmouseup",function(){wc4c990.m14674(v99e36)}); Listener.Add(v16f41,"onclick",function(){wc4c990.m94830(v99e36)}); Listener.Add(v16f41,"ondragstart",function(){return wc4c990.m8f349(v99e36)}); Listener.Add(v16f41,"onselectstart",function(){return wc4c990.m94951(v99e36)}); Listener.Add(v16f41,"ondblclick",function(){return wc4c990.m40946(v99e36)}); Listener.Add(v16f41,"oncontextmenu",function(){wc4c990.m95948(v99e36)});  var ve948 =v99e36.SearchObj; Listener.Add(ve948,"onmousedown",function(){wc4c990.m0b234(v99e36)}); v99e36.XmlHttp =ISXmlHttpEngine.Create(v99e36,function(){wc4c990.mec872(g);});  },  m8b016:function(vca819) { window.detachEvent("onunload",function(){wc4c990.me5652(vca819)}); window.detachEvent("onload",function(){wc4c990.m91d2(vca819)}); window.document.body.detachEvent("onclick",function(){wc4c990.m54261(vca819)}); },  mf8054:function(v24719) { },  m91d2:function(v7c194) { wc4c990.m42161(v7c194); var vf6e19 =v7c194.FrameObj.parentElement; if (vf6e19) { if (vf6e19.tagName =="BODY" ||vf6e19.tagName =="TD") { Listener.Add(vf6e19,"onresize",function(){wc4c990.m42161(v7c194);}); } }  if (v7c194.HasLinkedChilds &&v7c194.Value !=null &&v7c194.Value !="") { for(var v46660=0; v46660<v7c194.LinkedChilds.length; v46660++) { var v18742 =v7c194.LinkedChilds[v46660]; if (!v18742.IsDataBound) { wc4c990.mb4d12(v18742,v7c194); } } } },  me5652:function(v42130) {  },  m54261:function(v6e630) { if (event.srcElement !=v6e630.SearchObj) v6e630.ResultBoxShown =false; },  m42161:function(v60c69) { var v9e166 =v60c69; var vf5a88 =(v9e166.FrameObj.offsetWidth -v9e166.FrameObj.clientWidth)*2; if (v9e166.FrameObj.offsetWidth <50) { event.returnValue =false; return false; } v9e166.TextObj.style.width =v9e166.FrameObj.offsetWidth -v9e166.SearchObj.offsetWidth -vf5a88; },  mad58:function(vdcf5) { if (!vdcf5.IsTextObjFocused) { vdcf5.LayoutSettings.FrameStyle.SetToOver(); vdcf5.LayoutSettings.TextBoxStyle.SetToOver(); vdcf5.LayoutSettings.DropDownStyle.SetToOver(); } },  me994:function(va675) { if (!va675.IsTextObjFocused) { va675.LayoutSettings.FrameStyle.SetToNormal(); va675.LayoutSettings.TextBoxStyle.SetToNormal(); va675.LayoutSettings.DropDownStyle.SetToNormal(); } },  m0f521:function(v5655) { if (v5655.TextObj &&!v5655.TextObj.readOnly &&!v5655.MultipleSelectionSettings.Enabled) v5655.TextObj.select();  v5655.LayoutSettings.FrameStyle.SetToActive(); v5655.LayoutSettings.TextBoxStyle.SetToActive(); v5655.LayoutSettings.DropDownStyle.SetToActive(); v5655.IsTextObjFocused =true; },  m95948:function(v40224) { if (v40224.MultipleSelectionSettings.Enabled) { if (v40224.Values ==null)return; var va1541 =v40224.GetSelectedValueItem(); if (va1541) { ISEvent.Raise(v40224.LayoutSettings.ClientSideEvents.OnValueItemContextMenu,v40224.Id,va1541); } } },  mbc226:function(vcdf60) { if (vcdf60.LayoutSettings.ResultBoxWindowType =="Normal") { if (event &&event.toElement) { if (vcdf60.ResultBox &&vcdf60.ResultBox.document) { var v46724 =vcdf60.ResultBox.document.getOwnerDocument(); if (v46724.contains(event.toElement)) { vcdf60.EventInResultBox =true; return false; } } } } vcdf60.EventInResultBox =false; },  m46398:function(vd5296) { if (IS.moz) { if (event &&event.srcElement) { if (vd5296.ResultBox &&vd5296.ResultBox.document) { var ve6196 =vd5296.ResultBox.document.getOwnerDocument(); if (ve6196.contains(event.srcElement)) return false; } } } else if (vd5296.EventInResultBox)return false; vd5296.IsTextObjFocused =false; vd5296.ResultBoxShown =false; wc4c990.me994(vd5296); if (!ISEvent.Raise(vd5296.LayoutSettings.ClientSideEvents.OnLostFocus,vd5296.Id))return; if (vd5296.ResultBox ==null &&vd5296.LayoutSettings.EntryMode !="InstantLookup")return; if (vd5296.Value ==null &&wc4c990.mfd914(vd5296)) wc4c990.m28528(vd5296); else { if (vd5296.MultipleSelectionSettings.Enabled) { if (!vd5296.MultipleSelectionSettings.AllowNotInListText) { wc4c990.mf8324(vd5296); if (wc4c990.m6cb69(vd5296)) wc4c990.m48076(vd5296); } } else { if (!vd5296.AllowAdd) { if (vd5296.GetTextBoxValue()!="") { if (vd5296.LayoutSettings.EntryMode !="InstantLookup") { if (vd5296.RequestId ==0) wc4c990.mf6e33(vd5296); } else  { if (vd5296.IsDataBound) { if (vd5296.Value ==null ||vd5296.Value =="" ||vd5296.IsDirty) { vd5296.IsDirty =true; wc4c990.m62663(vd5296); return; } } else { if (vd5296.IsDirty) { wc4c990.mb6037(vd5296); wc4c990.me1024(vd5296); if (vd5296.SelectedIndex >-1) wc4c990.m28528(vd5296); else vd5296.Value =null;  if (vd5296.Value ==null ||vd5296.Value =="") wc4c990.m62663(vd5296); else wc4c990.mfdf68(vd5296,true);  vd5296.IsDirty =false; } } } } else  { wc4c990.m9fb39(vd5296); if (vd5296.HasLinkedChilds &&vd5296.LinkedChilds !=null) wc4c990.mb2e88(vd5296); } } else  { if (!wc4c990.mfd914(vd5296)) { if (vd5296.GetTextBoxValue()!="") wc4c990.m7e996(vd5296); else  wc4c990.m9fb39(vd5296); } else  { wc4c990.m28528(vd5296); wc4c990.mfdf68(vd5296,true); } } } } vd5296.UpdateState(); },  maf497:function(v8ab76) { var vb3716 =v8ab76; var v0ae65; var vc1135 =false; var ve2893 =false; var va7f31 =true; vb3716.LastEventType ="Key"; vb3716.LastKeyCode =event.keyCode; vb3716.LastCtrlKey =event.ctrlKey; vb3716.LastKeyDownHandled =false; try  { v0ae65 =vb3716.GetTData(); var vd1743 =v0ae65.parentElement; } catch (e) { if (event.keyCode !=9 &&event.keyCode !=27 &&event.keyCode !=13 &&!event.shiftKey &&!event.ctrlKey) { var v96666 =true; if (event.keyCode ==18 &&event.altKey)return; if (vb3716.MultipleSelectionSettings.Enabled) { if (event.keyCode ==ISKeyboardKey.LEFT ||event.keyCode ==ISKeyboardKey.RIGHT ||((event.keyCode ==ISKeyboardKey.BACKSPACE ||event.keyCode ==ISKeyboardKey.DELETE)&&IS.moz &&!vb3716.ResultBoxShown)) v96666 =false; }  if (v96666) { minChars =vb3716.MinCharsToRequest; if (vb3716.TextObj.value.length >=minChars) { if (vb3716.LayoutSettings.EntryMode !="InstantLookup") wc4c990.m62663(v8ab76,false); } } }  if ((vb3716.LayoutSettings.EntryMode =="InstantLookup" &&(event.keyCode ==9 ||event.keyCode ==13))||(vb3716.MultipleSelectionSettings.Enabled &&(event.keyCode ==8 ||event.keyCode ==46 ||event.keyCode ==32 ||event.keyCode ==ISKeyboardKey.LEFT ||event.keyCode ==ISKeyboardKey.RIGHT ||vb3716.GetSelectedValueItem()!=null))) { }else return; }  if (event.keyCode ==40 ||event.keyCode==34) { if (event.altKey) { wc4c990.m62663(v8ab76,true); return; }  if (wc4c990.mfd914(vb3716)) wc4c990.m34c65(v8ab76,v0ae65.rows[vb3716.LastSelectedIndex]);  if (event.keyCode ==40) { if (vb3716.MultipleSelectionSettings.Enabled &&!vb3716.IsDataBound) vb3716.LastSelectedIndex =wc4c990.m9e081(v0ae65,vb3716.LastSelectedIndex); else { if (!vb3716.IsDataBound &&vb3716.LinkSettings.Enabled) vb3716.LastSelectedIndex =wc4c990.m9e081(v0ae65,(vb3716.LastSelectedIndex ==-1 ? 0 : vb3716.LastSelectedIndex)); else vb3716.LastSelectedIndex++; } } else vb3716.LastSelectedIndex +=vb3716.DropDownRows;  if (vb3716.LastSelectedIndex >=v0ae65.rows.length) { if (vb3716.TotalRetrievedRows <vb3716.TotalRows) { wc0b234.m7cf7(v8ab76); ve2893 =true; } if (ve2893 ||event.keyCode ==34)vb3716.LastSelectedIndex =v0ae65.rows.length-1; }  if (vb3716.LastSelectedIndex >v0ae65.rows.length &&!ve2893) { if (!vb3716.IsDataBound &&vb3716.LinkSettings.Enabled) vb3716.LastSelectedIndex =-1; else vb3716.LastSelectedIndex =0; } vb3716.SelectedIndex =vb3716.LastSelectedIndex;  if (vb3716.LastSelectedIndex <v0ae65.rows.length) { var v46217 =v0ae65.rows[vb3716.LastSelectedIndex]; wc4c990.mc8f16(v8ab76,v46217); } vc1135 =true; } else if (event.keyCode ==38 ||event.keyCode==33) { if (wc4c990.mfd914(vb3716)) wc4c990.m34c65(vb3716,v0ae65.rows[vb3716.LastSelectedIndex]);  if (event.keyCode ==38) { if (vb3716.MultipleSelectionSettings.Enabled &&!vb3716.IsDataBound) vb3716.LastSelectedIndex =wc4c990.m4e781(v0ae65,vb3716.LastSelectedIndex); else { if (!vb3716.IsDataBound &&vb3716.LinkSettings.Enabled) vb3716.LastSelectedIndex =wc4c990.m4e781(v0ae65,vb3716.LastSelectedIndex ==-1 ? v0ae65.rows.length-1 : vb3716.LastSelectedIndex,true); else vb3716.LastSelectedIndex--; } } else  { vb3716.LastSelectedIndex -=vb3716.DropDownRows; if (vb3716.LastSelectedIndex <-1)vb3716.LastSelectedIndex =0; } if (vb3716.LastSelectedIndex <-1)vb3716.LastSelectedIndex =v0ae65.rows.length-1; vb3716.SelectedIndex =vb3716.LastSelectedIndex;  if (vb3716.LastSelectedIndex >=0) { var v46217 =v0ae65.rows[vb3716.LastSelectedIndex]; wc4c990.mc8f16(vb3716,v46217); }  vc1135 =true; } else if (event.keyCode ==27) { wc4c990.mf6e33(vb3716); vc1135 =true; } else if (event.keyCode ==13) { if (vb3716.MultipleSelectionSettings.Enabled &&vb3716.LayoutSettings.TextBoxMode =="ReadOnly") { wc4c990.mccc80(vb3716); vc1135 =true; } else {  vb3716.HideDropDown();  if (vb3716.AllowAdd &&!wc4c990.m0a00(vb3716)) { wc4c990.m7e996(vb3716); va7f31 =false; } else  { if (!vb3716.ResultBoxShown &&vb3716.LayoutSettings.EntryMode =="InstantLookup") { if (vb3716.LastSelectedIndex ==-1) { wc4c990.m62663(vb3716,false); va7f31 =false; } else { wc4c990.m28528(v8ab76); } } else { wc4c990.m28528(v8ab76); if (vb3716.MultipleSelectionSettings.Enabled) { if (vb3716.LastSelectedIndex !=-1) { if(!wc4c990.mdf694(v8ab76,v8ab76.LastQueryMultiple)) wc4c990.m6ac81(v8ab76); } } else { if (!vb3716.MultipleSelectionSettings.AllowNotInListText) wc4c990.m02918(v8ab76); else wc4c990.m6ac81(v8ab76,true); } } } } vb3716.ResultBoxShown =false; vc1135 =true; } else if (event.keyCode ==8 ||event.keyCode ==46) { if (v8ab76.MultipleSelectionSettings.Enabled) { var v89a72; var vf1a4 =v8ab76.GetSelectedValueItem();  if (vf1a4 ==null) { if (event.keyCode ==ISKeyboardKey.BACKSPACE) v89a72 =wc4c990.m01935(v8ab76,"Previous"); else v89a72 =wc4c990.m01935(v8ab76,"Next"); } else { v89a72 =wc4c990.m01935(v8ab76,"Next",true); v8ab76.ClearSelectedValueItem(); wc4c990.mf8324(v8ab76); wc4c990.m18d28(v8ab76.TextObj,vf1a4.StartPos,true); }  if (v89a72) { vc1135 =true; va7f31 =false; } } } else if (event.keyCode ==ISKeyboardKey.LEFT) { if (v8ab76.MultipleSelectionSettings.Enabled) wc4c990.m7d86(v8ab76,"Previous"); } else if (event.keyCode ==ISKeyboardKey.RIGHT) { if (v8ab76.MultipleSelectionSettings.Enabled) { var v89a72 =wc4c990.m7d86(v8ab76,"Next"); if (v89a72) { vc1135 =true; va7f31 =false; } }  } else if (event.keyCode ==9) { wc4c990.m28528(v8ab76); if (vb3716.ResultBoxShown) { if (vb3716.MultipleSelectionSettings.Enabled) { vc1135 =true; va7f31 =false; if (vb3716.LastSelectedIndex !=-1) { if(!wc4c990.mdf694(v8ab76,v8ab76.LastQueryMultiple)) { wc4c990.m6ac81(v8ab76); if (IS.moz ||v8ab76.LayoutSettings.ResultBoxWindowType =="Normal") v8ab76.HideDropDown(); } else vc1135 =false; } else { var v3a660 =wc4c990.md580(v8ab76.TextObj); if (v3a660 <v8ab76.TextObj.value.length) { if (!vb3716.MultipleSelectionSettings.AllowNotInListText) wc4c990.m02918(v8ab76); else wc4c990.m6ac81(v8ab76,true); } else vc1135 =false; } } } } else { if (vb3716.MultipleSelectionSettings.Enabled) { if (event.keyCode ==ISKeyboardKey.SPACE &&event.ctrlKey &&vb3716.MultipleSelectionSettings.AllowBrowseAll) { if (vb3716.IsDataBound) wc4c990.m62663(vb3716);  vc1135 =true; va7f31 =false; } else if (event.keyCode ==ISKeyboardKey.SPACE &&vb3716.MultipleSelectionSettings.Enabled &&vb3716.LayoutSettings.TextBoxMode =="ReadOnly") { wc4c990.mccc80(v8ab76);  vc1135 =true; va7f31 =false; } else { var v2c616 =ISKeyboardKey.GetChar();  if (wc4c990.m38791(vb3716.TextObj)&&(ISKeyboardKey.IsLetter(event.keyCode)||ISKeyboardKey.IsNumber(event.keyCode))) { if (vb3716.Values !=null) vb3716.Values =null; return; } else if (v8ab76.GetSelectedValueItem()!=null &&(ISKeyboardKey.IsLetter(event.keyCode)||ISKeyboardKey.IsNumber(event.keyCode))) { v89a72 =wc4c990.m01935(v8ab76,"Next",true); v8ab76.ClearSelectedValueItem(); wc4c990.mf8324(v8ab76); }  if (v2c616 ==vb3716.MultipleSelectionSettings.SeparatorChar &&vb3716.LastQueryMultiple !=null) { if (vb3716.LastQueryMultiple.Text !="") { if (vb3716.LastSelectedIndex !=-1) { if(!wc4c990.mdf694(v8ab76,v8ab76.LastQueryMultiple)) { wc4c990.m28528(v8ab76); wc4c990.m6ac81(v8ab76); vb3716.LastQueryMultiple =null; } } else { if (!vb3716.MultipleSelectionSettings.AllowNotInListText) wc4c990.m02918(v8ab76); else wc4c990.m6ac81(v8ab76,true); } }  if (vb3716.ResultBoxShown) vb3716.HideDropDown();  vc1135 =true; va7f31 =false; } } } } if (vc1135) { vb3716.LastKeyDownHandled =true; if (event.keyCode !=27) { if (va7f31) { if (!vb3716.MultipleSelectionSettings.Enabled) wc4c990.mfdf68(vb3716); } } event.cancelBubble =true; event.returnValue =false; return false; }  return true; },  md4031:function(v31f48) { if (IS.moz) { if (v31f48.LastKeyDownHandled) { event.cancelBubble =true; event.returnValue =false; return false; } } },  m8f349:function(v0a048) { if (v0a048.MultipleSelectionSettings.Enabled) return false; },  m94951:function(v1f131) { var v03231 =event; if (v1f131.MultipleSelectionSettings.Enabled) { if (v1f131.IsMouseDown) return false; }  return true; },  m40946:function(v75a51) { if (v75a51.MultipleSelectionSettings.Enabled) { var vd3d67 =wc4c990.md580(v75a51.TextObj); var v1444 =v75a51.GetSelectedValueItem();  if(!v1444) wc4c990.m18d28(v75a51.TextObj,vd3d67,true); } },  m39e51:function(vca66) { var v87b87 =vca66;  if (event.keyCode ==8 ||event.keyCode ==46) { if (vca66.MultipleSelectionSettings.Enabled) { if (vca66.TextObj.value =="") { if (vca66.Values !=null) vca66.Values =null; } } } if (event && (event.keyCode ==40 ||event.keyCode ==38 ||event.keyCode ==37 ||event.keyCode ==39 ||event.keyCode ==34 ||event.keyCode ==33 ||event.keyCode ==27 ||event.keyCode ==16 ||(event.keyCode ==17 &&!vca66.MultipleSelectionSettings.Enabled)||event.keyCode ==35 ||event.keyCode ==36 ||event.keyCode ==36 ||event.keyCode ==20 ||event.keyCode ==18 ||event.keyCode ==145 ||event.keyCode ==19 ||event.keyCode ==144 ||event.keyCode ==13 ||event.keyCode ==9) ) { } else { if (vca66.MultipleSelectionSettings.Enabled) { if (vca66.LayoutSettings.TextBoxMode =="ReadOnly" &&!vca66.IsDataBound) return; else if (IS.moz &&!vca66.ResultBoxShown &&(event.keyCode ==ISKeyboardKey.BACKSPACE ||event.keyCode ==ISKeyboardKey.DELETE)) return; }  if (v87b87.LastQuery !=v87b87.TextObj.value ||v87b87.IsDirty ||(event.ctrlKey &&vca66.MultipleSelectionSettings.Enabled)) { v87b87.IsDirty =true; if (v87b87.IsDataBound) { v87b87.NeedClearList =true; v87b87.LastSelectedIndex =v87b87.SelectedIndex =-1; v87b87.RowIndex =null; } minChars =v87b87.MinCharsToRequest; if (v87b87.TextObj.value.length >=minChars) { if (v87b87.LayoutSettings.EntryMode !="InstantLookup") { wc4c990.m62663(v87b87,false); } else  { if (v87b87.ResultBoxShown) v87b87.HideDropDown(); } } else { wc4c990.mc996(vca66); wc0b234.me3265(vca66); return true; } } else  { v87b87.IsDirty =false; } }  if (v87b87.IsDirty) { if (v87b87.IsDataBound) { if (!v87b87.MultipleSelectionSettings.Enabled) wc4c990.m2ca15(v87b87,v87b87.LayoutSettings.TextSettings.SearchText +" '" +v87b87.TextObj.value +"'"); else wc4c990.m2ca15(v87b87,v87b87.LayoutSettings.TextSettings.LoadingText); } } return true; },  m0b234:function(v4e462) { var v17c78 =event.srcElement; v4e462.IsMouseDown =true;  if (v17c78 ==v4e462.SearchObj ||v4e462.SearchObj.contains(v17c78)) { v4e462.LastEventType ="Mouse"; v4e462.LastKeyCode =0; wc4c990.m62663(v4e462,true); } else if (v17c78 ==v4e462.TextObj &&v4e462.LayoutSettings.TextBoxMode =="ReadOnly") { v4e462.LastEventType ="Mouse"; v4e462.LastKeyCode =0; wc4c990.m62663(v4e462,true); } },  m14674:function(v23b98) { v23b98.IsMouseDown =false; },  m94830:function(v9388) { var v53f98 =event.srcElement; if (v53f98 ==v9388.TextObj &&v9388.MultipleSelectionSettings.Enabled &&v9388.Values !=null ) { var va1a71 =wc4c990.md580(v9388.TextObj);  if (v9388.GetSelectedValueItem()==null ||va1a71 >0) { var ve7559 =wc4c990.m49593(v9388); var v9541 =ve7559[0]; var vd6292 =ve7559[1]; var v59685 =v9388.Values[vd6292];  if (v59685) { if (va1a71 >v59685.StartPos) { v9388.ClearSelectedValueItem(); v59685.IsSelected =true; wc4c990.mf8324(v9388); wc4c990.me7856(v9388,v59685,va1a71); } else v9388.ClearSelectedValueItem(); } else v9388.ClearSelectedValueItem(); } else { var v59685 =v9388.GetSelectedValueItem(); wc4c990.mf8324(v9388); wc4c990.me7856(v9388,v59685); } } },  m9e081:function(v5d883,vd3518) { var v0db28 =v5d883.rows[vd3518]; if (!v0db28)return vd3518;  var v08839 =v0db28.rowIndex; if (v08839 ==v5d883.rows.length -1) return 0; else { while (true) { v08839++; var v0db28 =v5d883.rows[v08839]; if (!v0db28) return v08839+1;  if (v0db28.style.display !="none") return v08839; } }  return -1; },  m4e781:function(v1b758,ve3a7,vdce34) { var v7e139 =v1b758.rows[ve3a7]; if (!v7e139)return ve3a7;  var v47a97 =v7e139.rowIndex; if (v47a97 ==-1) { return wc4c990.m4e781(v1b758,v1b758.rows.length-1); } else { while (true) { v47a97--; var v7e139 =v1b758.rows[v47a97]; if (!v7e139) { if (vdce34) return -1; else return v47a97-1; }  if (v7e139.style.display !="none") return v47a97; } }  },  m5d830:function(vc5789) { if (vc5789.MultipleSelectionSettings.Enabled)return;  var v5e533 =wc4c990.md5b32(vc5789.TextObj.value); var v34296 =vc5789.Value; if (v34296 !="")v34296 =wc4c990.m32a94(v34296); vc5789.Text =v5e533; vc5789.Value =v34296; if (v5e533 !="") { vc5789.LastQuery =v5e533; vc5789.TextObj.value =v5e533; } else  vc5789.LastQuery =null; },  md5b32:function(vcb544) { var v7698 =new RegExp(unescape("%A0"),"img"); return vcb544.replace(v7698," " ); }, m7e996:function(v3913,v93682) { var v02428 =v3913; var v6c894; if (v02428.IsOnAdd)return true;  if (v93682) v6c894 =v93682; else  { v6c894 =new WebComboRow(); v6c894.Text =v02428.TextObj.value; v6c894.Value =v6c894.Text; }  if (v6c894.Text =="")return true;  v02428.NewRowObj =v6c894; v02428.IsOnAdd =true; if (!v93682) { if (!ISEvent.Raise(v3913.LayoutSettings.ClientSideEvents.OnAddItem,v3913.Id)) { v02428.IsOnAdd =false; return;  } } v02428.IsOnAdd =false;  if (v02428.IsDataBound) { if (!v93682) { if ((v02428.TotalRetrievedRows >0 &&wc4c990.mfd914(v02428))||!v02428.ResultBox ||v02428.IsInProgress) return; } else  if (v02428.IsInProgress)return;  wc4c990.mcbe8(v02428,"AddItem"); }else wc4c990.m86052(v02428);  },  mbe922:function(v9ae21) { var v11f58 =v9ae21; var ve0a62 =v11f58.LayoutSettings.StatusBoxPosition; var v7b142 =v9ae21.ResultBox.document; var v0d897 =""; var v9e566 =""; var v59098 =v9ae21.Id; var vfc351 =new Array("ResultFrame","ResultBox","StatusBox","Row","Header","Column","SelectedRow","MoreButton"); var va3238 =v7b142.body; if (IS.ie &&v9ae21.LayoutSettings.ResultBoxWindowType =="Popup") { for (var v47384=0; v47384<vfc351.length; v47384++) { var v23452 =v7b142.createStyleSheet(); var vdfd63 =v9ae21.LayoutSettings[vfc351[v47384] +"Style"]; if (typeof(vdfd63)=="string") IS.AddStyleRule(v23452,v9ae21.Id,vdfd63); else if (typeof(vdfd63)=="object") DynamicStyleEngine.AddStyleRule(v23452,v9ae21.Id,vdfd63); } } else va3238 =v7b142.getOwnerDocument();  va3238.className =v11f58.LayoutSettings.ResultFrameStyle; va3238.scroll ="no"; va3238.style.margin =va3238.style.padding ="0px";  if (IS.moz) va3238.style.overflow ="hidden"; if (v11f58.LayoutSettings.StatusBoxVisible) { v9e566 +="<table id='" +v59098 +"_tstatus' class='" +v11f58.LayoutSettings.StatusBoxStyle +"' cellspacing=0 cellpadding=0 style='padding: 3px; width: 100%;" +"' >"; v9e566 +="<tr><td id='" +v59098 +"_tdstatus' noWrap width='100%'><span id='" +v59098 +"_spstatus' style='text-overflow: ellipsis; overflow: hidden; width: 100%'>Ready.</span></td><td noWrap align='right'>"; if (v11f58.LayoutSettings.AlwaysShowHelpButton)v9e566 +="<img alt='" +v9ae21.LayoutSettings.TextSettings["HelpTitleText"] +"' onclick=\"parent.WC30Help('" +v9ae21.Id +"')\" style='cursor: hand' src='" +v11f58.GetImagesFolder()+v11f58.LayoutSettings.HelpImage +"'>"; v9e566 +="</td></tr>"; v9e566 +="</table>"; } if (ve0a62 =="Top" ) v0d897 +=v9e566;  if (v11f58.LayoutSettings.ComboMode =="MultipleColumns") { if (v11f58.LayoutSettings.AlwaysShowColumnHeaders) { var v10466 =v11f58.Columns; v0d897 +="<div style='width:100%; overflow:hidden'>"; v0d897 +="<table id='" +v59098 +"_theader' cellspacing=0 cellpadding=0 style='table-layout: fixed" +(IS.moz ? ";width:100%" : "")+"'>";  if (IS.moz) { v0d897 +=wc4c990.m5e793(v11f58); }  v0d897+"<tr>";  if (v11f58.MultipleSelectionSettings.Enabled &&!v11f58.IsDataBound &&v11f58.LayoutSettings.TextBoxMode =="ReadOnly") v0d897 +="<td class='" +v11f58.LayoutSettings.HeaderStyle +"' style='width: 25px'>&nbsp;</td>";  for (var v47384=0; v47384<v10466.length; v47384++) { if (!v10466[v47384].Hidden) v0d897 +="<td class='" +v11f58.LayoutSettings.HeaderStyle +"' style='width: " +v10466[v47384].Width +";" +"'>" +v10466[v47384].HeaderText +"</td>"; } v0d897 +="</tr></table></div>"; } }  v0d897 +="<div style='width:100%; height:" +(v11f58.LayoutSettings.ResultBoxHeight-20)+"px; overflow-y: auto; " +(v11f58.LayoutSettings.ComboMode =="SingleColumn" ? "overflow-x: hidden" : "overflow-x:auto")+(IS.moz ? ";overflow:auto" : "")+"'>"; v0d897 +="<table id='" +v59098 +"_tdata' class='" +v11f58.LayoutSettings.ResultBoxStyle +"' cellspacing=0 cellpadding=0 style='width: 100%; cursor: default; table-layout: fixed;'>";  if (IS.moz) { v0d897 +=wc4c990.m5e793(v11f58,true); }  v0d897 +="</table>"; v0d897 +="</div>";  if (ve0a62 =="Bottom" ) v0d897 +=v9e566; v0d897 +="<table id='" +v59098 +"_tmore' cellSpacing=0 cellPadding=0 width='100%' style='cursor:pointer'"; v0d897 +=" title='" +v11f58.LayoutSettings.TextSettings["MoreTitleText"] +"'"; v0d897 +=" class='" +v11f58.LayoutSettings.MoreButtonStyle.Normal +"'"; v0d897 +=">"; v0d897 +="<tr><td align='center' style='padding: 2px'><img src='" +v11f58.GetImagesFolder()+"wc_more.gif'></td></tr>"; v0d897 +="</table>"; va3238.innerHTML =v0d897; return v0d897; },  m5e793:function(vdfd79,vce032) { var vb8d40 =""; if (vdfd79.LayoutSettings.ComboMode =="MultipleColumns") { var v86513 =vdfd79.Columns; if (vdfd79.MultipleSelectionSettings.Enabled &&!vdfd79.IsDataBound &&vdfd79.LayoutSettings.TextBoxMode =="ReadOnly") { vb8d40 +="<col width='25'>"; } for (var v39358=0; v39358<v86513.length; v39358++) { if (!v86513[v39358].Hidden) vb8d40 +="<col width='" +(v39358 ==v86513.length-1 &&vce032 ? v86513[v39358].Width -16 : v86513[v39358].Width)+"'>"; } }  return vb8d40; },  mde162:function(v8d245) { var v2af35 =v8d245; var vc7e12 =v2af35.ResultBox; var vfc377;  if (!vc7e12) { if (IS.moz ||v8d245.LayoutSettings.ResultBoxWindowType =="Popup") { vc7e12 =window.createPopup(); vfc377 =vc7e12.document; vfc377.open("text","replace"); vfc377.write("<html><body></body></html>"); vfc377.close(); v2af35.ResultBox =vc7e12; } else { var vc0472 =new WindowInfo(); vc0472.DisplayPosition="Bottom"; vc0472.DisplayType ="Normal"; vc0472.OffsetControlID =v8d245.Id;  var v3ad62 =new WindowPopup(vc0472); vc0472.Popup =v3ad62; v3ad62.Init(); v2af35.ResultBox =v3ad62; v3ad62.document.parentWindow =window; vfc377 =v3ad62.document; }  wc4c990.mbe922(v8d245); wc4c990.m51736(v8d245,vfc377); v2af35.IsDirty =true; } }, mced13:function(vd0112) { if (vd0112._attrInit ||!IS.moz)return;  for (var v14365=0; v14365<vd0112.attributes.length; v14365++) { var vbf679 =vd0112.attributes[v14365].name.toLowerCase(); var vaa914 =new Array("dataValue");  for(var v9cf40=0; v9cf40<vaa914.length; v9cf40++) { if (vaa914[v9cf40].toLowerCase()==vbf679) { vbf679 =vaa914[v9cf40]; break; } }  var v7d76 =vd0112[vbf679]; if (typeof(v7d76)=="undefined") { vd0112[vbf679] =vd0112.attributes[v14365].value; } }  vd0112._attrInit =true; },  m62663:function(v17b70,v3ae36) { var v35a31 =v17b70; if (v35a31.FrameObj.disabled)return; wc4c990.mde162(v17b70); if (v3ae36) { v35a31.IsTextObjFocused =false; if (IS.ie) v35a31.TextObj.focus(); else setTimeout(function(){v35a31.TextObj.focus();},10); if (!v35a31.ResultBoxShown) v35a31.ResultBoxShown =true; else  { v35a31.ResultBoxShown =false; if (v35a31.TextObj.readOnly &&event.srcElement.tagName =="INPUT" &&!v35a31.Grid)v35a31.TextObj.blur(); setTimeout(function(){wc4c990.m0f521(v17b70);},100); event.cancelBubble =true; event.returnValue =false; return; } }  if (v35a31.IsDataBound) { if (v35a31.RequestId !=0) clearTimeout(v35a31.RequestId);  var vcfb16 =v35a31.Latency; if (v35a31.SkipLatency)vcfb16 =1; v35a31.RequestId =setTimeout(function(){wc4c990.mcbe8(v35a31,"LoadData",v3ae36);},(v3ae36)? 100 : vcfb16); } else  { setTimeout("wc4c990.m02139('" +v35a31.Id +"')",(v3ae36)? 100 : v35a31.Latency); } }, m02139:function(v64592) { if (typeof(v64592)=="string")v64592 =ISGetObject(v64592); var v6d826 =v64592; var v29815 =v64592.UnboundDataInitialized; var v76689 =true;  wc4c990.mb6037(v64592);   if (v6d826.IsDirty) { if (v6d826.LinkSettings.Enabled) { var vde476 =wc4c990.m4679(v6d826); if (vde476) { v6d826.ClearSelection(); if (v6d826.LinkSettings.ParentEmptyAction =="PromptMessage") { var v38a93 =v6d826.LayoutSettings.TextSettings.ParentEmptyPromptText; v38a93 =v38a93.replace("{0}",v6d826.LinkSettings.ParentWebComboID); alert(v38a93); } else { wc4c990.mede90(v6d826); } return false; } else { if ((!v29815 ||v6d826.RequireLinkRefresh)&&(v6d826.Value !="" ||v6d826.Text !="")){ if (v6d826.LinkSettings.ParentWebCombo !=null) wc4c990.mb4d12(v6d826,v6d826.LinkSettings.ParentWebCombo[0]); } } } v76689 =wc4c990.me1024(v64592); v6d826.IsDirty =false; v6d826.LastQuery =v6d826.TextObj.value; }  if (v64592.MultipleSelectionSettings.Enabled &&v64592.LayoutSettings.TextBoxMode =="ReadOnly") { wc4c990.m42e19(v64592); v76689 =true; } if (v76689) wc4c990.mede90(v64592,false);  }, mb6037:function(v30186) { var vb0b11 =v30186;  if (!vb0b11.UnboundDataInitialized) { wc4c990.mde162(v30186); var v0f962 =vb0b11.GetTData();  var vf7711 =document.getElementById(v30186.Id +"_udata"); if (vf7711) { wc4c990.meec98(vb0b11,vf7711.outerHTML); vf7711 =wc4c990.m8220(vb0b11); v0f962.appendChild(vf7711.tBodies[0] ); wc4c990.mb7c4(vb0b11); } vb0b11.UnboundDataInitialized =true; } }, m0a00:function(vcf372) { var v49822 =0; var v5d020 =vcf372.DataTextField; var v61282 =vcf372.GetTData(); if (v5d020 !="" &&vcf372.LayoutSettings.ComboMode =="MultipleColumns") { var v15e54 =vcf372.Columns; for (var vc082=0; vc082<v15e54.length; vc082++) { if (v15e54[vc082].BaseFieldName ==v5d020) { v49822 =vc082; break; } } } var v6cb17 =false; for (var vc082=0; vc082<v61282.rows.length; vc082++) { var v8ad38 =v61282.rows[vc082].cells[v49822]; var v62981 =v8ad38.innerText;  if (v62981.toLowerCase()==vcf372.TextObj.value.toLowerCase()&&v62981 !="") { v6cb17 =true; break; } } return v6cb17; },  md4e65:function(v28666) { var vcfb91 =0; var v69f7 =v28666.DataTextField; var v0ea53 =v28666.Columns; if (v69f7 !="" &&v28666.LayoutSettings.ComboMode =="MultipleColumns") { for (var v52345=0; v52345<v0ea53.length; v52345++) { if (v0ea53[v52345].BaseFieldName ==v69f7) { vcfb91 =v52345; break; } } }  return vcfb91; },  mf7f18:function(ve5018,v52979) { var v21738 =ve5018.LinkSettings.ParentWebComboID; var v0c534 =v21738.split(","); var vb8b42 =-1; var v8b393 =ve5018.LinkSettings.FilterDataMember.split(",");  for (var vaba12=0; vaba12<v0c534.length; vaba12++) { var v33972 =v0c534[vaba12].replace(new RegExp(" ","g"),""); if (v33972 ==v52979.Id) { vb8b42 =vaba12; break; } }  if (vb8b42 >-1) { if (vb8b42 >v8b393.length) vb8b42 =0;  return v8b393[vb8b42]; } else { return v8b393[0]; } },  mb4d12:function(v8b143,v61045) { wc4c990.mb6037(v8b143);  var v18b38 =v8b143.GetTData(); var v49b89 =0; var v7c050 =wc4c990.mf7f18(v8b143,v61045); var vf7852 =""; var v7c498 =0;  if (v7c050 =="") { alert("FilterDataMember is required for '" +v8b143.Id +"' when used in Unbound mode."); return; } for (var v22737=0; v22737<v8b143.Columns.length; v22737++) { if (v8b143.Columns[v22737].Hidden &&!v8b143.Columns[v22737].RenderOnHidden)v7c498++; if (v8b143.Columns[v22737].BaseFieldName ==v7c050) { v49b89 =v22737 -v7c498; break; } }  if (v8b143.LinkSettings.ParentFilterMode =="UseDataValueField") vf7852 =v61045.Value; else vf7852 =v61045.Text;  if (vf7852 =="") vf7852 =v61045.Text;  for (var v22737=0; v22737<v18b38.rows.length; v22737++) { var ved891 =v18b38.rows[v22737].cells[v49b89]; var v3d716 =ved891.innerText; wc4c990.m34c65(v8b143,v18b38.rows[v22737]); if (v3d716 !=vf7852) v18b38.rows[v22737].style.display ="none"; else v18b38.rows[v22737].style.display =""; } },  meea15:function(v35248,v6562) { var v0e034 =true;  if (v6562 ==null)return false; wc4c990.mb6037(v35248);  var v7c994 =v35248.GetTData(); var v3ac43 =0; var v29230 =wc4c990.m3cb56(v6562.Text);  if (v29230 =="") { if (v35248.MultipleSelectionSettings.AllowBrowseAll &&v35248.LastEventType =="Key" &&(parseFloat(v35248.LastKeyCode)==ISKeyboardKey.SPACE &&v35248.LastCtrlKey)) {  } else return false; } for (var v2ac7=0; v2ac7<v7c994.rows.length; v2ac7++) { var v81083 =v7c994.rows[v2ac7].cells[v3ac43]; var v5a486 =v81083.innerText; v5a486 =v5a486.substring(0,v29230.length); wc4c990.m34c65(v35248,v7c994.rows[v2ac7]);  if (v5a486.toLowerCase()!=v29230.toLowerCase()) v7c994.rows[v2ac7].style.display ="none"; else v7c994.rows[v2ac7].style.display =""; }  return true; }, me1024:function(v9c745) { var v7af4 =v9c745; var v93481 =v7af4.GetTData(); var v28b14 =wc4c990.md4e65(v9c745); var ve8821 =true; var v07d50 =false;  for (var vfa225=0; vfa225<v93481.rows.length; vfa225++) { wc4c990.m34c65(v9c745,v93481.rows[vfa225]); } if (v9c745.MultipleSelectionSettings.Enabled) { v9c745.LastQueryMultiple =wc4c990.m51851(v9c745); ve8821 =wc4c990.meea15(v9c745,v9c745.LastQueryMultiple); if (!ve8821) { v9c745.HideDropDown(); } else { for (var vfa225=0; vfa225<v93481.rows.length; vfa225++) { if (v93481.rows[vfa225].style.display !="none") { if (wc4c990.mfd914(v7af4)) wc4c990.m34c65(v9c745,v93481.rows[v7af4.LastSelectedIndex]); v7af4.LastSelectedIndex =v7af4.SelectedIndex =vfa225; wc4c990.mc8f16(v9c745,v93481.rows[vfa225]); v07d50 =true; break; } } } } else { for (var vfa225=0; vfa225<v93481.rows.length; vfa225++) { var v7ec20 =v93481.rows[vfa225].cells[v28b14]; var v4d421 =v7ec20.innerText;  if (!v7af4.SensitiveSearch) { if (v4d421.length >v7af4.TextObj.value.length) v4d421 =v4d421.substring(0,v7af4.TextObj.value.length); }  if (v4d421.toLowerCase()==v7af4.TextObj.value.toLowerCase()&&v4d421 !="") { if (wc4c990.mfd914(v7af4)) { wc4c990.m34c65(v9c745,v93481.rows[v7af4.LastSelectedIndex]); } v7af4.LastSelectedIndex =v7af4.SelectedIndex =vfa225; wcGlobal.tempObj =v93481.rows[vfa225]; wc4c990.mc8f16(v9c745,v93481.rows[vfa225]); setTimeout(function(){wc4c990.mf5357(v7af4,wcGlobal.tempObj);},200); v07d50 =true; break; } } }  if (!v07d50) { if (wc4c990.mfd914(v7af4)) { wc4c990.m34c65(v9c745,v93481.rows[v7af4.LastSelectedIndex]); v7af4.LastSelectedIndex =v7af4.SelectedIndex =-1; }  }  return ve8821; },  mf2c13:function(vdde39,v9705) { var v41c0 =v9705.getElementById(vdde39.Id +"_tmore"); var v2c786 =vdde39; var v3ac8 =v2c786.GetTData(); var v18399 =v3ac8.parentElement;  Listener.Unload(v41c0); Listener.Unload(v3ac8); Listener.Unload(v18399); Listener.Unload(v9705);  v9705.detachEvent("onkeydown",function(){WC40PopupEngine.OnKeyDown(vdde39);}); }, m51736:function(va5886,v5ce32) { var vd9595 =v5ce32.getElementById(va5886.Id +"_tmore"); var v4d884 =va5886; var vd1427 =v4d884.GetTData(); var v6a725 =vd1427.parentElement;  if (IS.moz) Listener.Add(vd9595,"onmousedown",wc0b234.m55868,va5886);  Listener.Add(vd9595,"onclick",wc0b234.m7cf7,va5886); Listener.Add(vd9595,"onmouseover",wc0b234.ma5251,va5886); Listener.Add(vd9595,"onmouseout",wc0b234.mab686,va5886); Listener.Add(vd1427,"onmouseover",wc0b234.me3115,va5886); Listener.Add(vd1427,"onmouseout",wc0b234.m89b33,va5886); Listener.Add(vd1427,"onmousedown",wc0b234.m0b779,va5886); Listener.Add(vd1427,"onmouseup",wc0b234.mb2a46,va5886); Listener.Add(vd1427,"ondblclick",wc0b234.me3265,va5886); Listener.Add(vd1427,"onmousemove",wc0b234.m16f81,va5886); Listener.Add(vd1427,"onselectstart",wc0b234.m65c32,va5886);  if (v4d884.LayoutSettings.AllowNavigationOnMouseWheel) Listener.Add(v6a725,"onmousewheel",wc0b234.m47b48,va5886);  if (v4d884.LayoutSettings.ComboMode =="MultipleColumns") Listener.Add(v6a725,"onscroll",wc0b234.mf9274,va5886);  v5ce32.attachEvent("onkeydown",function(){wc0b234.mb6217(va5886);}); }, mede90:function(v07468,vd8439) { var vc3d41 =v07468; var v6fe12 =vc3d41.ResultBox; var v6de15 =vc3d41.FrameObj; var vc3273 =vc3d41.GetTData(); var v58f47 =vc3273.parentElement; var vd219 =v6fe12.document.getElementById(v07468.Id +"_tmore"); var vc0995 =0; var veb049 =false; if (vc3d41.LayoutSettings.EntryMode !="AutoComplete" &&!vc3d41.MultipleSelectionSettings.Enabled) wc4c990.m05e22(vc3d41.TextObj);  var v94b20 =ISPosLib.getScreenLeft(v6de15); if (vc3d41.LayoutSettings.ComboMode =="SingleColumn") if (vc3d41.ResultBoxWidth)vc0995 =vc3d41.ResultBoxWidth; else vc0995 =v6de15.offsetWidth; else  { var v8ee6 =vc3d41.Columns; var v55d59 =0; for (var va3d92=0; va3d92<v8ee6.length; va3d92++) { if (!v8ee6[va3d92].Hidden) v55d59 +=parseInt(v8ee6[va3d92].Width); }  if (IS.moz &&!IsGecko20()) { var vef271 =v6fe12.document.getElementById(v07468.Id +"_theader"); if (vef271) { if (vef271.offsetWidth >v55d59) v55d59 =vef271.offsetWidth; } } else v55d59 +=2;  var v57364 =window.screen.availWidth -v94b20; if (IS.moz) v57364 =document.body.offsetWidth -v94b20 +window.screenLeft -2; if (v55d59 >v57364) { vc0995 =v57364; v58f47.style.overflowX ="scroll"; } else  { vc0995 =v55d59; v58f47.style.overflowX ="hidden"; } }  var vd5d87 =-1; if (IS.ie &&vc3d41.MultipleSelectionSettings.Enabled &&vc3d41.LayoutSettings.TextBoxMode =="Editable" &&vc3d41.MultipleSelectionSettings.AutoPositionResultBox) { if (vc3d41.ResultBox.isOpen)veb049 =true;  var v0be97 =vc3d41.LastQueryMultiple; if (v0be97) { var v3db12 =document.selection.createRange(); var v56729 =v3db12.getBoundingClientRect(); vd5d87 =v56729.left; v94b20 =window.screenLeft +v56729.left;  if (vc3d41.LayoutSettings.ResultBoxWindowType =="Normal") v94b20 =v56729.left;  vc3d41.LastShownPosition =v94b20; } }  if (!veb049) { var v8a143 =vc3d41.LayoutSettings.AdjustResultBoxTop; var v56767 =vc3d41.LayoutSettings.AdjustResultBoxLeft; var v6d032 =ISPosLib.getScreenTop(v6de15)+v6de15.offsetHeight +v8a143; var v33e51 =vc3d41.LayoutSettings.ResultBoxHeight; if (v6d032 +parseFloat(vc3d41.LayoutSettings.ResultBoxHeight)>window.screen.height) v6d032 =ISPosLib.getScreenTop(v6de15)-vc3d41.LayoutSettings.ResultBoxHeight;  if (IS.moz) { v6d032 +=document.body.scrollTop;   }  if (IS.ie &&vc3d41.LayoutSettings.ResultBoxWindowType =="Normal") { var v1b911 =v6fe12.document.getOwnerDocument(); v6d032 =ISPosLib.getTop(v6de15)+v6de15.offsetHeight +v8a143; if (vd5d87 ==-1) v94b20 =ISPosLib.getLeft(v6de15);   if (v6d032 +v33e51 >document.body.offsetHeight +document.body.scrollTop) { var v90539 =ISPosLib.getTop(v6de15)-v33e51 -document.body.scrollTop; var v59631 =v33e51 -((v6d032 +v33e51)-(document.body.offsetHeight +document.body.scrollTop)); if (v90539 <0) { if (v33e51 +v90539 >v59631) { v33e51 =v33e51 +v90539; v90539 =0 +document.body.scrollTop; v6d032 =v90539; } else { v33e51 =v59631-3; } } else { v6d032 =v90539 +document.body.scrollTop; } }  if (v94b20 +vc0995 >document.body.scrollWidth) { v94b20 -=(v94b20 +vc0995)-document.body.scrollWidth +10; }  if (vc0995 <0) vc0995 =v55d59;  v1b911.style.overflow ="hidden"; if (vc3d41.LayoutSettings.ResultBoxShadow) { v1b911.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } }  if (ISEvent.Raise(v07468.LayoutSettings.ClientSideEvents.OnShowDropDown,v07468.Id,v94b20+v56767,v6d032,vc0995,v33e51)) v6fe12.show(v94b20+v56767,v6d032,vc0995,v33e51); }  vc3d41.ResultBoxShown =true;  if (!vc3d41.IsDataBound) { for (var va3d92=0; va3d92<vc3273.rows.length; va3d92++) { vc3273.rows[va3d92].className =vc3273.rows[va3d92].className; } }  if (!vd8439) { if (vc3d41.TotalRetrievedRows <vc3d41.TotalRows) vd219.style.display =""; else vd219.style.display ="none"; if (vc3d41.SelectedIndex >-1 &&vc3d41.LayoutSettings.AlwaysShowAllRowsOnDropdown) setTimeout(function(){wc4c990.mf5357(vc3d41,vc3d41.GetSelectedRow());},50);  v58f47.style.height =wc4c990.m79f76(v07468); }  },  m4679:function(vb3c98) { if (vb3c98.LinkSettings.Enabled) { var v7837 =vb3c98.LinkSettings.ParentWebCombo; if (v7837 !=null) { for (var ve3858=0; ve3858<v7837.length; ve3858++) { var v12588 =v7837[ve3858]; if (v12588.IsDataBound &&(v12588.Value ==null ||v12588.Value =="")) return true; else if (!v12588.IsDataBound) { if (v12588.Value ==null ||v12588.Value =="" ||v12588.Text =="") return true; } } }  return false; } return true; },  m55251:function(v45f48,ve4284) { if (v45f48.IsDirty) { if (v45f48.LinkSettings.Enabled) { var v21b82 =wc4c990.m4679(v45f48); if (v21b82) { v45f48.ClearAdditionalFilters(); if (v45f48.LinkSettings.ParentEmptyAction =="PromptMessage") { var vcba47 =v45f48.LayoutSettings.TextSettings.ParentEmptyPromptText; vcba47 =vcba47.replace("{0}",v45f48.LinkSettings.ParentWebComboID); alert(vcba47); } else { wc4c990.mede90(v45f48); } return false; } }  if (!v45f48.IsMoreRequest) wc4c990.mc996(v45f48); else v45f48.NeedClearList =false; var vef440 =v45f48.MinCharsToRequest; var v2e767 =v45f48.DropDownRows; var v0797 =""; if (v45f48.TextObj.value.length <vef440) { if (!v45f48.ForceDropDown) return; } if (v45f48.MultipleSelectionSettings.Enabled) { v45f48.LastQueryMultiple =wc4c990.m51851(v45f48); v0797 =v45f48.LastQueryMultiple.Text; if (v45f48.LastEventType =="Key" &&v45f48.LastCtrlKey &&v45f48.LastKeyCode ==ISKeyboardKey.SPACE &&v45f48.MultipleSelectionSettings.AllowBrowseAll ||v45f48.IsMoreRequest) { } else { if (v0797 =="" ||wc4c990.m3cb56(v0797)=="") { if (v45f48.ResultBoxShown) v45f48.HideDropDown(); return false; } } } else v0797 =v45f48.TextObj.value; ve4284.setAttribute("action","LoadData"); ve4284.setAttribute("startRow",v45f48.TotalRetrievedRows); if (v45f48.TotalRetrievedRows >0) v2e767 =v2e767 *2; ve4284.setAttribute("count",v2e767); var v43b79 =(v45f48.IsMoreRequest)? (v45f48.MultipleSelectionSettings.Enabled ? v0797 : v45f48.LastQuery): v0797; if (ve4284.selectSingleNode("//query")) ve4284.removeChild(ve4284.selectSingleNode("//query"));  v43b79 =v43b79.replace(/[+]/g,"%2b"); ISXml.CreateCDATA(ve4284.ownerDocument,ve4284,"query",v43b79); return true; } else { if (ve4284.getAttribute("ddClicked")=="true" ||v45f48.LayoutSettings.EntryMode !="InstantLookup") wc4c990.mede90(v45f48); }  return false; },  mdf694:function(v41c42,v97682) { if (v41c42.Values ==null)return false; if (v97682 ==null)return false; for(var vceb59=0; vceb59<v41c42.Values.length; vceb59++) { if (v41c42.Values[vceb59].Value ==v97682.Value &&v41c42.Values[vceb59].Position ==v97682.Position) return true; } return false; },  md580:function(v22173,vfc750) { var vb2698 =document.selection.createRange(); var v88961 =vb2698.duplicate();  if (IS.moz) { if (vfc750) { var vf700 =v22173.selectionEnd; v88961.moveEnd("character",v22173.value.length); v22173.selectionEnd =vf700; return v88961.text; } else return v22173.selectionStart;  }  v88961.moveEnd("character",v22173.value.length); var v3166 =v22173.value.lastIndexOf(v88961.text);  if (vfc750) { return vb2698.text; } else { if (v88961.text=="") return v22173.value.length; else return v3166; } },  GetCurrentSelectionText: function(vd1a44) { return wc4c990.md580(vd1a44,true); },  m3cb56:function(vbc244) { while (vbc244.substring(0,1)==' ') { vbc244 =vbc244.substring(1,vbc244.length); } while (vbc244.substring(vbc244.length-1,vbc244.length)==' ') { vbc244 =vbc244.substring(0,vbc244.length-1); } return vbc244; },  mcee7:function(v42383,v2af8) { if (v42383.Values ==null)return;  for(var vb3c0=0; vb3c0<v42383.Values.length; vb3c0++) { if (v2af8 >=v42383.Values[vb3c0].StartPos &&v2af8 <=v42383.Values[vb3c0].EndPos) return v42383.Values[vb3c0]; } return null; },  m01935:function(va2f5,v7b224,v66864) { var v96b75 =wc4c990.md580(va2f5.TextObj); if (va2f5.TextObj.value =="")return;  if (v7b224 =="Previous") { var v07557 =va2f5.TextObj.value.substr(v96b75-1,1); if (v07557 ==va2f5.MultipleSelectionSettings.SeparatorChar) { wc4c990.mf8324(va2f5); var v86826 =wc4c990.mcee7(va2f5,v96b75-1); if (v86826) { wc4c990.m3fe7(va2f5.TextObj,v86826,v66864); va2f5.Values.splice(v86826.Position,1); return true; } } } else if (v7b224 =="Next") { if (v96b75 ==va2f5.TextObj.value.length)return false; var v07557 =va2f5.TextObj.value.substr(v96b75+1,1); wc4c990.mf8324(va2f5); var v8e027 =wc4c990.m49593(va2f5); var v77770 =v8e027[0]; var v67e3 =v8e027[1]; var v86826 =va2f5.Values[v67e3];  if (v86826) { if (v96b75 ==v86826.StartPos) { var vd9c31 =va2f5.Values[v67e3]; if (vd9c31) { wc4c990.m3fe7(va2f5.TextObj,vd9c31,true); va2f5.Values.splice(vd9c31.Position,1);  if (va2f5.Values.length ==0) { va2f5.TextObj.value =""; va2f5.Values =null; } return true; } } }  return false;  }  return false; },  m3fe7:function(vca10,vd9a23,v48383) { var va5444 =vca10.createTextRange(); var v13c44 =0-(vca10.value.length-vd9a23.EndPos-1);  if (v48383)v13c44 +=1;  if (IS.ie) { va5444.moveStart("character",vd9a23.StartPos); va5444.moveEnd("character",v13c44); } else { vca10.selectionStart =vd9a23.StartPos; vca10.selectionEnd =vd9a23.EndPos+1+(v48383 ? 1 : 0); }  va5444.text ="";  if (IS.moz) vca10.selectionStart =vca10.selectionEnd =vd9a23.StartPos; },  m7d86:function(v2e021,v31539) { var v11c91 =wc4c990.md580(v2e021.TextObj); if (v2e021.TextObj.value =="")return; if (v2e021.Values ==null)return;  v2e021.ClearSelectedValueItem();  if (v31539 =="Previous") { var vc0e71 =v2e021.TextObj.value.substr(v11c91-1,1); if (vc0e71 ==v2e021.MultipleSelectionSettings.SeparatorChar) { wc4c990.mf8324(v2e021); var vbd486 =wc4c990.mcee7(v2e021,v11c91-1); if (vbd486) wc4c990.m18d28(v2e021.TextObj,vbd486.EndPos-vbd486.Text.length +(IS.moz ? 1 : 0)); } } else if (v31539 =="Next") { if (v11c91 ==v2e021.TextObj.value.length)return; wc4c990.mf8324(v2e021); var v64c61 =wc4c990.m49593(v2e021); var v6db36 =v64c61[0]; var ve3825 =v64c61[1]; var vbd486 =v2e021.Values[ve3825];  if (vbd486) { if (v11c91 ==vbd486.StartPos) { var v17830 =v2e021.Values[ve3825+1]; if (v17830) { wc4c990.m18d28(v2e021.TextObj,v17830.StartPos,true); return true; } else if (ve3825 ==v2e021.Values.length-1) { wc4c990.m05e22(v2e021.TextObj); return true; } } }  return false; } },  m49593:function(v40971) { var vb9524 =v40971.TextObj; var v0e589 =wc4c990.md580(vb9524); var vad639 =0; var v91511 =-1; var va5256 =0;  while (true) { var v5f968 =vb9524.value.indexOf(v40971.MultipleSelectionSettings.SeparatorChar,vad639); if (v5f968 ==-1) break; else { v91511 =v5f968; vad639 =v5f968+1; if (v5f968 >v0e589) break; va5256++; } } return [v91511,va5256]; },  m51851:function(v40515) { var v14290 =v40515.TextObj; var v97326 =wc4c990.md580(v14290); var v0f495 =new WebComboValueItem(); var v2c320 =-1; var vff722 =0;  var vea690 =wc4c990.m49593(v40515); v2c320 =vea690[0]; vff722 =vea690[1];  if (v97326 ==v14290.value.length ||(v97326 >=v2c320 &&v97326 <=v14290.value.length)) { v0f495.Text =wc4c990.m3cb56(v14290.value.substring(v2c320 +1)); v0f495.StartPos =v2c320+1; v0f495.EndPos =v0f495.StartPos +v0f495.Text.length; v0f495.Value =null; v0f495.Position =vff722; return v0f495; } else { var v98d89 =v40515.Values[vff722]; if (v98d89) { var v82c83 =v14290.value; var v97326 =v82c83.indexOf(v98d89.Text); var vfa366 =-1;  if (v98d89.Position >0)vfa366 =wc4c990.mfbf41(v82c83,v40515.MultipleSelectionSettings.SeparatorChar,vff722);  v0f495.Text =wc4c990.m3cb56(v82c83.substring(vfa366+1,v97326)); v0f495.StartPos =vfa366+1; v0f495.EndPos =v0f495.StartPos +v0f495.Text.length; v0f495.Value =null; v0f495.Position =vff722; v0f495.IsInsert =true; return v0f495; } }  },  mfbf41:function(v3c86,v91640,v7e455) { var v5ab51 =-1; for (var vc6061=0; vc6061<v7e455; vc6061++) { v5ab51 =v3c86.indexOf(v91640,v5ab51+1); } return v5ab51; },  m02918:function(va3617) { var v9dd26 =va3617.LastQueryMultiple; if (v9dd26 !=null) { var vc5950 =0; var v86621 =va3617.TextObj.createTextRange(); if (v9dd26.IsInsert) vc5950 =0-(va3617.TextObj.value.length-(v9dd26.StartPos+v9dd26.Text.length)-(v9dd26.Position >0 ? 1 : 0));  v86621.moveStart("character",v9dd26.StartPos); v86621.moveEnd("character",vc5950); v86621.text =(v9dd26.Position ==0)? "" : " ";  wc4c990.m05e22(va3617.TextObj); } va3617.LastQueryMultiple =null;  },  mf8324:function(v02212) { if (v02212.Values ==null)return; var vef773 =v02212.TextObj.value; var v17878 =v02212.MultipleSelectionSettings.SeparatorChar; for(var vf8e10=0; vf8e10<v02212.Values.length; vf8e10++) { v02212.Values[vf8e10].Position =vf8e10; v02212.Values[vf8e10].StartPos =wc4c990.mfbf41(vef773,v17878,vf8e10)+1+(vf8e10>0 ? 1 : 0); v02212.Values[vf8e10].EndPos =wc4c990.mfbf41(vef773,v17878,vf8e10+1); } },  m6cb69:function(v53123) { if (v53123.Values ==null)return; var v87931 =v53123.TextObj.value; for(var vc886=0; vc886<v53123.Values.length; vc886++) { var vdb911 =v87931.substring(v53123.Values[vc886].StartPos,v53123.Values[vc886].EndPos); if (vdb911 !=v53123.Values[vc886].Text) return true; } var v1b154 =v53123.Values[v53123.Values.length-1].EndPos+2; if (v87931.length !=v1b154) return true;  return false; },  m48076:function(v2a162) { var v4fd42 ="";  if (v2a162.Values !=null) { for(var v8de64=0; v8de64<v2a162.Values.length; v8de64++) { v4fd42 +=v2a162.Values[v8de64].Text +v2a162.MultipleSelectionSettings.SeparatorChar +" "; } }  v2a162.TextObj.value =v4fd42; },  m38791:function(v9d117) { var v41633 =document.selection.createRange(); if (v41633) { if (v41633.text ==v9d117.value) return true; } },  m6ac81:function(vfde22,v97e10) { var vd8853 =vfde22.LastQueryMultiple; if (vd8853 !=null) { var vfdf23 =0; var vbac52 =vfde22.TextObj.createTextRange(); var v59b67 =vfde22.Text; if (vd8853.IsInsert) vfdf23 =0-(vfde22.TextObj.value.length-(vd8853.StartPos+vd8853.Text.length)-(vd8853.Position >0 ? 1 : 0));  if (v97e10) v59b67 =vd8853.Text;  if (IS.moz) vfde22.TextObj.selectionStart =0;  vbac52.moveStart("character",vd8853.StartPos);  if (IS.ie) vbac52.moveEnd("character",vfdf23); else vbac52.selectionEnd =vd8853.StartPos+vd8853.Text.length;  vbac52.text =(vd8853.Position >0 ? " " : "")+v59b67 +vfde22.MultipleSelectionSettings.SeparatorChar +" ";  wc4c990.m05e22(vfde22.TextObj);  if (!v97e10) { vd8853.Value =vfde22.Value; vd8853.Text =vfde22.Text; } else { var v58684 =new Array(); v58684[0] =vd8853; var vb7724 =ISEvent.Raise(vfde22.LayoutSettings.ClientSideEvents.OnValueItemNotInList,vfde22.Id,v58684); if (!vb7724) return; }  if (vfde22.Values ==null) { vfde22.Values =new Array(); vfde22.Values[vfde22.Values.length] =vd8853; } else { var vc025 =vd8853.Position; for (var v63654=vc025; v63654<vfde22.Values.length; v63654++) vfde22.Values[v63654].Position =v63654+1; vfde22.Values.splice(vd8853.Position,0,vd8853); } } },  AddSelectedItemToWebCombo: function(v0ec78,vd5589) {  },  m86052:function(v07783) { var vc6013 =v07783; wc4c990.mde162(v07783);  var v59f58 =vc6013.GetTData(); var v8ca27;  if (vc6013.InsertAtTop) v8ca27 =v59f58.insertRow(0); else v8ca27 =v59f58.insertRow(-1);  var vb953 =vc6013.NewRowObj; v8ca27.className =vc6013.LayoutSettings.RowStyle.Normal; try  { v8ca27.dataValue =ISXml.GetNodeText(vc6013.XmlResp,"//newValue"); } catch (e) { v8ca27.dataValue =vb953.Value; }  if (v07783.LayoutSettings.ComboMode =="SingleColumn") { var v45371 =v8ca27.insertCell(-1); var v3bc71 =v07783.Columns[0].Width;  if (v3bc71 ==null) v3bc71 =v07783.LayoutSettings.ColumnWidthDefault;  v45371.className =v07783.LayoutSettings.ColumnStyle; v45371.style.width =v3bc71 +"px";  if (v07783.LayoutSettings.AllowTextWrapping) v45371.innerText =vb953.Text; else v45371.innerHTML ="<nobr>" +vb953.Text +"</nobr>"; } else  { var vbcf6 =vc6013.Columns; for (var v52996=0; v52996<vbcf6.length; v52996++) { var v45371 =v8ca27.insertCell(-1); v45371.className =v07783.LayoutSettings.ColumnStyle; if (vb953.Cells !=null &&vb953.Cells.length >v52996) v45371.innerText =vb953.Cells[v52996].Text; else  { if (v52996 ==0) v45371.innerText =vb953.Text; else v45371.innerHTML ="&nbsp;"; } } }  v07783.LastSelectedIndex =v07783.SelectedIndex =v8ca27.rowIndex; wc4c990.mc8f16(v07783,v8ca27); wc4c990.m28528(v07783);  },  mbd074:function(v43138,vcf324) { var v7f955 =v43138.NewRowObj; vcf324.setAttribute("action","AddItem"); ISXml.CreateCDATA(vcf324.ownerDocument,vcf324,"RowData",v7f955.ToXml()); return true; }, m3be68:function(vdbb94,vfd53) { vfd53.setAttribute("action","Custom"); var v88474 =true; try  { v88474 =wcPrepareCustomAction(vdbb94,vfd53); } catch(e){} return v88474; },  m43232:function(v15194) {  },  m3a060:function(v44794,v5c43) { v44794.IsInProgress =true;  if (v44794.LastAction.indexOf("Load")>-1) { wc4c990.m2ca15(v44794,v44794.LayoutSettings.TextSettings.LoadingText); if (v44794.NeedClearList) { wc4c990.m67367(v44794); v44794.NeedClearList =false; }  if (v5c43 ||v44794.LayoutSettings.EntryMode !="InstantLookup") { if (v44794.IsTextObjFocused) wc4c990.mede90(v44794,true); } } },  mcbe8:function(v13c4,vf3861,v17a39) { var v6f913 =v13c4; var v37f13 =v6f913.XmlHttp; if (v13c4.IsPreviewMode) { alert("Not supported in Preview mode!"); return; } v13c4.XmlReq =ISXmlHttpEngine.CreateRequestXml(v13c4.GetType()); wc4c990.m43232(v13c4); var vd4835 =ISXml.GetNode(v13c4.XmlReq,"//request"); v13c4.RequestId =0;  if (v13c4.IsInProgress) { setTimeout(function(){wc4c990.mcbe8(v13c4,vf3861,v17a39);},300); return; }  vd4835.setAttribute("id",v13c4.Id); vd4835.setAttribute("ddClicked",v17a39 ? "true" : "false"); if (!ISEvent.Raise(v13c4.LayoutSettings.ClientSideEvents.OnBeforeRequest,v13c4.Id,vf3861)) return;  switch(vf3861) { case "LoadData": if (!wc4c990.m55251(v13c4,vd4835))return false; break; case "AddItem": if (!wc4c990.mbd074(v13c4,vd4835))return false; break; case "Custom": if (!wc4c990.m3be68(v13c4,vd4835))return false; break; }  v13c4.LastAction =vf3861; var v1eb62 =v13c4.XmlHttp.Asynchronous; v37f13.Send(); if (v1eb62) wc4c990.m3a060(v13c4,v17a39); }, mec872:function(v09f90,v0be8) { var v0a499 =v09f90.XmlResp; var v39d60 =ISXml.GetNodeText(v0a499,"//status"); if (!ISEvent.Raise(v09f90.LayoutSettings.ClientSideEvents.OnResponse,v09f90.Id,v39d60)) return;  if (v39d60 =="Error") { if (v09f90.ShowErrorMessages) alert(ISXml.GetNodeText(v0a499,"//error")); else wc4c990.m2ca15(v09f90,v09f90.LayoutSettings.TextSettings.NoResultsText); v09f90.IsInProgress =false; return ; } var ve3158 =ISXml.GetNodeText(v0a499,"//action");  if (!ISEvent.Raise(v09f90.LayoutSettings.ClientSideEvents.OnActionDispatched,v09f90.Id,ve3158)) return;  switch (ve3158) { case "LoadData": case "LoadContinuos": wc4c990.mabd39(v09f90,v0a499); break; case "AddItem": wc4c990.m63947(v09f90,v0a499); break; } v09f90.IsInProgress =false; v09f90.SkipLatency =false; if (!ISEvent.Raise(v09f90.LayoutSettings.ClientSideEvents.OnAfterResponseProcess,v09f90.Id,ve3158,v0a499)) return;  },  m3e465:function(vedd65,v00597) { vedd65.LastError =v00597;  if (!ISEvent.Raise(vedd65.LayoutSettings.ClientSideEvents.OnUnhandledError,vedd65.Id,vedd65.LastAction,vedd65.LastError)) return;  var vf4c10 =v00597; if (vf4c10.indexOf("Server Error")>=0 ||vf4c10.indexOf("Stack Trace")>=0) { wc4c990.mfbb42(vedd65,v00597,vedd65.LayoutSettings.TextSettings.UnhandledErrorText); } else  { if (vf4c10 !="") { var v9fc18 =IS.GetFormAction(vf4c10); window.location =v9fc18; return; } else  { if (vedd65.ShowErrorMessages) { if (vedd65.IsDataBound) wc4c990.m2ca15(vedd65,vedd65.LayoutSettings.TextSettings.NoResultsText); } else wc4c990.m2ca15(vedd65,vedd65.LayoutSettings.TextSettings.NoResultsText); } } vedd65.IsInProgress =false;  },  mabd39:function(vb0134,v10784) { var v24220 =v10784.selectSingleNode("//rows"); var v3f176 =vb0134.IsMoreRequest;  vb0134.Set("TotalRows",parseFloat(ISXml.GetNodeText(v10784,"//totalRows")),true); vb0134.Set("TotalRetrievedRows",parseFloat(ISXml.GetNodeText(v10784,"//retrievedRows"))+vb0134.TotalRetrievedRows,true); if (!vb0134.IsMoreRequest) vb0134.LastQuery =vb0134.TextObj.value;  vb0134.IsMoreRequest =false; wc4c990.m8783(vb0134);  if (vb0134.LayoutSettings.EntryMode =="InstantLookup") { var v45199 =vb0134.TotalRetrievedRows; var v93d46 =false; if (v45199 ==1) { var vc2b11 =vb0134.GetTData(); var vb7a97 =vc2b11.rows[0].cells[0].innerText; if (ISEvent.Raise(vb0134.LayoutSettings.ClientSideEvents.OnMatchInstantLookup,vb0134.Id)) { if (vb7a97.toLowerCase()==vb0134.TextObj.value.toLowerCase()) { vb0134.SelectedIndex =0; wc4c990.m28528(vb0134); v93d46 =true; } } else  v93d46 =vb0134.FoundPerfectMatch; } if (!v93d46) wc4c990.mede90(vb0134); } else { if (vb0134.IsTextObjFocused ||vb0134.LastEventType =="Mouse") { if (vb0134.MultipleSelectionSettings.Enabled &&!v3f176) { var vc2b11 =vb0134.GetTData(); if (vc2b11.rows.length >0) { vb0134.LastSelectedIndex =vb0134.SelectedIndex =0; wc4c990.mc8f16(vb0134,vc2b11.rows[0]); } } wc4c990.mede90(vb0134); } else { var v45199 =vb0134.TotalRetrievedRows; var vf7668 =false; if (v45199 ==1) { var vc2b11 =vb0134.GetTData(); var vb7a97 =vc2b11.rows[0].cells[0].innerText; if (vb7a97.toLowerCase()==vb0134.TextObj.value.toLowerCase()) { vb0134.SelectedIndex =0; wc4c990.m28528(vb0134); wc4c990.mfdf68(vb0134,true); vb0134.UpdateState(); vf7668 =true; } }  if (!vf7668) { if (vb0134.LayoutSettings.NoResultFoundAction =="RevertSelection") wc4c990.mf6e33(vb0134); else wc4c990.mede90(vb0134); }  } }  vb0134.IsDirty =false;  },  m63947:function(v1189,vdfa72) { var v58426 =ISXml.GetNodeText(vdfa72,"//returnValue"); if (v58426 =="True") { if (v1189.ResultBox) wc4c990.m86052(v1189); } },  m8783:function(v6eb6) { var v90a9 =v6eb6.XmlResp; var v12d72 =v6eb6.GetTData(); if (v6eb6.TotalRows >0) { var v39436 =v6eb6.LayoutSettings.TextSettings.RetrievedTextFormat; v39436 =v39436.replace("{retrieved}",v6eb6.TotalRetrievedRows); v39436 =v39436.replace("{totalrows}",v6eb6.TotalRows); wc4c990.m2ca15(v6eb6,v39436); } else  { wc4c990.m2ca15(v6eb6,v6eb6.LayoutSettings.TextSettings.NoResultsText); } if (v6eb6.TotalRetrievedRows >0) { var v4b899 =ISXml.GetNodeText(v90a9,"//htmlString"); wc4c990.meec98(v6eb6,"<table>" +v4b899 +"</table>");  var vd9853 =wc4c990.m8220(v6eb6); var v9c248 =0; var vb5883 =false; v12d72.appendChild(vd9853.tBodies[0] ); wc4c990.mb7c4(v6eb6); for (var v04f46=0; v04f46<v12d72.rows.length; v04f46++) { var v8a665 =v12d72.rows[v04f46].cells[0].innerText.toLowerCase(); if (!vb5883 &&v8a665 ==v6eb6.LastQuery.toLowerCase()&&v8a665.length >0 ) { v6eb6.LastSelectedIndex =v6eb6.SelectedIndex =v04f46; wc4c990.mc8f16(v6eb6,v12d72.rows[v04f46]); vb5883 =true; } }  if (vb5883) { v6eb6.IsDirty =false; } else if (!vb5883 &&v6eb6.LayoutSettings.EntryMode =="AutoComplete") { var v0d717 =v6eb6.TextObj.value; var v8b184 =v0d717.length; var v84c20 =v12d72.rows[0].cells[0].innerText;  if (v8b184 >0 &&v84c20.length >v8b184 &&v84c20.substring(0,v8b184).toLowerCase()==v0d717.toLowerCase()) { v6eb6.LastSelectedIndex =v6eb6.SelectedIndex =0; v6eb6.TextObj.value +=v84c20.substring(v8b184); wc4c990.mc8f16(v6eb6,v12d72.rows[0]); wc4c990.m18d28(v6eb6.TextObj,v8b184); } } } }, mf6e33:function(vbc461) { vbc461.HideDropDown(); var ve6325 =vbc461.LastQuery;  if (vbc461.MultipleSelectionSettings.Enabled) { wc4c990.mf8324(vbc461); if (wc4c990.m6cb69(vbc461)) wc4c990.m48076(vbc461);  } else { vbc461.TextObj.value =(vbc461.Text ==null)? "" : vbc461.Text; if (ve6325 !=vbc461.TextObj.value) { vbc461.LastQuery =vbc461.TextObj.value; wc4c990.mc996(vbc461); vbc461.IsDirty =true; vbc461.NeedClearList =true; } } }, mc996:function(v37881) { var vb3c81 =v37881; vb3c81.Set("TotalRetrievedRows",0,true); }, mfd914:function(v73f0) { var v41817 =v73f0.GetTData(); return (v73f0.LastSelectedIndex >=0 &&v73f0.LastSelectedIndex <v41817.rows.length); }, mc8f16:function(v37a0,v0b276) { var v2bb0 =v37a0; if (!v0b276)return; v0b276.className =v37a0.LayoutSettings.SelectedRowStyle; wc4c990.mf5357(v37a0,v0b276); }, mf5357:function(v34d11,v1a134) { var vc3672 =v34d11; var v41d14 =v34d11.GetTData(); var v93685 =v41d14.parentElement; var v52b87 =false; if (!v1a134)return; v52b87 =(v93685.scrollWidth !=v93685.offsetWidth &&v34d11.LayoutSettings.ComboMode =="MultipleColumns");  if (v1a134.offsetTop <v93685.scrollTop) v93685.scrollTop =v1a134.offsetTop; else if (v1a134.offsetTop +v1a134.offsetHeight +((v52b87)? 16 : 0)>v93685.offsetHeight +v93685.scrollTop) v93685.scrollTop =v1a134.offsetTop -v93685.offsetHeight +v1a134.offsetHeight +((v52b87)? 16 : 0); }, m34c65:function(vd9066,v47413) { v47413.className =vd9066.LayoutSettings.RowStyle.Normal; },  mb2e88:function(v02358) { if (v02358.HasLinkedChilds &&v02358.LinkedChilds !=null) { for (var vb162=0; vb162<v02358.LinkedChilds.length; vb162++) { var v64d82 =v02358.LinkedChilds[vb162]; if (v64d82.IsDataBound) { if (v64d82.LinkSettings.Enabled) v64d82.ClearAdditionalFilters(); } else { v64d82.ClearSelection(); wc4c990.mb4d12(v64d82,v02358); }  wc4c990.mb2e88(v64d82); } } }, m28528:function(v69a72) { var vbc677 =v69a72; var vcb571 =v69a72.GetTData(); if (!vcb571 ||!wc4c990.mfd914(v69a72)) { if (vbc677.TextObj.value =="") { wc4c990.m9fb39(v69a72); return; } else return; } if (!ISEvent.Raise(v69a72.LayoutSettings.ClientSideEvents.OnBeforeItemSelected,vbc677.Id,vbc677.Text,vbc677.Value))return;  if (vbc677.SelectedIndex <0)return; wc4c990.mced13(vcb571.rows[vbc677.SelectedIndex]);  var v9fb75 =vcb571.rows[vbc677.SelectedIndex].dataValue; var v4fe19 =vcb571.rows[vbc677.SelectedIndex].cells[0].innerText;  if (vbc677.Value ==v9fb75 &&vbc677.Text ==v4fe19 &&v9fb75 !="") return; vbc677.Value =v9fb75; vbc677.Text =v4fe19; vbc677.RowIndex =vbc677.SelectedIndex; vbc677.IsDirty =true; vbc677.NeedClearList =true;  if (vbc677.HasLinkedChilds &&vbc677.LinkedChilds !=null) wc4c990.mb2e88(vbc677);  if (!ISEvent.Raise(v69a72.LayoutSettings.ClientSideEvents.OnAfterItemSelected,vbc677.Id,vbc677.Text,vbc677.Value))return;  if (vbc677.AllowAutoPostback) { var va7894 =function() { vbc677.UpdateState(); __doPostBack(v69a72.ServerUniqueID,"ValueChanged:" +document.getElementById(v69a72.Id).value); }; setTimeout(va7894); } }, m9fb39:function(v4608) { v4608.Value =""; v4608.Text =""; v4608.LastQuery =""; }, meec98:function(v1cb47,v61058) { var v5d091 =null;  if (IS.ie &&v1cb47.LayoutSettings.ResultBoxWindowType =="Normal") v5d091 =document.getElementById("wcTempCnt"); else v5d091 =v1cb47.ResultBox.document.getElementById("wcTempCnt");  if (!v5d091){ if (IS.ie &&v1cb47.LayoutSettings.ResultBoxWindowType =="Normal") v5d091 =document.createElement("div"); else v5d091 =v1cb47.ResultBox.document.createElement("div"); v5d091.id ="wcTempCnt"; v5d091.style.display ="none"; }  v5d091.innerHTML =v61058; if (IS.ie &&v1cb47.LayoutSettings.ResultBoxWindowType =="Normal") document.body.appendChild(v5d091); else v1cb47.ResultBox.document.body.appendChild(v5d091); }, mb7c4:function(v8332) { var v6aa18 =null;  if (IS.ie &&v8332.LayoutSettings.ResultBoxWindowType =="Normal") v6aa18 =document.getElementById("wcTempCnt"); else v6aa18 =v8332.ResultBox.document.getElementById("wcTempCnt"); if (v6aa18)v6aa18.innerHTML =""; }, m8220:function(v08138) { var v50c2 =null;  if (IS.ie &&v08138.LayoutSettings.ResultBoxWindowType =="Normal") v50c2 =document.getElementById("wcTempCnt"); else v50c2 =v08138.ResultBox.document.getElementById("wcTempCnt"); if (v50c2)return v50c2.childNodes[0]; return null; }, mfdf68:function(v32957,v2c916) { var v3b538 =v32957; var v8566 =v3b538.GetTData(); if (wc4c990.mfd914(v3b538)) { v3b538.TextObj.value =v8566.rows[v3b538.SelectedIndex].cells[0].innerText; if (!v2c916)wc4c990.m05e22(v3b538.TextObj); } else  { if (v3b538.LastQuery !=null)v3b538.TextObj.value =v3b538.LastQuery; if (!v2c916)wc4c990.m05e22(v3b538.TextObj); } }, m2ca15:function(v51813,v7e795) { if (!v51813.LayoutSettings.StatusBoxVisible)return;  if (v51813.ResultBox) { var v46377 =v51813.ResultBox.document.getElementById(v51813.Name +"_spstatus"); v46377.innerText =v7e795; } },  m79f76:function(v02a7) { var v10432 =v02a7; var v2a65 =v10432.ResultBox.document; var v84b68 =0; var v38882 =0; if (v10432.LayoutSettings.StatusBoxVisible) v84b68 =v2a65.getElementById(v02a7.Id +"_tstatus").offsetHeight; if (v10432.TotalRetrievedRows <v10432.TotalRows) v84b68+=v2a65.getElementById(v02a7.Id +"_tmore").offsetHeight;  if (v10432.LayoutSettings.ComboMode =="MultipleColumns" &&v10432.LayoutSettings.AlwaysShowColumnHeaders) { v2a65.getElementById(v02a7.Id +"_theader").scrollLeft =0; v84b68 +=v2a65.getElementById(v02a7.Id +"_theader").offsetHeight; }  v38882 =v10432.LayoutSettings.ResultBoxHeight -v84b68 -2;  if (IS.ie &&v10432.LayoutSettings.ResultBoxWindowType =="Normal") v38882 =v10432.ResultBox.document.getOwnerDocument().offsetHeight -v84b68 -2; return v38882; },  ma5338:function() { var ve9379 =document.createElement("DIV"); ve9379.id ="WebCombo3_ErrBox"; ve9379.style.cssText ="display: none; POSITION: absolute; Z-INDEX: 9999; FILTER:progid:DXImageTransform.Microsoft.Shadow(color='#666666', Direction=135, Strength=4);BORDER-LEFT:darkgray 1px solid;BACKGROUND-COLOR:whitesmoke"; ve9379.innerHTML ='<TABLE style="TABLE-LAYOUT: fixed; FONT-SIZE: 8pt; WIDTH: 100%; FONT-FAMILY: verdana; HEIGHT: 100%" cellSpacing="0" cellPadding="4" width="780" border="0"><TR><TD style="FONT-WEIGHT: bold; COLOR: white" bgColor="darkslateblue">WebCombo.NET V3.0</TD></TR><TR><TD><TABLE id="Table2" style="TABLE-LAYOUT: fixed; FONT-SIZE: 8pt; BORDER-BOTTOM: darkgray 1px solid; FONT-FAMILY: verdana" cellSpacing="0" cellPadding="4" width="100%" border="0"><TR><TD style="WIDTH: 39px"><img id="img_wcError" src="wc_Error.gif" height="32"></TD><TD id="wc_uhemsg"></TD></TR></TABLE></TD></TR><tr height="100%"><td><div id="wc_ErrorMsg" style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%"></div></td></tr><tr><td align="right"><button style="BORDER-RIGHT: navy 1px solid; BORDER-TOP: navy 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: navy 1px solid; BORDER-BOTTOM: navy 1px solid; FONT-FAMILY: verdana" type="button" onclick="wc4c990.m6b059(wc_ErrorMsg.innerText)" >Copy</button>&nbsp;<button onclick="wc4c990.m3f743()" style="BORDER-RIGHT: navy 1px solid; BORDER-TOP: navy 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: navy 1px solid; BORDER-BOTTOM: navy 1px solid; FONT-FAMILY: verdana" type="button">Close</button></td></tr></TABLE>'; document.body.appendChild(ve9379); return ve9379; }, m3f743:function() { var v18d63 =document.getElementById("WebCombo3_ErrBox"); v18d63.style.display ="none"; },  m6b059:function(v54263) { window.clipboardData.setData('Text',v54263); },  mfbb42:function(v14418,v3ca51,vbdc91) { var ve1399 =document.getElementById("WebCombo3_ErrBox"); if (!ve1399) ve1399 =wc4c990.ma5338(); ve1399.style.width =document.body.offsetWidth -50; ve1399.style.height =document.body.offsetHeight -50; ve1399.style.left =ve1399.style.top =20;  document.getElementById("wc_ErrorMsg").innerHTML =v3ca51; document.getElementById("img_wcError").src =v14418.LayoutSettings.ImagesDirectory +"wc_Error.gif"; if (vbdc91) document.getElementById("wc_uhemsg").innerHTML =vbdc91; ve1399.style.display =""; }, m84333:function(v05a73) { while (v05a73 &&v05a73.tagName !="TR") v05a73 =v05a73.parentElement; return v05a73; }, m67367:function(v9b084) { var ve1993 =v9b084.GetTData();  if (ve1993.tBodies[0]) { var ve9c40 =ve1993.rows.length; for (var v56643=0; v56643<ve9c40; v56643++) ve1993.deleteRow(0); } },  m18d28:function(v2a14,v5de98,ve8d14) { if (v2a14.createTextRange) { var vaf268 =v2a14.createTextRange();  if (IS.moz) { v2a14.selectionStart =0; ve8d14 =true; }  vaf268.moveStart('character',v5de98); if (ve8d14) vaf268.moveEnd('character',0-vaf268.text.length); vaf268.select(); } },  me7856:function(v6d554,v1b676,v31618) { var v64543 =v6d554.TextObj; if (v64543.createTextRange) { var v1f117 =v64543.value; var ve1047 =v64543.createTextRange(); var v74248 =v1b676.StartPos; var v02333 =v1b676.EndPos;  if (IS.ie) { ve1047.moveStart('character',v74248); ve1047.moveEnd('character',0-(v1f117.length-v02333)); } else { v64543.selectionStart =v74248; v64543.selectionEnd =v02333; }  if (ve1047.text ==v1b676.Text) ve1047.select(); else { v74248 =v02333-v1b676.Text.length; if (v31618 >v74248) { ve1047 =v64543.createTextRange(); ve1047.moveStart('character',v74248); ve1047.moveEnd('character',0-(v1f117.length-v02333)); ve1047.select(); } } } },  m42e19:function(v77075) { var vbfc45 =v77075.GetTData(); if (vbfc45) { for (var v9e024=0; v9e024<vbfc45.rows.length; v9e024++) { wc4c990.mced13(vbfc45.rows[v9e024]); var v9eb21 =vbfc45.rows[v9e024].dataValue; var v70099 =vbfc45.rows[v9e024].cells[0].childNodes[0];  if (v77075.Values ==null ||v77075.Values.length ==0) { v70099.checked =false; } else { var vbec21 =false; for (var vd3129=0; vd3129<v77075.Values.length; vd3129++) { if (v77075.Values[vd3129].Value ==v9eb21) { v70099.checked =true; vbec21 =true; break; } }  if (!vbec21) v70099.checked =false; } wc4c990.m34c65(v77075,vbfc45.rows[v9e024]); } } },  mccc80:function(vdd261,v38139) { var v9b995 =vdd261.GetTData(); if (v9b995) { var v9bd1 =v9b995.rows[vdd261.LastSelectedIndex]; var v27726 =v9bd1.cells[0]; var va5f29 =false;  if (v38139 ==null ||v38139.tagName !="INPUT") { va5f29 =!v27726.childNodes[0].checked;  v27726.childNodes[0].checked =va5f29; } else va5f29 =!v38139.checked;  if (va5f29) { var v33664 =new WebComboValueItem(); v33664.Text =v9bd1.cells[1].innerText; v33664.Value =v9bd1.dataValue; v33664.Position =(vdd261.Values ==null)? 0 : vdd261.Values.length;  if (vdd261.Values ==null) { vdd261.Values =new Array(); vdd261.Values[vdd261.Values.length] =v33664; } else { var v14b62 =v33664.Position; for (var v17a15=v14b62; v17a15<vdd261.Values.length; v17a15++) vdd261.Values[v17a15].Position =v17a15+1; vdd261.Values.splice(v33664.Position,0,v33664); }  } else { vdd261.RefreshValueItems(); for (var v17a15=0; v17a15<vdd261.Values.length; v17a15++) { if (vdd261.Values[v17a15].Text ==v9bd1.cells[1].innerText) { vdd261.Values.splice(vdd261.Values[v17a15].Position,1); break; } }  if (vdd261.Values.length ==0)vdd261.Values =null; }  if (v38139.tagName =="INPUT") v38139.checked =va5f29;  vdd261.RefreshTextByValueItems(vdd261); } },  m05e22:function(va9f55) { if (va9f55.createTextRange) { var v23336 =va9f55.value; var v65c27 =va9f55.createTextRange(); v65c27.moveStart('character',v23336.length); v65c27.select(); } },  m76031:function(vb6c94) { var v11a55 =document.getElementById(vb6c94.Id); var v3ef37=""; if (vb6c94.MultipleSelectionSettings.Enabled) { if (vb6c94.Values !=null) { for(var v7730=0; v7730<vb6c94.Values.length; v7730++) { v3ef37 +=ISXml.EncodeString(vb6c94.Values[v7730].Text)+"\03"; v3ef37 +=ISXml.EncodeString(vb6c94.Values[v7730].Value)+"\04"; } if (v3ef37 !="") v3ef37 =v3ef37.substr(0,v3ef37.length-1); } } else { if (vb6c94.Value !="" &&(vb6c94.Text !="" ||vb6c94.LastSelectedIndex >-1)) { v3ef37+=ISXml.EncodeString(vb6c94.Text)+"\03"; v3ef37+=ISXml.EncodeString(vb6c94.Value); } }  if (v11a55) v11a55.value =v3ef37; }, m65055:function(v68152) { var v67766 =new Array(); if (v68152.Rows !=null) { for(var v88795=0; v88795<v68152.Rows.length; v88795++) { var v28f71 =v68152.Rows[v88795]; if (v28f71._UIState =="Changed") { var ve5971 =v28f71.Cells; if (ve5971 !=null) { for(var v1d095=0; v1d095<ve5971.length; v1d095++) { var v2c524 =ve5971[v1d095].GetElement(); v2c524.innerText =ve5971[v1d095].Text; } } v28f71._UIState ="Unchanged"; } else if (v28f71._UIState =="Removed") { v67766[v67766.length] =v28f71.GetElement(); v68152.Rows.Remove(v28f71); v88795--; } else if (v28f71._UIState =="Added") { v68152.NewRowObj =v28f71; wc4c990.m86052(v68152); v28f71._UIState ="Unchanged"; } }  var v95e28 =v68152.GetTData(); for (var v88795=0; v88795<v67766.length; v88795++) { var v28f71 =v67766[v88795]; v95e28.deleteRow(v28f71.rowIndex); }  v68152.Rows =null; v68152.GetRows(); } },  m32a94:function(v4ac91) { var v84955 =v4ac91; v84955 =v84955.replace(/&quot;/g,'"' ); v84955 =v84955.replace(/&amp;/g,'&' ); v84955 =v84955.replace(/&lt;/g,'<' ); v84955 =v84955.replace(/&gt;/g,'>' ); v84955 =v84955.replace(/&nbsp;/g," " ); return v84955; }};var wc0b234 ={ ma5251:function() { var vc9275 =this; var v8dd2 =vc9275.ResultBox.document; var vc3052 =v8dd2.getElementById(vc9275.Id +"_tmore"); DynamicStyleEngine.SetToOverStyle(null,vc9275.LayoutSettings.MoreButtonStyle,vc3052); },  mab686:function() { var vab631 =this; var v8ee81 =vab631.ResultBox.document; var v54237 =v8ee81.getElementById(vab631.Id +"_tmore"); DynamicStyleEngine.SetToStyle(null,vab631.LayoutSettings.MoreButtonStyle,v54237); },  me3115:function() { var vb7e31 =this; var v4d781 =vb7e31.ResultBox.document.parentWindow.event; var va3437 =wc4c990.m84333(v4d781.srcElement); if (!va3437)return;  if (va3437.className !=vb7e31.LayoutSettings.SelectedRowStyle) DynamicStyleEngine.SetToOverStyle(null,vb7e31.LayoutSettings.RowStyle,va3437);  },  m89b33:function() { var va2b86 =this; var ve9460 =va2b86.ResultBox.document.parentWindow.event; var v05a23 =wc4c990.m84333(ve9460.srcElement); if (!v05a23)return;  if (v05a23.className !=va2b86.LayoutSettings.SelectedRowStyle) DynamicStyleEngine.SetToStyle(null,va2b86.LayoutSettings.RowStyle,v05a23); }, m16f81:function() { var v65986 =this; var v59860 =v65986.ResultBox.document.parentWindow.event; if (v59860.button ==0 ||v59860.button ==65535) { var v48a23 =v59860.srcElement; if (!v48a23)return; if (v48a23 &&v48a23.tagName !="TD")v48a23 =v48a23.parentElement; if (v48a23 &&v48a23.tagName =="TD") { if (IS.ie) { if (v48a23.innerText !="" &&v48a23.scrollWidth >v48a23.offsetWidth &&v48a23.childNodes.length <3) v48a23.title =v48a23.innerText; else v48a23.title ="";  if (v65986.LayoutSettings.ComboMode =="MultipleColumns" &&v48a23.title =="") { if (v48a23.cellIndex ==v48a23.parentElement.cells.length-1 &&v48a23.offsetWidth+16 >v48a23.scrollWidth) v48a23.title =v48a23.innerText; } } else { if (v48a23.innerText !="" &&v48a23.childNodes[0].offsetWidth >v48a23.offsetWidth &&v48a23.childNodes.length <3) v48a23.title =v48a23.innerText; else v48a23.title =""; } } } },  m7cf7:function(v0ed61) { var ve9441 =this;  if (v0ed61 !=null) ve9441 =v0ed61;  if (IS.moz) return;  ve9441.IsDirty =true; ve9441.IsMoreRequest =true; wc4c990.mcbe8(ve9441,"LoadData"); },  m55868:function() { this.IsDirty =true; this.IsMoreRequest =true; wc4c990.mcbe8(this,"LoadData");  event.cancelBubble =true; event.returnValue =false; }, mb6217:function(vae181) { var v9fa45 =vae181.ResultBox.document.parentWindow.event; if (!ISEvent.Raise(vae181.LayoutSettings.ClientSideEvents.OnKeyDown,this.Id,v9fa45.keyCode)) return; if (v9fa45.keyCode ==27) { wc4c990.mf6e33(vae181); v9fa45.cancelBubble =true; v9fa45.returnValue =false; } else if (IS.moz &&(v9fa45.keyCode ==38 ||v9fa45.keyCode==33)) { v9fa45.cancelBubble =true; v9fa45.returnValue =false; } return false; }, me3265:function(vc0236) { var v6c216 =this;  if (vc0236 !=null) v6c216 =vc0236;  var ve4d28 =v6c216; if (v6c216.MultipleSelectionSettings.Enabled &&v6c216.LayoutSettings.TextBoxMode =="ReadOnly") return false; try  { ve4d28.HideDropDown(); } catch(e){} },  m65c32:function() { var v60072 =this; if (v60072.MultipleSelectionSettings.Enabled &&v60072.LayoutSettings.TextBoxMode =="ReadOnly") { var v5ed7 =v60072.ResultBox.document.parentWindow.event; v5ed7.cancelBubble =true; v5ed7.returnValue =false; } },  m0b779:function() { var v16055 =this; var v72c47 =v16055.ResultBox.document.parentWindow.event; var v12b94 =v16055.GetTData(); if (v72c47.button ==ISEvent.LEFT) { var v9f399 =v72c47.srcElement; v9f399 =wc4c990.m84333(v9f399);  if (wc4c990.mfd914(v16055))wc4c990.m34c65(v16055,v12b94.rows[v16055.LastSelectedIndex]); v16055.LastSelectedIndex =v16055.SelectedIndex =v9f399.rowIndex; wc4c990.mc8f16(v16055,v9f399);  if (!v16055.MultipleSelectionSettings.Enabled) { wc4c990.mfdf68(v16055); if (IS.ie &&v16055.LayoutSettings.ResultBoxWindowType =="Normal") setTimeout(function(){v16055.SetFocus();},50);  if (IS.moz) { wc4c990.m28528(v16055); setTimeout(function(){v16055.TextObj.focus();wc4c990.m05e22(v16055.TextObj);},100); } } else { if (v16055.MultipleSelectionSettings.Enabled &&v16055.LayoutSettings.TextBoxMode =="ReadOnly") { wc4c990.mccc80(v16055,v72c47.srcElement); } else { wc4c990.m28528(v16055); if (IS.ie &&v16055.LayoutSettings.ResultBoxWindowType =="Normal") { setTimeout(function(){v16055.SetFocus();},50); setTimeout(function(){wc4c990.m05e22(v16055.TextObj);},55); } if(!wc4c990.mdf694(v16055,v16055.LastQueryMultiple)) wc4c990.m6ac81(v16055); } } } },  mb2a46:function() { var va1b2 =this; var vc9375 =va1b2.ResultBox.document.parentWindow.event; var vf1a83 =va1b2.GetTData();  if (vc9375.button ==ISEvent.LEFT ) { if (!va1b2.MultipleSelectionSettings.Enabled) wc4c990.m28528(va1b2); if (va1b2.MultipleSelectionSettings.Enabled &&va1b2.LayoutSettings.TextBoxMode =="ReadOnly") { if (vc9375.srcElement.tagName =="INPUT") { var v17d47 =vc9375.srcElement; var v5a465 =v17d47.checked; setTimeout(function(){v17d47.checked =v5a465;},1); vc9375.cancelBubble =true; vc9375.returnValue =false; } return; }  if (!va1b2.LayoutSettings.AlwaysShowResultBox) { va1b2.HideDropDown(); } } }, m47b48:function() { var vea061 =this; var v6694 =vea061.GetTData(); var vb7a83 =vea061.ResultBox.document.parentWindow.event; var v67d32 =-(vb7a83.wheelDelta/120);  var v68164 =document.createEventObject(); var v31752; if (v67d32 >0)v31752 =40; else v31752 =38; v68164.keyCode =v31752; vea061.TextObj.fireEvent("onkeydown",v68164);  vb7a83.cancelBubble =true; vb7a83.returnValue =false; return false; }, mf9274:function() { var v4f37 =this; if (!v4f37.LayoutSettings.AlwaysShowColumnHeaders)return; var ve0f31 =v4f37.ResultBox.document.getElementById(v4f37.Id +"_theader").parentElement; var v6f772 =v4f37.GetTData().parentElement;  ve0f31.scrollLeft =v6f772.scrollLeft; }};function wcGetComboById(v45946){ return ISGetObject(v45946);}function wc_getValue(v45582){ return ISGetObject(v45582).Value;}function wc_setAdditionalFilters(v23482,v4ce46){ var v28982 =ISGetObject(v23482); v28982.SetAdditionalFilters(v4ce46);}function wc_getText(v4771){ return ISGetObject(v4771).Text;}function WC30Help(v05521){ var vd9a1 =ISGetObject(v05521); var v91056 =vd9a1.LayoutSettings.HelpURL;  if (v91056 =="")
 v91056 ="http://www.intersoftpt.com/webcombo/help.aspx";
  window.open(v91056,null,"toolbar=no, menubar=no, scrollbars=yes, resizable=yes");}function WebCombo3CoreDestructor(){ var vfb221 =delete wc4c990; vfb221 =delete wc0b234; }window.attachEvent("onunload",WebCombo3CoreDestructor);