
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 11/24/2006 8:27:45 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(v2131){ 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 (v2131)this.Text =v2131;  this.Setup =function(v7db37) { this.CellElement =v7db37; var va1282 =0; if (this.Row.Combo.LayoutSettings.ComboMode =="MultipleColumns") va1282 =this.CellElement.cellIndex;  this.Column =this.Row.Combo.Columns[va1282]; this.Name =this.Column.BaseFieldName; this.Value =this.Text =v7db37.innerText;  if (this.CellElement.title) this.TooltipText =this.CellElement.title;  };  this.GetElement =function() { return this.CellElement; };  this.ToXml =function(v7db37) { var vb8d50 ="<Cell>"; vb8d50 +=ISXml.EncodeString(this.Text); vb8d50 +="</Cell>";  return vb8d50; };}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(v5554){ 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 (v5554) this.Value =v5554;  this.Setup =function(v4a787) { wc9755.m9cf37(v4a787); this.RowElement =v4a787; this.Value =v4a787.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 v71c57 =new ISArray(); for (var vf0f39=0; vf0f39<this.RowElement.cells.length; vf0f39++) { var v93e29 =this.GetCell(vf0f39); v71c57[v71c57.length] =v93e29; } this.Cells =v71c57; return v71c57; } else return this.Cells; };  this.GetCell =function(vb9a23) { var v93e29 =new WebComboCell(); v93e29.Position =vb9a23; v93e29.Row =this; v93e29.Setup(this.RowElement.cells[vb9a23]); return v93e29; };  this.GetTextData =function() { var vc2e13 =wc9755.mf6c99(this.Combo); var v71c57 =this.GetCells(); return v71c57[vc2e13].Text; };  this.Select =function() { this.Combo.SelectedIndex =this.Combo.LastSelectedIndex =this.Position; this.Combo.SetTextBoxValue(this.GetTextData()); wc9755.m5e544(this.Combo); wc9755.m54c2(this.Combo,true); };  this.ToXml =function() { var vcf028 ="<Row>"; vcf028 +="<Text>" +ISXml.EncodeString(this.Text)+"</Text>"; vcf028 +="<Value>" +ISXml.EncodeString(this.Value)+"</Value>"; if (this.Cells) { vcf028 +="<Cells>"; for(var vf0f39=0; vf0f39<this.Cells.length; vf0f39++) vcf028 +=this.Cells[vf0f39].ToXml(); vcf028 +="</Cells>"; } vcf028 +="</Row>"; return vcf028; };}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(v60799){ 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,v60799); 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 =v60799; 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); wc9755.m91696(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 v31e43 =ISXml.GetNodeText(this.XmlNode,"MultipleTexts"); if (v31e43 !="") { this.SetMultipleValues(v31e43,ISXml.GetNodeText(this.XmlNode,"MultipleValues")); wc9755.mb5834(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 v9e986 =["Row","Frame","TextBox","DropDown","MoreButton"];  for(var v50451=0; v50451<v9e986.length; v50451++) { var vbef22 =this.LayoutSettings[v9e986[v50451] +"Style"]; if (vbef22 &&vbef22.XmlNode) ISXml.RemoveNode(this.LayoutSettings.XmlNode,v9e986[v50451] +"Style"); } };  this.DestroyPopup =function() { if (this.ResultBox) { var v33579 =this.ResultBox.document;  wc9755.m63745(this,v33579); v33579.open("text/plain","replace"); v33579.write(""); v33579.close(); v33579 =null; this.ResultBox =null; } };  this.OnUnload =function() { wc9755.m49717(this); Listener.Unload(this.FrameObj); Listener.Unload(this.TextObj); Listener.Unload(this.SearchObj);  var vc8899 =this.FrameObj.parentElement; if (vc8899) { if (vc8899.tagName =="BODY" ||vc8899.tagName =="TD") { Listener.Unload(vc8899); } }  if (this.ResultBox) this.DestroyPopup(); window.detachEvent("onunload",function(){wc9755.mc4e22(v0b144)}); window.detachEvent("onload",function(){wc9755.m5ab31(v0b144)}); document.body.detachEvent("onclick",function(){wc9755.mabd28(v0b144)}); }; 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() { wc9755.m62d34(this); };  this.OnResponse =function(vbef22) { wc9755.md9e34(this,vbef22); };  this.OnResponseError =function(vbef22) { wc9755.mbbb69(this,vbef22); };   this.SendCustomRequest =function() { wc9755.m9ba43(this,"Custom"); };  this.IsValueInRange =function() { return wc9755.m4b753(this); };  this.GetImagesFolder =function() { return this.LayoutSettings.ImagesDirectory; };  this.ShowDropDown =function(v5a255) { return wc9755.ma0037(this,v5a255); };  this.HideDropDown =function() { if (this.ResultBox) this.ResultBox.hide(); this.ResultBoxShown =false; this.LastShownPosition =0; };  this.SetSelectedIndex =function(v50451) { var v62434 =this.GetRow(v50451); if (!v62434) return false;  v62434.Select(); return true; };  this.SetSelectedRowByValue =function(v5a510) { var v95639 =this.GetRows(); if (!v95639) return false;  for (var v50451=0; v50451<v95639.length; v50451++) { var vfe620 =v95639[v50451]; if (vfe620.Value ==v5a510) { vfe620.Select(); return true; } }  return false; };  this.SetText =function(vbef22,v56949) { this.TextObj.value =this.Text =vbef22; if (v56949) this.Value =vbef22; this.IsDirty =true; };  this.LoadValue =function(vf5e49) { if (vf5e49) this.XmlHttp.Asynchronous =false;  this.SkipLatency =true; wc9755.ma0037(this); this.XmlHttp.Asynchronous =true; };  this.SetValue =function(v5a510) { this.Value =v5a510; };  this.GetTextBoxValue =function() { return this.TextObj.value; };  this.SetTextBoxValue =function(v5a510) { this.TextObj.value =v5a510; };  this.GetValidatorValue =function() { return this.GetTextBoxValue(); };  this.ClearSelection =function() { wc9755.m78596(this); this.SetTextBoxValue(""); };  this.NewRow =function(v5a510) { var vfe620 =new WebComboRow(); vfe620.Combo =this; vfe620.Cells =new ISArray();  for (var v50451=0; v50451<this.Columns.length; v50451++) { var v0b144 =this.Columns[v50451]; if (!v0b144.Hidden) { var v58c25 =new WebComboCell(); v58c25.Name =v0b144.BaseFieldName; vfe620.Cells.Add(v58c25); } }  return vfe620;  };  this.GetSelectedValueItem =function() { if (this.Values ==null)return null;  for(var v50451=0; v50451<this.Values.length; v50451++) if (this.Values[v50451].IsSelected)return this.Values[v50451]; return null; };  this.ClearSelectedValueItem =function() { if (this.Values ==null)return null;  for(var v50451=0; v50451<this.Values.length; v50451++) this.Values[v50451].IsSelected =false; };  this.GetRows =function() { if (this.Rows !=null) return this.Rows;  if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode();  var v71073 =this.GetTData(); var v95639 =new ISArray(); if (v71073) { for(var v50451=0; v50451<v71073.rows.length; v50451++) { var vfe620 =this.GetRow(v50451); v95639[v95639.length] =vfe620; } }  this.Rows =v95639; return v95639; };  this.GetRowsCount =function() { if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode(); var v71073 =this.GetTData(); if (v71073) return v71073.rows.length;  return -1; };  this.GetRow =function(v5a510) { if (this.Rows !=null) return this.Rows[v5a510];  if (!this.IsDataBound &&!this.UnboundDataInitialized) this.InitializeUnboundMode();  var v71073 =this.GetTData(); var vfe620 =new WebComboRow(); vfe620.Setup(v71073.rows[v5a510]); vfe620.Position =v5a510; vfe620.Combo =this; return vfe620; };  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 v1df20 =this.GetTData(); return v1df20.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(v31e43,v6e37,vd6435) { if (vd6435 ==null) vd6435 =new ISArray(); else { var v69639 =vd6435; vd6435 =new ISArray(); for (var v50451=0; v50451<v69639.length; v50451++) vd6435.Add(new WebComboCell(v69639[v50451])); } var v62434 =new WebComboRow(); v62434.Text =v31e43; v62434.Value =v6e37; v62434.Cells =vd6435; wc9755.mdd590(this,v62434); };  this.UpdateUI =function() { wc9755.mc3e80(this); };  this.GetXmlResponse =function() { return this.XmlResp; }; this.GetResponseProperty =function(v68551) { return ISXml.GetNodeText(this.XmlResp,v68551); };  this.GetLastAction =function() { return this.LastAction; };  this.UpdateState =function() { wc9755.m62d34(this); };  this.DoResize =function() { wc9755.ma3672(this); };  this.UnhighlightRow =function(v62434) { wc9755.m6ac40(this,v62434); };  this.InitializeUnboundMode =function() { wc9755.mc8244(this); };  this.SearchUnbound =function() { wc9755.m5d232(this); };  this.SetAdditionalFilters =function(vbef22) { wc9755.mf7967(this); this.Set("AdditionalFiltersText",vbef22,true); this.IsDirty =true; this.NeedClearList =true; this.TextObj.value =""; this.LastSelectedIndex =this.SelectedIndex =-1; this.RowIndex =null; try  { wc9755.m57e61(this); } catch(e){} wc9755.m78596(this); };  this.ClearAdditionalFilters =function() { this.SetAdditionalFilters(""); };  this.SetMultipleValues =function(v31e43,v6e37) { if (v31e43 ==null ||v6e37 ==null)return; this.Values =new Array();  var v4a74 =v31e43.split(this.MultipleSelectionSettings.SeparatorChar); var v56388 =v6e37.split(this.MultipleSelectionSettings.SeparatorChar);  if (v4a74.length !=v56388.length)return;  for(var v50451=0; v50451<v4a74.length; v50451++) { var vb4384 =new WebComboValueItem(); vb4384.Text =wc9755.me5b12(v4a74[v50451]); vb4384.Value =wc9755.me5b12(v56388[v50451]); if (vb4384.Text =="")continue; this.Values[this.Values.length]=vb4384; } };  this.GetMultipleValues =function() { return this.Values; };  this.GetMultipleValuesText =function() { if (this.Values ==null)return ""; var vbef22 ="";  for (var v50451=0; v50451<this.Values.length; v50451++) vbef22 +=this.Values[v50451].Text +this.MultipleSelectionSettings.SeparatorChar +" ";  return vbef22; };  this.GetMultipleValuesValue =function() { if (this.Values ==null)return ""; var vbef22 ="";  for (var v50451=0; v50451<this.Values.length; v50451++) vbef22 +=this.Values[v50451].Value +this.MultipleSelectionSettings.SeparatorChar +" ";  return vbef22; };  this.RefreshValueItems =function() { wc9755.mb5834(this); };  this.RefreshTextByValueItems =function() { wc9755.mf525(this); };  this.ClearResultBox =function() { wc9755.m57e61(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 va0010 =this.ResolvedParentWebComboID.split(","); for(var v71094=0; v71094<va0010.length; v71094++) { var v73b6 =va0010[v71094].replace(new RegExp(" ","g"),""); if (v73b6 !="") { var v24261 =ISGetObject(v73b6); if (!v24261) { alert("The specified Parent WebCombo ID '" +v73b6 +"' can't be found in this Page. LinkSettings is now disabled!"); this.Enabled =false; return; } else { if (v24261.ClassName &&v24261.ClassName =="WebCombo") { if (v24261.LinkSettings.Enabled &&v24261.LinkSettings.ParentWebComboID.indexOf(this.Parent.ClientID)>-1) { alert("The specified Parent WebCombo ID '" +v73b6 +"' contains reference to this instance as its ParentWebComboID and will cause infinite loops. LinkSettings is now disabled!"); this.Enabled =false; return; }  if (v24261.MultipleSelectionSettings.Enabled) { alert("The parent WebCombo ID '" +v73b6 +"' has MultipleSelection feature enabled. The LinkSettings is now disabled!"); this.Enabled =false; return; }  v24261.HasLinkedChilds =true; if (v24261.LinkedChilds ==null) v24261.LinkedChilds =new Array(); v24261.LinkedChilds[v24261.LinkedChilds.length] =this.Parent;  if (this.ParentWebCombo ==null) this.ParentWebCombo =new Array();  this.ParentWebCombo[this.ParentWebCombo.length] =v24261; } else { alert("The specified Parent WebCombo ID '" +v73b6 +"' 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(vf4576){ var v4db40 =wc9755.m1bb43(vf4576); v4db40.OnInitialize();}var wc9755 ={ Initialized: false,  m1bb43:function(v9492) { var vba966 =new WebCombo(v9492); wc9755.m8607(vba966); wc9755.m5c38(vba966); wc9755.m26413(vba966); vba966.IsInit =true; return vba966; },  m8607:function(va8621) { if (va8621==null)return; if (!va8621.IsInit) { var v80985 =null;  try { v80985 =ISXml.GetNode(va8621.XmlDt,"//WebCombo"); } catch(e) {} if (v80985 ==null) v80985 =va8621.XmlDt.documentElement;  if (v80985!=null) { IS.SetPropertiesRecursive(va8621,v80985); va8621.TextObj =document.getElementById(va8621.Id +"_text"); va8621.SearchObj =document.getElementById(va8621.Id +"_search"); va8621.LayoutSettings.FrameStyle =DynamicStyleEngine.Assign(ISXml.GetNode(va8621.XmlDt,"//FrameStyle"),va8621.FrameObj); va8621.LayoutSettings.TextBoxStyle =DynamicStyleEngine.Assign(ISXml.GetNode(va8621.XmlDt,"//TextBoxStyle"),va8621.TextObj); va8621.LayoutSettings.DropDownStyle =DynamicStyleEngine.Assign(ISXml.GetNode(va8621.XmlDt,"//DropDownStyle"),va8621.SearchObj); va8621.LayoutSettings.RowStyle =DynamicStyleEngine.Assign(ISXml.GetNode(va8621.XmlDt,"//RowStyle")); va8621.LayoutSettings.MoreButtonStyle =DynamicStyleEngine.Assign(ISXml.GetNode(va8621.XmlDt,"//MoreButtonStyle")); } } },  m5c38:function(v89d96) { window.attachEvent("onunload",function(){wc9755.mc4e22(v89d96)}); window.attachEvent("onload",function(){wc9755.m5ab31(v89d96)}); document.body.attachEvent("onclick",function(){wc9755.mabd28(v89d96)});  var vb8041 =v89d96.FrameObj; Listener.Add(vb8041,"onmouseover",function(){wc9755.md8191(v89d96)}); Listener.Add(vb8041,"onmouseout",function(){wc9755.m11f27(v89d96)});  var v86417 =v89d96.TextObj; Listener.Add(v86417,"onfocus",function(){wc9755.mbef56(v89d96)}); Listener.Add(v86417,"onblur",function(){wc9755.m54113(v89d96)}); Listener.Add(v86417,"onbeforedeactivate",function(){wc9755.mf1798(v89d96)}); Listener.Add(v86417,"onkeydown",function(){wc9755.mf8f20(v89d96)}); Listener.Add(v86417,"onkeyup",function(){wc9755.m27478(v89d96)}); Listener.Add(v86417,"onkeypress",function(){wc9755.m1e537(v89d96)}); Listener.Add(v86417,"onmousedown",function(){wc9755.m43335(v89d96)}); Listener.Add(v86417,"onmouseup",function(){wc9755.mfbb40(v89d96)}); Listener.Add(v86417,"onclick",function(){wc9755.m74a4(v89d96)}); Listener.Add(v86417,"ondragstart",function(){return wc9755.m7cb16(v89d96)}); Listener.Add(v86417,"onselectstart",function(){return wc9755.m2ac67(v89d96)}); Listener.Add(v86417,"ondblclick",function(){return wc9755.m20097(v89d96)}); Listener.Add(v86417,"oncontextmenu",function(){wc9755.m35140(v89d96)});  var v90029 =v89d96.SearchObj; Listener.Add(v90029,"onmousedown",function(){wc9755.m43335(v89d96)}); v89d96.XmlHttp =ISXmlHttpEngine.Create(v89d96,function(){wc9755.md9e34(g);});  },  m49717:function(vbdb32) { window.detachEvent("onunload",function(){wc9755.mc4e22(vbdb32)}); window.detachEvent("onload",function(){wc9755.m5ab31(vbdb32)}); window.document.body.detachEvent("onclick",function(){wc9755.mabd28(vbdb32)}); },  m26413:function(va3e32) { },  m5ab31:function(v0487) { wc9755.ma3672(v0487); var v38c15 =v0487.FrameObj.parentElement; if (v38c15) { if (v38c15.tagName =="BODY" ||v38c15.tagName =="TD") { Listener.Add(v38c15,"onresize",function(){wc9755.ma3672(v0487);}); } }  if (v0487.HasLinkedChilds &&v0487.Value !=null &&v0487.Value !="") { for(var vbd36=0; vbd36<v0487.LinkedChilds.length; vbd36++) { var v8a481 =v0487.LinkedChilds[vbd36]; if (!v8a481.IsDataBound) { wc9755.m06322(v8a481,v0487); } } } },  mc4e22:function(v45f90) {  },  mabd28:function(vde990) { if (event.srcElement !=vde990.SearchObj) vde990.ResultBoxShown =false; },  ma3672:function(v4a618) { var vdce26 =v4a618; var vae664 =(vdce26.FrameObj.offsetWidth -vdce26.FrameObj.clientWidth)*2; if (vdce26.FrameObj.offsetWidth <50) { event.returnValue =false; return false; } vdce26.TextObj.style.width =vdce26.FrameObj.offsetWidth -vdce26.SearchObj.offsetWidth -vae664; },  md8191:function(v34218) { if (!v34218.IsTextObjFocused) { v34218.LayoutSettings.FrameStyle.SetToOver(); v34218.LayoutSettings.TextBoxStyle.SetToOver(); v34218.LayoutSettings.DropDownStyle.SetToOver(); } },  m11f27:function(va1818) { if (!va1818.IsTextObjFocused) { va1818.LayoutSettings.FrameStyle.SetToNormal(); va1818.LayoutSettings.TextBoxStyle.SetToNormal(); va1818.LayoutSettings.DropDownStyle.SetToNormal(); } },  mbef56:function(vf8b18) { if (vf8b18.TextObj &&!vf8b18.TextObj.readOnly &&!vf8b18.MultipleSelectionSettings.Enabled) vf8b18.TextObj.select();  vf8b18.LayoutSettings.FrameStyle.SetToActive(); vf8b18.LayoutSettings.TextBoxStyle.SetToActive(); vf8b18.LayoutSettings.DropDownStyle.SetToActive(); vf8b18.IsTextObjFocused =true; },  m35140:function(v6df37) { if (v6df37.MultipleSelectionSettings.Enabled) { if (v6df37.Values ==null)return; var v9461 =v6df37.GetSelectedValueItem(); if (v9461) { ISEvent.Raise(v6df37.LayoutSettings.ClientSideEvents.OnValueItemContextMenu,v6df37.Id,v9461); } } },  mf1798:function(v64b21) { if (v64b21.LayoutSettings.ResultBoxWindowType =="Normal") { if (event &&event.toElement) { if (v64b21.ResultBox &&v64b21.ResultBox.document) { var v4fb37 =v64b21.ResultBox.document.getOwnerDocument(); if (v4fb37.contains(event.toElement)) { v64b21.EventInResultBox =true; return false; } } } } v64b21.EventInResultBox =false; },  m54113:function(vf0757) { if (IS.moz) { if (event &&event.srcElement) { if (vf0757.ResultBox &&vf0757.ResultBox.document) { var vac157 =vf0757.ResultBox.document.getOwnerDocument(); if (vac157.contains(event.srcElement)) return false; } } } else if (vf0757.EventInResultBox)return false; vf0757.IsTextObjFocused =false; vf0757.ResultBoxShown =false; wc9755.m11f27(vf0757); if (!ISEvent.Raise(vf0757.LayoutSettings.ClientSideEvents.OnLostFocus,vf0757.Id))return; if (vf0757.ResultBox ==null &&vf0757.LayoutSettings.EntryMode !="InstantLookup")return; if (vf0757.Value ==null &&wc9755.m4b753(vf0757)) wc9755.m5e544(vf0757); else { if (vf0757.MultipleSelectionSettings.Enabled) { if (!vf0757.MultipleSelectionSettings.AllowNotInListText) { wc9755.mb5834(vf0757); if (wc9755.mfed60(vf0757)) wc9755.mf525(vf0757); } } else { if (!vf0757.AllowAdd) { if (vf0757.GetTextBoxValue()!="") { if (vf0757.LayoutSettings.EntryMode !="InstantLookup") { if (vf0757.RequestId ==0) wc9755.m00779(vf0757); } else  { if (vf0757.IsDataBound) { if (vf0757.Value ==null ||vf0757.Value =="" ||vf0757.IsDirty) { vf0757.IsDirty =true; wc9755.ma0037(vf0757); return; } } else { if (vf0757.IsDirty) { wc9755.mc8244(vf0757); wc9755.m5d232(vf0757); if (vf0757.SelectedIndex >-1) wc9755.m5e544(vf0757); else vf0757.Value =null;  if (vf0757.Value ==null ||vf0757.Value =="") wc9755.ma0037(vf0757); else wc9755.m54c2(vf0757,true);  vf0757.IsDirty =false; } } } } else  { wc9755.m78596(vf0757); if (vf0757.HasLinkedChilds &&vf0757.LinkedChilds !=null) wc9755.m5b852(vf0757); } } else  { if (!wc9755.m4b753(vf0757)) { if (vf0757.GetTextBoxValue()!="") wc9755.mdd590(vf0757); else  wc9755.m78596(vf0757); } else  { wc9755.m5e544(vf0757); wc9755.m54c2(vf0757,true); } } } } vf0757.UpdateState(); },  mf8f20:function(v36167) { var v11a76 =v36167; var v87941; var vde155 =false; var v3ae5 =false; var v1816 =true; v11a76.LastEventType ="Key"; v11a76.LastKeyCode =event.keyCode; v11a76.LastCtrlKey =event.ctrlKey; v11a76.LastKeyDownHandled =false; try  { v87941 =v11a76.GetTData(); var vc4263 =v87941.parentElement; } catch (e) { if (event.keyCode !=9 &&event.keyCode !=27 &&event.keyCode !=13 &&!event.shiftKey &&!event.ctrlKey) { var v70665 =true; if (event.keyCode ==18 &&event.altKey)return; if (v11a76.MultipleSelectionSettings.Enabled) { if (event.keyCode ==ISKeyboardKey.LEFT ||event.keyCode ==ISKeyboardKey.RIGHT ||((event.keyCode ==ISKeyboardKey.BACKSPACE ||event.keyCode ==ISKeyboardKey.DELETE)&&IS.moz &&!v11a76.ResultBoxShown)) v70665 =false; }  if (v70665) { minChars =v11a76.MinCharsToRequest; if (v11a76.TextObj.value.length >=minChars) { if (v11a76.LayoutSettings.EntryMode !="InstantLookup") wc9755.ma0037(v36167,false); } } }  if ((v11a76.LayoutSettings.EntryMode =="InstantLookup" &&(event.keyCode ==9 ||event.keyCode ==13))||(v11a76.MultipleSelectionSettings.Enabled &&(event.keyCode ==8 ||event.keyCode ==46 ||event.keyCode ==32 ||event.keyCode ==ISKeyboardKey.LEFT ||event.keyCode ==ISKeyboardKey.RIGHT ||v11a76.GetSelectedValueItem()!=null))) { }else return; }  if (event.keyCode ==40 ||event.keyCode==34) { if (event.altKey) { wc9755.ma0037(v36167,true); return; }  if (wc9755.m4b753(v11a76)) wc9755.m6ac40(v36167,v87941.rows[v11a76.LastSelectedIndex]);  if (event.keyCode ==40) { if (v11a76.MultipleSelectionSettings.Enabled &&!v11a76.IsDataBound) v11a76.LastSelectedIndex =wc9755.mdc139(v87941,v11a76.LastSelectedIndex); else { if (!v11a76.IsDataBound &&v11a76.LinkSettings.Enabled) v11a76.LastSelectedIndex =wc9755.mdc139(v87941,(v11a76.LastSelectedIndex ==-1 ? 0 : v11a76.LastSelectedIndex)); else v11a76.LastSelectedIndex++; } } else v11a76.LastSelectedIndex +=v11a76.DropDownRows;  if (v11a76.LastSelectedIndex >=v87941.rows.length) { if (v11a76.TotalRetrievedRows <v11a76.TotalRows) { wc3e417.mc7211(v36167); v3ae5 =true; } if (v3ae5 ||event.keyCode ==34)v11a76.LastSelectedIndex =v87941.rows.length-1; }  if (v11a76.LastSelectedIndex >v87941.rows.length &&!v3ae5) { if (!v11a76.IsDataBound &&v11a76.LinkSettings.Enabled) v11a76.LastSelectedIndex =-1; else v11a76.LastSelectedIndex =0; } v11a76.SelectedIndex =v11a76.LastSelectedIndex;  if (v11a76.LastSelectedIndex <v87941.rows.length) { var v6f368 =v87941.rows[v11a76.LastSelectedIndex]; wc9755.mbbe59(v36167,v6f368); } vde155 =true; } else if (event.keyCode ==38 ||event.keyCode==33) { if (wc9755.m4b753(v11a76)) wc9755.m6ac40(v11a76,v87941.rows[v11a76.LastSelectedIndex]);  if (event.keyCode ==38) { if (v11a76.MultipleSelectionSettings.Enabled &&!v11a76.IsDataBound) v11a76.LastSelectedIndex =wc9755.m6cb30(v87941,v11a76.LastSelectedIndex); else { if (!v11a76.IsDataBound &&v11a76.LinkSettings.Enabled) v11a76.LastSelectedIndex =wc9755.m6cb30(v87941,v11a76.LastSelectedIndex ==-1 ? v87941.rows.length-1 : v11a76.LastSelectedIndex,true); else v11a76.LastSelectedIndex--; } } else  { v11a76.LastSelectedIndex -=v11a76.DropDownRows; if (v11a76.LastSelectedIndex <-1)v11a76.LastSelectedIndex =0; } if (v11a76.LastSelectedIndex <-1)v11a76.LastSelectedIndex =v87941.rows.length-1; v11a76.SelectedIndex =v11a76.LastSelectedIndex;  if (v11a76.LastSelectedIndex >=0) { var v6f368 =v87941.rows[v11a76.LastSelectedIndex]; wc9755.mbbe59(v11a76,v6f368); }  vde155 =true; } else if (event.keyCode ==27) { wc9755.m00779(v11a76); vde155 =true; } else if (event.keyCode ==13) { if (v11a76.MultipleSelectionSettings.Enabled &&v11a76.LayoutSettings.TextBoxMode =="ReadOnly") { wc9755.maf235(v11a76); vde155 =true; } else {  v11a76.HideDropDown();  if (v11a76.AllowAdd &&!wc9755.m01473(v11a76)) { wc9755.mdd590(v11a76); v1816 =false; } else  { if (!v11a76.ResultBoxShown &&v11a76.LayoutSettings.EntryMode =="InstantLookup") { if (v11a76.LastSelectedIndex ==-1) { wc9755.ma0037(v11a76,false); v1816 =false; } else { wc9755.m5e544(v36167); } } else { wc9755.m5e544(v36167); if (v11a76.MultipleSelectionSettings.Enabled) { if (v11a76.LastSelectedIndex !=-1) { if(!wc9755.m1d931(v36167,v36167.LastQueryMultiple)) wc9755.m73432(v36167); } } else { if (!v11a76.MultipleSelectionSettings.AllowNotInListText) wc9755.meb457(v36167); else wc9755.m73432(v36167,true); } } } } v11a76.ResultBoxShown =false; vde155 =true; } else if (event.keyCode ==8 ||event.keyCode ==46) { if (v36167.MultipleSelectionSettings.Enabled) { var v75894; var v60199 =v36167.GetSelectedValueItem();  if (v60199 ==null) { if (event.keyCode ==ISKeyboardKey.BACKSPACE) v75894 =wc9755.mab39(v36167,"Previous"); else v75894 =wc9755.mab39(v36167,"Next"); } else { v75894 =wc9755.mab39(v36167,"Next",true); v36167.ClearSelectedValueItem(); wc9755.mb5834(v36167); wc9755.mbe650(v36167.TextObj,v60199.StartPos,true); }  if (v75894) { vde155 =true; v1816 =false; } } } else if (event.keyCode ==ISKeyboardKey.LEFT) { if (v36167.MultipleSelectionSettings.Enabled) wc9755.mad676(v36167,"Previous"); } else if (event.keyCode ==ISKeyboardKey.RIGHT) { if (v36167.MultipleSelectionSettings.Enabled) { var v75894 =wc9755.mad676(v36167,"Next"); if (v75894) { vde155 =true; v1816 =false; } }  } else if (event.keyCode ==9) { wc9755.m5e544(v36167); if (v11a76.ResultBoxShown) { if (v11a76.MultipleSelectionSettings.Enabled) { vde155 =true; v1816 =false; if (v11a76.LastSelectedIndex !=-1) { if(!wc9755.m1d931(v36167,v36167.LastQueryMultiple)) { wc9755.m73432(v36167); if (IS.moz ||v36167.LayoutSettings.ResultBoxWindowType =="Normal") v36167.HideDropDown(); } else vde155 =false; } else { var va3c38 =wc9755.md3778(v36167.TextObj); if (va3c38 <v36167.TextObj.value.length) { if (!v11a76.MultipleSelectionSettings.AllowNotInListText) wc9755.meb457(v36167); else wc9755.m73432(v36167,true); } else vde155 =false; } } } } else { if (v11a76.MultipleSelectionSettings.Enabled) { if (event.keyCode ==ISKeyboardKey.SPACE &&event.ctrlKey &&v11a76.MultipleSelectionSettings.AllowBrowseAll) { if (v11a76.IsDataBound) wc9755.ma0037(v11a76);  vde155 =true; v1816 =false; } else if (event.keyCode ==ISKeyboardKey.SPACE &&v11a76.MultipleSelectionSettings.Enabled &&v11a76.LayoutSettings.TextBoxMode =="ReadOnly") { wc9755.maf235(v36167);  vde155 =true; v1816 =false; } else { var v73a76 =ISKeyboardKey.GetChar();  if (wc9755.macf34(v11a76.TextObj)&&(ISKeyboardKey.IsLetter(event.keyCode)||ISKeyboardKey.IsNumber(event.keyCode))) { if (v11a76.Values !=null) v11a76.Values =null; return; } else if (v36167.GetSelectedValueItem()!=null &&(ISKeyboardKey.IsLetter(event.keyCode)||ISKeyboardKey.IsNumber(event.keyCode))) { v75894 =wc9755.mab39(v36167,"Next",true); v36167.ClearSelectedValueItem(); wc9755.mb5834(v36167); }  if (v73a76 ==v11a76.MultipleSelectionSettings.SeparatorChar &&v11a76.LastQueryMultiple !=null) { if (v11a76.LastQueryMultiple.Text !="") { if (v11a76.LastSelectedIndex !=-1) { if(!wc9755.m1d931(v36167,v36167.LastQueryMultiple)) { wc9755.m5e544(v36167); wc9755.m73432(v36167); v11a76.LastQueryMultiple =null; } } else { if (!v11a76.MultipleSelectionSettings.AllowNotInListText) wc9755.meb457(v36167); else wc9755.m73432(v36167,true); } }  if (v11a76.ResultBoxShown) v11a76.HideDropDown();  vde155 =true; v1816 =false; } } } } if (vde155) { v11a76.LastKeyDownHandled =true; if (event.keyCode !=27) { if (v1816) { if (!v11a76.MultipleSelectionSettings.Enabled) wc9755.m54c2(v11a76); } } event.cancelBubble =true; event.returnValue =false; return false; }  return true; },  m1e537:function(vd5b58) { if (IS.moz) { if (vd5b58.LastKeyDownHandled) { event.cancelBubble =true; event.returnValue =false; return false; } } },  m7cb16:function(vf9358) { if (vf9358.MultipleSelectionSettings.Enabled) return false; },  m2ac67:function(v9cf42) { var v46558 =event; if (v9cf42.MultipleSelectionSettings.Enabled) { if (v9cf42.IsMouseDown) return false; }  return true; },  m20097:function(vdef14) { if (vdef14.MultipleSelectionSettings.Enabled) { var vaaf42 =wc9755.md3778(vdef14.TextObj); var v3cb33 =vdef14.GetSelectedValueItem();  if(!v3cb33) wc9755.mbe650(vdef14.TextObj,vaaf42,true); } },  m27478:function(v6c769) { var vb9014 =v6c769;  if (event.keyCode ==8 ||event.keyCode ==46) { if (v6c769.MultipleSelectionSettings.Enabled) { if (v6c769.TextObj.value =="") { if (v6c769.Values !=null) v6c769.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 &&!v6c769.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 (v6c769.MultipleSelectionSettings.Enabled) { if (v6c769.LayoutSettings.TextBoxMode =="ReadOnly" &&!v6c769.IsDataBound) return; else if (IS.moz &&!v6c769.ResultBoxShown &&(event.keyCode ==ISKeyboardKey.BACKSPACE ||event.keyCode ==ISKeyboardKey.DELETE)) return; }  if (vb9014.LastQuery !=vb9014.TextObj.value ||vb9014.IsDirty ||(event.ctrlKey &&v6c769.MultipleSelectionSettings.Enabled)) { vb9014.IsDirty =true; if (vb9014.IsDataBound) { vb9014.NeedClearList =true; vb9014.LastSelectedIndex =vb9014.SelectedIndex =-1; vb9014.RowIndex =null; } minChars =vb9014.MinCharsToRequest; if (vb9014.TextObj.value.length >=minChars) { if (vb9014.LayoutSettings.EntryMode !="InstantLookup") { wc9755.ma0037(vb9014,false); } else  { if (vb9014.ResultBoxShown) vb9014.HideDropDown(); } } else { wc9755.mf7967(v6c769); wc3e417.md9651(v6c769); return true; } } else  { vb9014.IsDirty =false; } }  if (vb9014.IsDirty) { if (vb9014.IsDataBound) { if (!vb9014.MultipleSelectionSettings.Enabled) wc9755.m41b70(vb9014,vb9014.LayoutSettings.TextSettings.SearchText +" '" +vb9014.TextObj.value +"'"); else wc9755.m41b70(vb9014,vb9014.LayoutSettings.TextSettings.LoadingText); } } return true; },  m43335:function(vd3a72) { var v72389 =event.srcElement; vd3a72.IsMouseDown =true;  if (v72389 ==vd3a72.SearchObj ||vd3a72.SearchObj.contains(v72389)) { vd3a72.LastEventType ="Mouse"; vd3a72.LastKeyCode =0; wc9755.ma0037(vd3a72,true); } else if (v72389 ==vd3a72.TextObj &&vd3a72.LayoutSettings.TextBoxMode =="ReadOnly") { vd3a72.LastEventType ="Mouse"; vd3a72.LastKeyCode =0; wc9755.ma0037(vd3a72,true); } },  mfbb40:function(v6688) { v6688.IsMouseDown =false; },  m74a4:function(v94b19) { var v4848 =event.srcElement; if (v4848 ==v94b19.TextObj &&v94b19.MultipleSelectionSettings.Enabled &&v94b19.Values !=null ) { var v67270 =wc9755.md3778(v94b19.TextObj);  if (v94b19.GetSelectedValueItem()==null ||v67270 >0) { var v34275 =wc9755.mf3093(v94b19); var v43e83 =v34275[0]; var v89924 =v34275[1]; var va2372 =v94b19.Values[v89924];  if (va2372) { if (v67270 >va2372.StartPos) { v94b19.ClearSelectedValueItem(); va2372.IsSelected =true; wc9755.mb5834(v94b19); wc9755.mc6371(v94b19,va2372,v67270); } else v94b19.ClearSelectedValueItem(); } else v94b19.ClearSelectedValueItem(); } else { var va2372 =v94b19.GetSelectedValueItem(); wc9755.mb5834(v94b19); wc9755.mc6371(v94b19,va2372); } } },  mdc139:function(vb5494,v6a417) { var vc3d38 =vb5494.rows[v6a417]; if (!vc3d38)return v6a417;  var v19a38 =vc3d38.rowIndex; if (v19a38 ==vb5494.rows.length -1) return 0; else { while (true) { v19a38++; var vc3d38 =vb5494.rows[v19a38]; if (!vc3d38) return v19a38+1;  if (vc3d38.style.display !="none") return v19a38; } }  return -1; },  m6cb30:function(v3a969,v8e66,v9dd50) { var v3e213 =v3a969.rows[v8e66]; if (!v3e213)return v8e66;  var vb2027 =v3e213.rowIndex; if (vb2027 ==-1) { return wc9755.m6cb30(v3a969,v3a969.rows.length-1); } else { while (true) { vb2027--; var v3e213 =v3a969.rows[vb2027]; if (!v3e213) { if (v9dd50) return -1; else return vb2027-1; }  if (v3e213.style.display !="none") return vb2027; } }  },  m91696:function(vafb80) { if (vafb80.MultipleSelectionSettings.Enabled)return;  var v69060 =wc9755.m5cc28(vafb80.TextObj.value); var vdea54 =vafb80.Value; if (vdea54 !="")vdea54 =wc9755.m7d053(vdea54); vafb80.Text =v69060; vafb80.Value =vdea54; if (v69060 !="") { vafb80.LastQuery =v69060; vafb80.TextObj.value =v69060; } else  vafb80.LastQuery =null; },  m5cc28:function(v57855) { var vefc19 =new RegExp(unescape("%A0"),"img"); return v57855.replace(vefc19," " ); }, mdd590:function(v1ed29,v4a941) { var vefe55 =v1ed29; var v78d53; if (vefe55.IsOnAdd)return true;  if (v4a941) v78d53 =v4a941; else  { v78d53 =new WebComboRow(); v78d53.Text =vefe55.TextObj.value; v78d53.Value =v78d53.Text; }  if (v78d53.Text =="")return true;  vefe55.NewRowObj =v78d53; vefe55.IsOnAdd =true; if (!v4a941) { if (!ISEvent.Raise(v1ed29.LayoutSettings.ClientSideEvents.OnAddItem,v1ed29.Id)) { vefe55.IsOnAdd =false; return;  } } vefe55.IsOnAdd =false;  if (vefe55.IsDataBound) { if (!v4a941) { if ((vefe55.TotalRetrievedRows >0 &&wc9755.m4b753(vefe55))||!vefe55.ResultBox ||vefe55.IsInProgress) return; } else  if (vefe55.IsInProgress)return;  wc9755.m9ba43(vefe55,"AddItem"); }else wc9755.m5ba62(vefe55);  },  mcd843:function(v4f385) { var v6fa21 =v4f385; var v91b90 =v6fa21.LayoutSettings.StatusBoxPosition; var v4bd28 =v4f385.ResultBox.document; var v8ec0 =""; var v49742 =""; var v19873 =v4f385.Id; var vf276 =new Array("ResultFrame","ResultBox","StatusBox","Row","Header","Column","SelectedRow","MoreButton"); var v57513 =v4bd28.body; if (IS.ie &&v4f385.LayoutSettings.ResultBoxWindowType =="Popup") { for (var v78433=0; v78433<vf276.length; v78433++) { var v99558 =v4bd28.createStyleSheet(); var vca839 =v4f385.LayoutSettings[vf276[v78433] +"Style"]; if (typeof(vca839)=="string") IS.AddStyleRule(v99558,v4f385.Id,vca839); else if (typeof(vca839)=="object") DynamicStyleEngine.AddStyleRule(v99558,v4f385.Id,vca839); } } else v57513 =v4bd28.getOwnerDocument();  v57513.className =v6fa21.LayoutSettings.ResultFrameStyle; v57513.scroll ="no"; v57513.style.margin =v57513.style.padding ="0px";  if (IS.moz) v57513.style.overflow ="hidden"; if (v6fa21.LayoutSettings.StatusBoxVisible) { v49742 +="<table id='" +v19873 +"_tstatus' class='" +v6fa21.LayoutSettings.StatusBoxStyle +"' cellspacing=0 cellpadding=0 style='padding: 3px; width: 100%;" +"' >"; v49742 +="<tr><td id='" +v19873 +"_tdstatus' noWrap width='100%'><span id='" +v19873 +"_spstatus' style='text-overflow: ellipsis; overflow: hidden; width: 100%'>Ready.</span></td><td noWrap align='right'>"; if (v6fa21.LayoutSettings.AlwaysShowHelpButton)v49742 +="<img alt='" +v4f385.LayoutSettings.TextSettings["HelpTitleText"] +"' onclick=\"parent.WC30Help('" +v4f385.Id +"')\" style='cursor: hand' src='" +v6fa21.GetImagesFolder()+v6fa21.LayoutSettings.HelpImage +"'>"; v49742 +="</td></tr>"; v49742 +="</table>"; } if (v91b90 =="Top" ) v8ec0 +=v49742;  if (v6fa21.LayoutSettings.ComboMode =="MultipleColumns") { if (v6fa21.LayoutSettings.AlwaysShowColumnHeaders) { var v16493 =v6fa21.Columns; v8ec0 +="<div style='width:100%; overflow:hidden'>"; v8ec0 +="<table id='" +v19873 +"_theader' cellspacing=0 cellpadding=0 style='table-layout: fixed" +(IS.moz ? ";width:100%" : "")+"'>";  if (IS.moz) { v8ec0 +=wc9755.mb823(v6fa21); }  v8ec0+"<tr>";  if (v6fa21.MultipleSelectionSettings.Enabled &&!v6fa21.IsDataBound &&v6fa21.LayoutSettings.TextBoxMode =="ReadOnly") v8ec0 +="<td class='" +v6fa21.LayoutSettings.HeaderStyle +"' style='width: 25px'>&nbsp;</td>";  for (var v78433=0; v78433<v16493.length; v78433++) { if (!v16493[v78433].Hidden) v8ec0 +="<td class='" +v6fa21.LayoutSettings.HeaderStyle +"' style='width: " +v16493[v78433].Width +";" +"'>" +v16493[v78433].HeaderText +"</td>"; } v8ec0 +="</tr></table></div>"; } }  v8ec0 +="<div style='width:100%; height:" +(v6fa21.LayoutSettings.ResultBoxHeight-20)+"px; overflow-y: auto; " +(v6fa21.LayoutSettings.ComboMode =="SingleColumn" ? "overflow-x: hidden" : "overflow-x:auto")+(IS.moz ? ";overflow:auto" : "")+"'>"; v8ec0 +="<table id='" +v19873 +"_tdata' class='" +v6fa21.LayoutSettings.ResultBoxStyle +"' cellspacing=0 cellpadding=0 style='width: 100%; cursor: default; table-layout: fixed;'>";  if (IS.moz) { v8ec0 +=wc9755.mb823(v6fa21,true); }  v8ec0 +="</table>"; v8ec0 +="</div>";  if (v91b90 =="Bottom" ) v8ec0 +=v49742; v8ec0 +="<table id='" +v19873 +"_tmore' cellSpacing=0 cellPadding=0 width='100%' style='cursor:pointer'"; v8ec0 +=" title='" +v6fa21.LayoutSettings.TextSettings["MoreTitleText"] +"'"; v8ec0 +=" class='" +v6fa21.LayoutSettings.MoreButtonStyle.Normal +"'"; v8ec0 +=">"; v8ec0 +="<tr><td align='center' style='padding: 2px'><img src='" +v6fa21.GetImagesFolder()+"wc_more.gif'></td></tr>"; v8ec0 +="</table>"; v57513.innerHTML =v8ec0; return v8ec0; },  mb823:function(vde231,v0123) { var vf9340 =""; if (vde231.LayoutSettings.ComboMode =="MultipleColumns") { var vb9a54 =vde231.Columns; if (vde231.MultipleSelectionSettings.Enabled &&!vde231.IsDataBound &&vde231.LayoutSettings.TextBoxMode =="ReadOnly") { vf9340 +="<col width='25'>"; } for (var vf374=0; vf374<vb9a54.length; vf374++) { if (!vb9a54[vf374].Hidden) vf9340 +="<col width='" +(vf374 ==vb9a54.length-1 &&v0123 ? vb9a54[vf374].Width -16 : vb9a54[vf374].Width)+"'>"; } }  return vf9340; },  m21833:function(v35681) { var vde087 =v35681; var v47a82 =vde087.ResultBox; var vbd093;  if (!v47a82) { if (IS.moz ||v35681.LayoutSettings.ResultBoxWindowType =="Popup") { v47a82 =window.createPopup(); vbd093 =v47a82.document; vbd093.open("text","replace"); vbd093.write("<html><body></body></html>"); vbd093.close(); vde087.ResultBox =v47a82; } else { var vfcb69 =new WindowInfo(); vfcb69.DisplayPosition="Bottom"; vfcb69.DisplayType ="Normal"; vfcb69.OffsetControlID =v35681.Id;  var va2295 =new WindowPopup(vfcb69); vfcb69.Popup =va2295; va2295.Init(); vde087.ResultBox =va2295; va2295.document.parentWindow =window; vbd093 =va2295.document; }  wc9755.mcd843(v35681); wc9755.m61f41(v35681,vbd093); vde087.IsDirty =true; } }, m9cf37:function(vf6511) { if (vf6511._attrInit ||!IS.moz)return;  for (var vd641=0; vd641<vf6511.attributes.length; vd641++) { var vac190 =vf6511.attributes[vd641].name.toLowerCase(); var v5d678 =new Array("dataValue");  for(var v82d57=0; v82d57<v5d678.length; v82d57++) { if (v5d678[v82d57].toLowerCase()==vac190) { vac190 =v5d678[v82d57]; break; } }  var vede16 =vf6511[vac190]; if (typeof(vede16)=="undefined") { vf6511[vac190] =vf6511.attributes[vd641].value; } }  vf6511._attrInit =true; },  ma0037:function(v6156,v9d146) { var vb4467 =v6156; if (vb4467.FrameObj.disabled)return; wc9755.m21833(v6156); if (v9d146) { vb4467.IsTextObjFocused =false; if (IS.ie) vb4467.TextObj.focus(); else setTimeout(function(){vb4467.TextObj.focus();},10); if (!vb4467.ResultBoxShown) vb4467.ResultBoxShown =true; else  { vb4467.ResultBoxShown =false; if (vb4467.TextObj.readOnly &&event.srcElement.tagName =="INPUT" &&!vb4467.Grid)vb4467.TextObj.blur(); setTimeout(function(){wc9755.mbef56(v6156);},100); event.cancelBubble =true; event.returnValue =false; return; } }  if (vb4467.IsDataBound) { if (vb4467.RequestId !=0) clearTimeout(vb4467.RequestId);  var v28e27 =vb4467.Latency; if (vb4467.SkipLatency)v28e27 =1; vb4467.RequestId =setTimeout(function(){wc9755.m9ba43(vb4467,"LoadData",v9d146);},(v9d146)? 100 : v28e27); } else  { setTimeout("wc9755.m3a386('" +vb4467.Id +"')",(v9d146)? 100 : vb4467.Latency); } }, m3a386:function(vf4a8) { if (typeof(vf4a8)=="string")vf4a8 =ISGetObject(vf4a8); var v94e61 =vf4a8; var v5ac25 =vf4a8.UnboundDataInitialized; var v0ff53 =true;  wc9755.mc8244(vf4a8);   if (v94e61.IsDirty) { if (v94e61.LinkSettings.Enabled) { var v70793 =wc9755.m90743(v94e61); if (v70793) { v94e61.ClearSelection(); if (v94e61.LinkSettings.ParentEmptyAction =="PromptMessage") { var v4fc3 =v94e61.LayoutSettings.TextSettings.ParentEmptyPromptText; v4fc3 =v4fc3.replace("{0}",v94e61.LinkSettings.ParentWebComboID); alert(v4fc3); } else { wc9755.me3632(v94e61); } return false; } else { if ((!v5ac25 ||v94e61.RequireLinkRefresh)&&(v94e61.Value !="" ||v94e61.Text !="")){ if (v94e61.LinkSettings.ParentWebCombo !=null) wc9755.m06322(v94e61,v94e61.LinkSettings.ParentWebCombo[0]); } } } v0ff53 =wc9755.m5d232(vf4a8); v94e61.IsDirty =false; v94e61.LastQuery =v94e61.TextObj.value; }  if (vf4a8.MultipleSelectionSettings.Enabled &&vf4a8.LayoutSettings.TextBoxMode =="ReadOnly") { wc9755.mfcf13(vf4a8); v0ff53 =true; } if (v0ff53) wc9755.me3632(vf4a8,false);  }, mc8244:function(v96b2) { var v03327 =v96b2;  if (!v03327.UnboundDataInitialized) { wc9755.m21833(v96b2); var v6ce62 =v03327.GetTData();  var v3409 =document.getElementById(v96b2.Id +"_udata"); if (v3409) { wc9755.m8c558(v03327,v3409.outerHTML); v3409 =wc9755.m61027(v03327); v6ce62.appendChild(v3409.tBodies[0] ); wc9755.m22e20(v03327); } v03327.UnboundDataInitialized =true; } }, m01473:function(v5848) { var vef038 =0; var v6db20 =v5848.DataTextField; var ve1c79 =v5848.GetTData(); if (v6db20 !="" &&v5848.LayoutSettings.ComboMode =="MultipleColumns") { var v3d29 =v5848.Columns; for (var v88f13=0; v88f13<v3d29.length; v88f13++) { if (v3d29[v88f13].BaseFieldName ==v6db20) { vef038 =v88f13; break; } } } var v3d579 =false; for (var v88f13=0; v88f13<ve1c79.rows.length; v88f13++) { var v4c494 =ve1c79.rows[v88f13].cells[vef038]; var v06c70 =v4c494.innerText;  if (v06c70.toLowerCase()==v5848.TextObj.value.toLowerCase()&&v06c70 !="") { v3d579 =true; break; } } return v3d579; },  mf6c99:function(v7bf54) { var va1943 =0; var vf5b77 =v7bf54.DataTextField; var v55369 =v7bf54.Columns; if (vf5b77 !="" &&v7bf54.LayoutSettings.ComboMode =="MultipleColumns") { for (var v82e42=0; v82e42<v55369.length; v82e42++) { if (v55369[v82e42].BaseFieldName ==vf5b77) { va1943 =v82e42; break; } } }  return va1943; },  m30127:function(v97a68,v1e243) { var v59038 =v97a68.LinkSettings.ParentWebComboID; var v95275 =v59038.split(","); var vf5288 =-1; var vdb269 =v97a68.LinkSettings.FilterDataMember.split(",");  for (var v83a99=0; v83a99<v95275.length; v83a99++) { var v2d144 =v95275[v83a99].replace(new RegExp(" ","g"),""); if (v2d144 ==v1e243.Id) { vf5288 =v83a99; break; } }  if (vf5288 >-1) { if (vf5288 >vdb269.length) vf5288 =0;  return vdb269[vf5288]; } else { return vdb269[0]; } },  m06322:function(v8ae9,vd0369) { wc9755.mc8244(v8ae9);  var v79924 =v8ae9.GetTData(); var v5db22 =0; var va6c10 =wc9755.m30127(v8ae9,vd0369); var v1a140 =""; var v7d765 =0;  if (va6c10 =="") { alert("FilterDataMember is required for '" +v8ae9.Id +"' when used in Unbound mode."); return; } for (var v5fd75=0; v5fd75<v8ae9.Columns.length; v5fd75++) { if (v8ae9.Columns[v5fd75].Hidden &&!v8ae9.Columns[v5fd75].RenderOnHidden)v7d765++; if (v8ae9.Columns[v5fd75].BaseFieldName ==va6c10) { v5db22 =v5fd75 -v7d765; break; } }  if (v8ae9.LinkSettings.ParentFilterMode =="UseDataValueField") v1a140 =vd0369.Value; else v1a140 =vd0369.Text;  if (v1a140 =="") v1a140 =vd0369.Text;  for (var v5fd75=0; v5fd75<v79924.rows.length; v5fd75++) { var vfc276 =v79924.rows[v5fd75].cells[v5db22]; var vf8858 =vfc276.innerText; wc9755.m6ac40(v8ae9,v79924.rows[v5fd75]); if (vf8858 !=v1a140) v79924.rows[v5fd75].style.display ="none"; else v79924.rows[v5fd75].style.display =""; } },  m3fe69:function(v29d50,v6a695) { var v31248 =true;  if (v6a695 ==null)return false; wc9755.mc8244(v29d50);  var v67e88 =v29d50.GetTData(); var va2b67 =0; var v9c734 =wc9755.me5b12(v6a695.Text);  if (v9c734 =="") { if (v29d50.MultipleSelectionSettings.AllowBrowseAll &&v29d50.LastEventType =="Key" &&(parseFloat(v29d50.LastKeyCode)==ISKeyboardKey.SPACE &&v29d50.LastCtrlKey)) {  } else return false; } for (var v51929=0; v51929<v67e88.rows.length; v51929++) { var v5f825 =v67e88.rows[v51929].cells[va2b67]; var v1f176 =v5f825.innerText; v1f176 =v1f176.substring(0,v9c734.length); wc9755.m6ac40(v29d50,v67e88.rows[v51929]);  if (v1f176.toLowerCase()!=v9c734.toLowerCase()) v67e88.rows[v51929].style.display ="none"; else v67e88.rows[v51929].style.display =""; }  return true; }, m5d232:function(v39611) { var vf116 =v39611; var v42f74 =vf116.GetTData(); var v4be26 =wc9755.mf6c99(v39611); var vd0089 =true; var v23440 =false;  for (var vaec52=0; vaec52<v42f74.rows.length; vaec52++) { wc9755.m6ac40(v39611,v42f74.rows[vaec52]); } if (v39611.MultipleSelectionSettings.Enabled) { v39611.LastQueryMultiple =wc9755.m63030(v39611); vd0089 =wc9755.m3fe69(v39611,v39611.LastQueryMultiple); if (!vd0089) { v39611.HideDropDown(); } else { for (var vaec52=0; vaec52<v42f74.rows.length; vaec52++) { if (v42f74.rows[vaec52].style.display !="none") { if (wc9755.m4b753(vf116)) wc9755.m6ac40(v39611,v42f74.rows[vf116.LastSelectedIndex]); vf116.LastSelectedIndex =vf116.SelectedIndex =vaec52; wc9755.mbbe59(v39611,v42f74.rows[vaec52]); v23440 =true; break; } } } } else { for (var vaec52=0; vaec52<v42f74.rows.length; vaec52++) { var v50177 =v42f74.rows[vaec52].cells[v4be26]; var vcd28 =v50177.innerText;  if (!vf116.SensitiveSearch) { if (vcd28.length >vf116.TextObj.value.length) vcd28 =vcd28.substring(0,vf116.TextObj.value.length); }  if (vcd28.toLowerCase()==vf116.TextObj.value.toLowerCase()&&vcd28 !="") { if (wc9755.m4b753(vf116)) { wc9755.m6ac40(v39611,v42f74.rows[vf116.LastSelectedIndex]); } vf116.LastSelectedIndex =vf116.SelectedIndex =vaec52; wcGlobal.tempObj =v42f74.rows[vaec52]; wc9755.mbbe59(v39611,v42f74.rows[vaec52]); setTimeout(function(){wc9755.m1444(vf116,wcGlobal.tempObj);},200); v23440 =true; break; } } }  if (!v23440) { if (wc9755.m4b753(vf116)) { wc9755.m6ac40(v39611,v42f74.rows[vf116.LastSelectedIndex]); vf116.LastSelectedIndex =vf116.SelectedIndex =-1; }  }  return vd0089; },  m63745:function(v01170,vbc459) { var v83631 =vbc459.getElementById(v01170.Id +"_tmore"); var v08540 =v01170; var v70b82 =v08540.GetTData(); var vd7683 =v70b82.parentElement;  Listener.Unload(v83631); Listener.Unload(v70b82); Listener.Unload(vd7683); Listener.Unload(vbc459);  vbc459.detachEvent("onkeydown",function(){WC40PopupEngine.OnKeyDown(v01170);}); }, m61f41:function(v9ea36,v99896) { var vd9125 =v99896.getElementById(v9ea36.Id +"_tmore"); var v25638 =v9ea36; var vc5d1 =v25638.GetTData(); var v2d610 =vc5d1.parentElement;  if (IS.moz) Listener.Add(vd9125,"onmousedown",wc3e417.m70031,v9ea36);  Listener.Add(vd9125,"onclick",wc3e417.mc7211,v9ea36); Listener.Add(vd9125,"onmouseover",wc3e417.mdbf78,v9ea36); Listener.Add(vd9125,"onmouseout",wc3e417.m4ef48,v9ea36); Listener.Add(vc5d1,"onmouseover",wc3e417.mceb9,v9ea36); Listener.Add(vc5d1,"onmouseout",wc3e417.m5c396,v9ea36); Listener.Add(vc5d1,"onmousedown",wc3e417.m0ea90,v9ea36); Listener.Add(vc5d1,"onmouseup",wc3e417.m9d116,v9ea36); Listener.Add(vc5d1,"ondblclick",wc3e417.md9651,v9ea36); Listener.Add(vc5d1,"onmousemove",wc3e417.m33290,v9ea36); Listener.Add(vc5d1,"onselectstart",wc3e417.m9bd72,v9ea36);  if (v25638.LayoutSettings.AllowNavigationOnMouseWheel) Listener.Add(v2d610,"onmousewheel",wc3e417.mbd582,v9ea36);  if (v25638.LayoutSettings.ComboMode =="MultipleColumns") Listener.Add(v2d610,"onscroll",wc3e417.m05884,v9ea36);  v99896.attachEvent("onkeydown",function(){wc3e417.mccf44(v9ea36);}); }, me3632:function(v2d682,v3da33) { var vf8d91 =v2d682; var vfbc75 =vf8d91.ResultBox; var v16857 =vf8d91.FrameObj; var v4a319 =vf8d91.GetTData(); var v53892 =v4a319.parentElement; var vaaf49 =vfbc75.document.getElementById(v2d682.Id +"_tmore"); var v59a3 =0; var vd7c31 =false; if (vf8d91.LayoutSettings.EntryMode !="AutoComplete" &&!vf8d91.MultipleSelectionSettings.Enabled) wc9755.mec811(vf8d91.TextObj);  var v7b865 =ISPosLib.getScreenLeft(v16857); if (vf8d91.LayoutSettings.ComboMode =="SingleColumn") if (vf8d91.ResultBoxWidth)v59a3 =vf8d91.ResultBoxWidth; else v59a3 =v16857.offsetWidth; else  { var v4f956 =vf8d91.Columns; var vbb143 =0; for (var vd7a23=0; vd7a23<v4f956.length; vd7a23++) { if (!v4f956[vd7a23].Hidden) vbb143 +=parseInt(v4f956[vd7a23].Width); }  if (IS.moz &&!IsGecko20()) { var vdc839 =vfbc75.document.getElementById(v2d682.Id +"_theader"); if (vdc839) { if (vdc839.offsetWidth >vbb143) vbb143 =vdc839.offsetWidth; } } else vbb143 +=2;  var v8e21 =window.screen.availWidth -v7b865; if (IS.moz) v8e21 =document.body.offsetWidth -v7b865 +window.screenLeft -2; if (vbb143 >v8e21) { v59a3 =v8e21; v53892.style.overflowX ="scroll"; } else  { v59a3 =vbb143; v53892.style.overflowX ="hidden"; } }  var va9488 =-1; if (IS.ie &&vf8d91.MultipleSelectionSettings.Enabled &&vf8d91.LayoutSettings.TextBoxMode =="Editable" &&vf8d91.MultipleSelectionSettings.AutoPositionResultBox) { if (vf8d91.ResultBox.isOpen)vd7c31 =true;  var ve5940 =vf8d91.LastQueryMultiple; if (ve5940) { var v30560 =document.selection.createRange(); var vcd71 =v30560.getBoundingClientRect(); va9488 =vcd71.left; v7b865 =window.screenLeft +vcd71.left;  if (vf8d91.LayoutSettings.ResultBoxWindowType =="Normal") v7b865 =vcd71.left;  vf8d91.LastShownPosition =v7b865; } }  if (!vd7c31) { var v68549 =vf8d91.LayoutSettings.AdjustResultBoxTop; var vfeb2 =vf8d91.LayoutSettings.AdjustResultBoxLeft; var v49729 =ISPosLib.getScreenTop(v16857)+v16857.offsetHeight +v68549; var vbb767 =vf8d91.LayoutSettings.ResultBoxHeight; if (v49729 +parseFloat(vf8d91.LayoutSettings.ResultBoxHeight)>window.screen.height) v49729 =ISPosLib.getScreenTop(v16857)-vf8d91.LayoutSettings.ResultBoxHeight;  if (IS.moz) { v49729 +=document.body.scrollTop;   }  if (IS.ie &&vf8d91.LayoutSettings.ResultBoxWindowType =="Normal") { var vab257 =vfbc75.document.getOwnerDocument(); v49729 =ISPosLib.getTop(v16857)+v16857.offsetHeight +v68549; if (va9488 ==-1) v7b865 =ISPosLib.getLeft(v16857);   if (v49729 +vbb767 >document.body.offsetHeight +document.body.scrollTop) { var vd0b20 =ISPosLib.getTop(v16857)-vbb767 -document.body.scrollTop; var v42671 =vbb767 -((v49729 +vbb767)-(document.body.offsetHeight +document.body.scrollTop)); if (vd0b20 <0) { if (vbb767 +vd0b20 >v42671) { vbb767 =vbb767 +vd0b20; vd0b20 =0 +document.body.scrollTop; v49729 =vd0b20; } else { vbb767 =v42671-3; } } else { v49729 =vd0b20 +document.body.scrollTop; } }  if (v7b865 +v59a3 >document.body.scrollWidth) { v7b865 -=(v7b865 +v59a3)-document.body.scrollWidth +10; }  if (v59a3 <0) v59a3 =vbb143;  vab257.style.overflow ="hidden"; if (vf8d91.LayoutSettings.ResultBoxShadow) { vab257.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } }  if (ISEvent.Raise(v2d682.LayoutSettings.ClientSideEvents.OnShowDropDown,v2d682.Id,v7b865+vfeb2,v49729,v59a3,vbb767)) vfbc75.show(v7b865+vfeb2,v49729,v59a3,vbb767); }  vf8d91.ResultBoxShown =true;  if (!vf8d91.IsDataBound) { for (var vd7a23=0; vd7a23<v4a319.rows.length; vd7a23++) { v4a319.rows[vd7a23].className =v4a319.rows[vd7a23].className; } }  if (!v3da33) { if (vf8d91.TotalRetrievedRows <vf8d91.TotalRows) vaaf49.style.display =""; else vaaf49.style.display ="none"; if (vf8d91.SelectedIndex >-1 &&vf8d91.LayoutSettings.AlwaysShowAllRowsOnDropdown) setTimeout(function(){wc9755.m1444(vf8d91,vf8d91.GetSelectedRow());},50);  v53892.style.height =wc9755.m19d71(v2d682); }  },  m90743:function(v1e512) { if (v1e512.LinkSettings.Enabled) { var va7b73 =v1e512.LinkSettings.ParentWebCombo; if (va7b73 !=null) { for (var v32f81=0; v32f81<va7b73.length; v32f81++) { var vf8581 =va7b73[v32f81]; if (vf8581.IsDataBound &&(vf8581.Value ==null ||vf8581.Value =="")) return true; else if (!vf8581.IsDataBound) { if (vf8581.Value ==null ||vf8581.Value =="" ||vf8581.Text =="") return true; } } }  return false; } return true; },  meb957:function(v25198,v09147) { if (v25198.IsDirty) { if (v25198.LinkSettings.Enabled) { var vcd848 =wc9755.m90743(v25198); if (vcd848) { v25198.ClearAdditionalFilters(); if (v25198.LinkSettings.ParentEmptyAction =="PromptMessage") { var v06470 =v25198.LayoutSettings.TextSettings.ParentEmptyPromptText; v06470 =v06470.replace("{0}",v25198.LinkSettings.ParentWebComboID); alert(v06470); } else { wc9755.me3632(v25198); } return false; } }  if (!v25198.IsMoreRequest) wc9755.mf7967(v25198); else v25198.NeedClearList =false; var v21633 =v25198.MinCharsToRequest; var vbbd92 =v25198.DropDownRows; var v09675 =""; if (v25198.TextObj.value.length <v21633) { if (!v25198.ForceDropDown) return; } if (v25198.MultipleSelectionSettings.Enabled) { v25198.LastQueryMultiple =wc9755.m63030(v25198); v09675 =v25198.LastQueryMultiple.Text; if (v25198.LastEventType =="Key" &&v25198.LastCtrlKey &&v25198.LastKeyCode ==ISKeyboardKey.SPACE &&v25198.MultipleSelectionSettings.AllowBrowseAll ||v25198.IsMoreRequest) { } else { if (v09675 =="" ||wc9755.me5b12(v09675)=="") { if (v25198.ResultBoxShown) v25198.HideDropDown(); return false; } } } else v09675 =v25198.TextObj.value; v09147.setAttribute("action","LoadData"); v09147.setAttribute("startRow",v25198.TotalRetrievedRows); if (v25198.TotalRetrievedRows >0) vbbd92 =vbbd92 *2; v09147.setAttribute("count",vbbd92); var vf2e8 =(v25198.IsMoreRequest)? (v25198.MultipleSelectionSettings.Enabled ? v09675 : v25198.LastQuery): v09675; if (v09147.selectSingleNode("//query")) v09147.removeChild(v09147.selectSingleNode("//query"));  vf2e8 =vf2e8.replace(/[+]/g,"%2b"); ISXml.CreateCDATA(v09147.ownerDocument,v09147,"query",vf2e8); return true; } else { if (v09147.getAttribute("ddClicked")=="true" ||v25198.LayoutSettings.EntryMode !="InstantLookup") wc9755.me3632(v25198); }  return false; },  m1d931:function(vc0828,vf8715) { if (vc0828.Values ==null)return false; if (vf8715 ==null)return false; for(var v1289=0; v1289<vc0828.Values.length; v1289++) { if (vc0828.Values[v1289].Value ==vf8715.Value &&vc0828.Values[v1289].Position ==vf8715.Position) return true; } return false; },  md3778:function(vde175,v70f43) { var v35984 =document.selection.createRange(); var v6de94 =v35984.duplicate();  if (IS.moz) { if (v70f43) { var ve5360 =vde175.selectionEnd; v6de94.moveEnd("character",vde175.value.length); vde175.selectionEnd =ve5360; return v6de94.text; } else return vde175.selectionStart;  }  v6de94.moveEnd("character",vde175.value.length); var vacc93 =vde175.value.lastIndexOf(v6de94.text);  if (v70f43) { return v35984.text; } else { if (v6de94.text=="") return vde175.value.length; else return vacc93; } },  GetCurrentSelectionText: function(vfdc30) { return wc9755.md3778(vfdc30,true); },  me5b12:function(v50530) { while (v50530.substring(0,1)==' ') { v50530 =v50530.substring(1,v50530.length); } while (v50530.substring(v50530.length-1,v50530.length)==' ') { v50530 =v50530.substring(0,v50530.length-1); } return v50530; },  m4b038:function(v9ac69,v45241) { if (v9ac69.Values ==null)return;  for(var v70d50=0; v70d50<v9ac69.Values.length; v70d50++) { if (v45241 >=v9ac69.Values[v70d50].StartPos &&v45241 <=v9ac69.Values[v70d50].EndPos) return v9ac69.Values[v70d50]; } return null; },  mab39:function(v49955,vd4188,v96b5) { var vebb25 =wc9755.md3778(v49955.TextObj); if (v49955.TextObj.value =="")return;  if (vd4188 =="Previous") { var v74120 =v49955.TextObj.value.substr(vebb25-1,1); if (v74120 ==v49955.MultipleSelectionSettings.SeparatorChar) { wc9755.mb5834(v49955); var v23168 =wc9755.m4b038(v49955,vebb25-1); if (v23168) { wc9755.md1612(v49955.TextObj,v23168,v96b5); v49955.Values.splice(v23168.Position,1); return true; } } } else if (vd4188 =="Next") { if (vebb25 ==v49955.TextObj.value.length)return false; var v74120 =v49955.TextObj.value.substr(vebb25+1,1); wc9755.mb5834(v49955); var v6df71 =wc9755.mf3093(v49955); var v60810 =v6df71[0]; var vbea11 =v6df71[1]; var v23168 =v49955.Values[vbea11];  if (v23168) { if (vebb25 ==v23168.StartPos) { var vdd276 =v49955.Values[vbea11]; if (vdd276) { wc9755.md1612(v49955.TextObj,vdd276,true); v49955.Values.splice(vdd276.Position,1);  if (v49955.Values.length ==0) { v49955.TextObj.value =""; v49955.Values =null; } return true; } } }  return false;  }  return false; },  md1612:function(v8be66,vc7146,v20776) { var v43a10 =v8be66.createTextRange(); var v47167 =0-(v8be66.value.length-vc7146.EndPos-1);  if (v20776)v47167 +=1;  if (IS.ie) { v43a10.moveStart("character",vc7146.StartPos); v43a10.moveEnd("character",v47167); } else { v8be66.selectionStart =vc7146.StartPos; v8be66.selectionEnd =vc7146.EndPos+1+(v20776 ? 1 : 0); }  v43a10.text ="";  if (IS.moz) v8be66.selectionStart =v8be66.selectionEnd =vc7146.StartPos; },  mad676:function(v61b55,vda843) { var v9e45 =wc9755.md3778(v61b55.TextObj); if (v61b55.TextObj.value =="")return; if (v61b55.Values ==null)return;  v61b55.ClearSelectedValueItem();  if (vda843 =="Previous") { var v03065 =v61b55.TextObj.value.substr(v9e45-1,1); if (v03065 ==v61b55.MultipleSelectionSettings.SeparatorChar) { wc9755.mb5834(v61b55); var vb329 =wc9755.m4b038(v61b55,v9e45-1); if (vb329) wc9755.mbe650(v61b55.TextObj,vb329.EndPos-vb329.Text.length +(IS.moz ? 1 : 0)); } } else if (vda843 =="Next") { if (v9e45 ==v61b55.TextObj.value.length)return; wc9755.mb5834(v61b55); var v41865 =wc9755.mf3093(v61b55); var v1e458 =v41865[0]; var ve0c66 =v41865[1]; var vb329 =v61b55.Values[ve0c66];  if (vb329) { if (v9e45 ==vb329.StartPos) { var v76010 =v61b55.Values[ve0c66+1]; if (v76010) { wc9755.mbe650(v61b55.TextObj,v76010.StartPos,true); return true; } else if (ve0c66 ==v61b55.Values.length-1) { wc9755.mec811(v61b55.TextObj); return true; } } }  return false; } },  mf3093:function(vfe857) { var v98310 =vfe857.TextObj; var ve8d22 =wc9755.md3778(v98310); var v48899 =0; var v12d98 =-1; var v83a23 =0;  while (true) { var vd956 =v98310.value.indexOf(vfe857.MultipleSelectionSettings.SeparatorChar,v48899); if (vd956 ==-1) break; else { v12d98 =vd956; v48899 =vd956+1; if (vd956 >ve8d22) break; v83a23++; } } return [v12d98,v83a23]; },  m63030:function(v7ea17) { var v32440 =v7ea17.TextObj; var vde089 =wc9755.md3778(v32440); var v93936 =new WebComboValueItem(); var v83366 =-1; var v80b66 =0;  var v97b30 =wc9755.mf3093(v7ea17); v83366 =v97b30[0]; v80b66 =v97b30[1];  if (vde089 ==v32440.value.length ||(vde089 >=v83366 &&vde089 <=v32440.value.length)) { v93936.Text =wc9755.me5b12(v32440.value.substring(v83366 +1)); v93936.StartPos =v83366+1; v93936.EndPos =v93936.StartPos +v93936.Text.length; v93936.Value =null; v93936.Position =v80b66; return v93936; } else { var vcc297 =v7ea17.Values[v80b66]; if (vcc297) { var vb9a65 =v32440.value; var vde089 =vb9a65.indexOf(vcc297.Text); var v1cb16 =-1;  if (vcc297.Position >0)v1cb16 =wc9755.m9f146(vb9a65,v7ea17.MultipleSelectionSettings.SeparatorChar,v80b66);  v93936.Text =wc9755.me5b12(vb9a65.substring(v1cb16+1,vde089)); v93936.StartPos =v1cb16+1; v93936.EndPos =v93936.StartPos +v93936.Text.length; v93936.Value =null; v93936.Position =v80b66; v93936.IsInsert =true; return v93936; } }  },  m9f146:function(v3b456,vfa34,vb6696) { var va2c37 =-1; for (var v1dc94=0; v1dc94<vb6696; v1dc94++) { va2c37 =v3b456.indexOf(vfa34,va2c37+1); } return va2c37; },  meb457:function(v7093) { var v96812 =v7093.LastQueryMultiple; if (v96812 !=null) { var vc6a83 =0; var vdb781 =v7093.TextObj.createTextRange(); if (v96812.IsInsert) vc6a83 =0-(v7093.TextObj.value.length-(v96812.StartPos+v96812.Text.length)-(v96812.Position >0 ? 1 : 0));  vdb781.moveStart("character",v96812.StartPos); vdb781.moveEnd("character",vc6a83); vdb781.text =(v96812.Position ==0)? "" : " ";  wc9755.mec811(v7093.TextObj); } v7093.LastQueryMultiple =null;  },  mb5834:function(vd5a62) { if (vd5a62.Values ==null)return; var vb8587 =vd5a62.TextObj.value; var vc8e72 =vd5a62.MultipleSelectionSettings.SeparatorChar; for(var vf9d33=0; vf9d33<vd5a62.Values.length; vf9d33++) { vd5a62.Values[vf9d33].Position =vf9d33; vd5a62.Values[vf9d33].StartPos =wc9755.m9f146(vb8587,vc8e72,vf9d33)+1+(vf9d33>0 ? 1 : 0); vd5a62.Values[vf9d33].EndPos =wc9755.m9f146(vb8587,vc8e72,vf9d33+1); } },  mfed60:function(v0e972) { if (v0e972.Values ==null)return; var v36c33 =v0e972.TextObj.value; for(var v5b699=0; v5b699<v0e972.Values.length; v5b699++) { var v55422 =v36c33.substring(v0e972.Values[v5b699].StartPos,v0e972.Values[v5b699].EndPos); if (v55422 !=v0e972.Values[v5b699].Text) return true; } var v54d22 =v0e972.Values[v0e972.Values.length-1].EndPos+2; if (v36c33.length !=v54d22) return true;  return false; },  mf525:function(vb3f64) { var ve6e92 ="";  if (vb3f64.Values !=null) { for(var v66128=0; v66128<vb3f64.Values.length; v66128++) { ve6e92 +=vb3f64.Values[v66128].Text +vb3f64.MultipleSelectionSettings.SeparatorChar +" "; } }  vb3f64.TextObj.value =ve6e92; },  macf34:function(v7da67) { var v20e83 =document.selection.createRange(); if (v20e83) { if (v20e83.text ==v7da67.value) return true; } },  m73432:function(v9af88,v94633) { var v4b23 =v9af88.LastQueryMultiple; if (v4b23 !=null) { var vb6e86 =0; var v7fa93 =v9af88.TextObj.createTextRange(); var v51013 =v9af88.Text; if (v4b23.IsInsert) vb6e86 =0-(v9af88.TextObj.value.length-(v4b23.StartPos+v4b23.Text.length)-(v4b23.Position >0 ? 1 : 0));  if (v94633) v51013 =v4b23.Text;  if (IS.moz) v9af88.TextObj.selectionStart =0;  v7fa93.moveStart("character",v4b23.StartPos);  if (IS.ie) v7fa93.moveEnd("character",vb6e86); else v7fa93.selectionEnd =v4b23.StartPos+v4b23.Text.length;  v7fa93.text =(v4b23.Position >0 ? " " : "")+v51013 +v9af88.MultipleSelectionSettings.SeparatorChar +" ";  wc9755.mec811(v9af88.TextObj);  if (!v94633) { v4b23.Value =v9af88.Value; v4b23.Text =v9af88.Text; } else { var ve7f28 =new Array(); ve7f28[0] =v4b23; var v7d163 =ISEvent.Raise(v9af88.LayoutSettings.ClientSideEvents.OnValueItemNotInList,v9af88.Id,ve7f28); if (!v7d163) return; }  if (v9af88.Values ==null) { v9af88.Values =new Array(); v9af88.Values[v9af88.Values.length] =v4b23; } else { var vbac13 =v4b23.Position; for (var v8e836=vbac13; v8e836<v9af88.Values.length; v8e836++) v9af88.Values[v8e836].Position =v8e836+1; v9af88.Values.splice(v4b23.Position,0,v4b23); } } },  AddSelectedItemToWebCombo: function(ve3d27,va0c52) {  },  m5ba62:function(v0c813) { var vd3763 =v0c813; wc9755.m21833(v0c813);  var v0db22 =vd3763.GetTData(); var v1ae68;  if (vd3763.InsertAtTop) v1ae68 =v0db22.insertRow(0); else v1ae68 =v0db22.insertRow(-1);  var v84549 =vd3763.NewRowObj; v1ae68.className =vd3763.LayoutSettings.RowStyle.Normal; try  { v1ae68.dataValue =ISXml.GetNodeText(vd3763.XmlResp,"//newValue"); } catch (e) { v1ae68.dataValue =v84549.Value; }  if (v0c813.LayoutSettings.ComboMode =="SingleColumn") { var vccc15 =v1ae68.insertCell(-1); vccc15.className =v0c813.LayoutSettings.ColumnStyle; vccc15.innerText =v84549.Text; } else  { var v39611 =vd3763.Columns; for (var v98914=0; v98914<v39611.length; v98914++) { var vccc15 =v1ae68.insertCell(-1); vccc15.className =v0c813.LayoutSettings.ColumnStyle; if (v84549.Cells !=null &&v84549.Cells.length >v98914) vccc15.innerText =v84549.Cells[v98914].Text; else  { if (v98914 ==0) vccc15.innerText =v84549.Text; else vccc15.innerHTML ="&nbsp;"; } } }  v0c813.LastSelectedIndex =v0c813.SelectedIndex =v1ae68.rowIndex; wc9755.mbbe59(v0c813,v1ae68); wc9755.m5e544(v0c813);  },  m89153:function(v64f69,vb5678) { var vf1669 =v64f69.NewRowObj; vb5678.setAttribute("action","AddItem"); ISXml.CreateCDATA(vb5678.ownerDocument,vb5678,"RowData",vf1669.ToXml()); return true; }, m3e414:function(v5e824,vaa657) { vaa657.setAttribute("action","Custom"); var v79488 =true; try  { v79488 =wcPrepareCustomAction(v5e824,vaa657); } catch(e){} return v79488; },  m2c12:function(v02324) {  },  m0b435:function(vf1024,v49a57) { vf1024.IsInProgress =true;  if (vf1024.LastAction.indexOf("Load")>-1) { wc9755.m41b70(vf1024,vf1024.LayoutSettings.TextSettings.LoadingText); if (vf1024.NeedClearList) { wc9755.m57e61(vf1024); vf1024.NeedClearList =false; }  if (v49a57 ||vf1024.LayoutSettings.EntryMode !="InstantLookup") { if (vf1024.IsTextObjFocused) wc9755.me3632(vf1024,true); } } },  m9ba43:function(v8a218,v27655,ve4a62) { var v48444 =v8a218; var v84867 =v48444.XmlHttp; if (v8a218.IsPreviewMode) { alert("Not supported in Preview mode!"); return; } v8a218.XmlReq =ISXmlHttpEngine.CreateRequestXml(v8a218.GetType()); wc9755.m2c12(v8a218); var vdb510 =ISXml.GetNode(v8a218.XmlReq,"//request"); v8a218.RequestId =0;  if (v8a218.IsInProgress) { setTimeout(function(){wc9755.m9ba43(v8a218,v27655,ve4a62);},300); return; }  vdb510.setAttribute("id",v8a218.Id); vdb510.setAttribute("ddClicked",ve4a62 ? "true" : "false"); if (!ISEvent.Raise(v8a218.LayoutSettings.ClientSideEvents.OnBeforeRequest,v8a218.Id,v27655)) return;  switch(v27655) { case "LoadData": if (!wc9755.meb957(v8a218,vdb510))return false; break; case "AddItem": if (!wc9755.m89153(v8a218,vdb510))return false; break; case "Custom": if (!wc9755.m3e414(v8a218,vdb510))return false; break; }  v8a218.LastAction =v27655; var v89047 =v8a218.XmlHttp.Asynchronous; v84867.Send(); if (v89047) wc9755.m0b435(v8a218,ve4a62); }, md9e34:function(vc7285,vd0693) { var v96846 =vc7285.XmlResp; var v56273 =ISXml.GetNodeText(v96846,"//status"); if (!ISEvent.Raise(vc7285.LayoutSettings.ClientSideEvents.OnResponse,vc7285.Id,v56273)) return;  if (v56273 =="Error") { if (vc7285.ShowErrorMessages) alert(ISXml.GetNodeText(v96846,"//error")); else wc9755.m41b70(vc7285,vc7285.LayoutSettings.TextSettings.NoResultsText); vc7285.IsInProgress =false; return ; } var v27b84 =ISXml.GetNodeText(v96846,"//action");  if (!ISEvent.Raise(vc7285.LayoutSettings.ClientSideEvents.OnActionDispatched,vc7285.Id,v27b84)) return;  switch (v27b84) { case "LoadData": case "LoadContinuos": wc9755.ma5f85(vc7285,v96846); break; case "AddItem": wc9755.me7f14(vc7285,v96846); break; } vc7285.IsInProgress =false; vc7285.SkipLatency =false; if (!ISEvent.Raise(vc7285.LayoutSettings.ClientSideEvents.OnAfterResponseProcess,vc7285.Id,v27b84,v96846)) return;  },  mbbb69:function(v49d95,vea051) { v49d95.LastError =vea051;  if (!ISEvent.Raise(v49d95.LayoutSettings.ClientSideEvents.OnUnhandledError,v49d95.Id,v49d95.LastAction,v49d95.LastError)) return;  var v53e40 =vea051; if (v53e40.indexOf("Server Error")>=0 ||v53e40.indexOf("Stack Trace")>=0) { wc9755.mbcb6(v49d95,vea051,v49d95.LayoutSettings.TextSettings.UnhandledErrorText); } else  { if (v53e40 !="") { var v77072 =IS.GetFormAction(v53e40); window.location =v77072; return; } else  { if (v49d95.ShowErrorMessages) { if (v49d95.IsDataBound) wc9755.m41b70(v49d95,v49d95.LayoutSettings.TextSettings.NoResultsText); } else wc9755.m41b70(v49d95,v49d95.LayoutSettings.TextSettings.NoResultsText); } } v49d95.IsInProgress =false;  },  ma5f85:function(v9df65,ve5138) { var v84151 =ve5138.selectSingleNode("//rows"); var va5e30 =v9df65.IsMoreRequest;  v9df65.Set("TotalRows",parseFloat(ISXml.GetNodeText(ve5138,"//totalRows")),true); v9df65.Set("TotalRetrievedRows",parseFloat(ISXml.GetNodeText(ve5138,"//retrievedRows"))+v9df65.TotalRetrievedRows,true); if (!v9df65.IsMoreRequest) v9df65.LastQuery =v9df65.TextObj.value;  v9df65.IsMoreRequest =false; wc9755.me9862(v9df65);  if (v9df65.LayoutSettings.EntryMode =="InstantLookup") { var v4fe73 =v9df65.TotalRetrievedRows; var v42431 =false; if (v4fe73 ==1) { var v2ec55 =v9df65.GetTData(); var v73c28 =v2ec55.rows[0].cells[0].innerText; if (ISEvent.Raise(v9df65.LayoutSettings.ClientSideEvents.OnMatchInstantLookup,v9df65.Id)) { if (v73c28.toLowerCase()==v9df65.TextObj.value.toLowerCase()) { v9df65.SelectedIndex =0; wc9755.m5e544(v9df65); v42431 =true; } } else  v42431 =v9df65.FoundPerfectMatch; } if (!v42431) wc9755.me3632(v9df65); } else { if (v9df65.IsTextObjFocused ||v9df65.LastEventType =="Mouse") { if (v9df65.MultipleSelectionSettings.Enabled &&!va5e30) { var v2ec55 =v9df65.GetTData(); if (v2ec55.rows.length >0) { v9df65.LastSelectedIndex =v9df65.SelectedIndex =0; wc9755.mbbe59(v9df65,v2ec55.rows[0]); } } wc9755.me3632(v9df65); } else { var v4fe73 =v9df65.TotalRetrievedRows; var v69c28 =false; if (v4fe73 ==1) { var v2ec55 =v9df65.GetTData(); var v73c28 =v2ec55.rows[0].cells[0].innerText; if (v73c28.toLowerCase()==v9df65.TextObj.value.toLowerCase()) { v9df65.SelectedIndex =0; wc9755.m5e544(v9df65); wc9755.m54c2(v9df65,true); v9df65.UpdateState(); v69c28 =true; } }  if (!v69c28) { if (v9df65.LayoutSettings.NoResultFoundAction =="RevertSelection") wc9755.m00779(v9df65); else wc9755.me3632(v9df65); }  } }  v9df65.IsDirty =false;  },  me7f14:function(vef540,vd6626) { var v3c156 =ISXml.GetNodeText(vd6626,"//returnValue"); if (v3c156 =="True") { if (vef540.ResultBox) wc9755.m5ba62(vef540); } },  me9862:function(vb2136) { var va4340 =vb2136.XmlResp; var v18e26 =vb2136.GetTData(); if (vb2136.TotalRows >0) { var v87b11 =vb2136.LayoutSettings.TextSettings.RetrievedTextFormat; v87b11 =v87b11.replace("{retrieved}",vb2136.TotalRetrievedRows); v87b11 =v87b11.replace("{totalrows}",vb2136.TotalRows); wc9755.m41b70(vb2136,v87b11); } else  { wc9755.m41b70(vb2136,vb2136.LayoutSettings.TextSettings.NoResultsText); } if (vb2136.TotalRetrievedRows >0) { var v27484 =ISXml.GetNodeText(va4340,"//htmlString"); wc9755.m8c558(vb2136,"<table>" +v27484 +"</table>");  var vbf298 =wc9755.m61027(vb2136); var v6b479 =0; var v0272 =false; v18e26.appendChild(vbf298.tBodies[0] ); wc9755.m22e20(vb2136); for (var v83873=0; v83873<v18e26.rows.length; v83873++) { var v3b825 =v18e26.rows[v83873].cells[0].innerText.toLowerCase(); if (!v0272 &&v3b825 ==vb2136.LastQuery.toLowerCase()&&v3b825.length >0 ) { vb2136.LastSelectedIndex =vb2136.SelectedIndex =v83873; wc9755.mbbe59(vb2136,v18e26.rows[v83873]); v0272 =true; } }  if (v0272) { vb2136.IsDirty =false; } else if (!v0272 &&vb2136.LayoutSettings.EntryMode =="AutoComplete") { var v75724 =vb2136.TextObj.value; var vcf985 =v75724.length; var v61f31 =v18e26.rows[0].cells[0].innerText;  if (vcf985 >0 &&v61f31.length >vcf985 &&v61f31.substring(0,vcf985).toLowerCase()==v75724.toLowerCase()) { vb2136.LastSelectedIndex =vb2136.SelectedIndex =0; vb2136.TextObj.value +=v61f31.substring(vcf985); wc9755.mbbe59(vb2136,v18e26.rows[0]); wc9755.mbe650(vb2136.TextObj,vcf985); } } } }, m00779:function(vba992) { vba992.HideDropDown(); var v9e956 =vba992.LastQuery;  if (vba992.MultipleSelectionSettings.Enabled) { wc9755.mb5834(vba992); if (wc9755.mfed60(vba992)) wc9755.mf525(vba992);  } else { vba992.TextObj.value =(vba992.Text ==null)? "" : vba992.Text; if (v9e956 !=vba992.TextObj.value) { vba992.LastQuery =vba992.TextObj.value; wc9755.mf7967(vba992); vba992.IsDirty =true; vba992.NeedClearList =true; } } }, mf7967:function(v4cd11) { var v7a411 =v4cd11; v7a411.Set("TotalRetrievedRows",0,true); }, m4b753:function(vd4447) { var v82f11 =vd4447.GetTData(); return (vd4447.LastSelectedIndex >=0 &&vd4447.LastSelectedIndex <v82f11.rows.length); }, mbbe59:function(vc8f31,vfa629) { var v40031 =vc8f31; if (!vfa629)return; vfa629.className =vc8f31.LayoutSettings.SelectedRowStyle; wc9755.m1444(vc8f31,vfa629); }, m1444:function(vca077,va1757) { var vc5e67 =vca077; var v27b99 =vca077.GetTData(); var v3e242 =v27b99.parentElement; var vf1e29 =false; if (!va1757)return; vf1e29 =(v3e242.scrollWidth !=v3e242.offsetWidth &&vca077.LayoutSettings.ComboMode =="MultipleColumns");  if (va1757.offsetTop <v3e242.scrollTop) v3e242.scrollTop =va1757.offsetTop; else if (va1757.offsetTop +va1757.offsetHeight +((vf1e29)? 16 : 0)>v3e242.offsetHeight +v3e242.scrollTop) v3e242.scrollTop =va1757.offsetTop -v3e242.offsetHeight +va1757.offsetHeight +((vf1e29)? 16 : 0); }, m6ac40:function(v56897,vc9867) { vc9867.className =v56897.LayoutSettings.RowStyle.Normal; },  m5b852:function(v62c88) { if (v62c88.HasLinkedChilds &&v62c88.LinkedChilds !=null) { for (var v83633=0; v83633<v62c88.LinkedChilds.length; v83633++) { var v09936 =v62c88.LinkedChilds[v83633]; if (v09936.IsDataBound) { if (v09936.LinkSettings.Enabled) v09936.ClearAdditionalFilters(); } else { v09936.ClearSelection(); wc9755.m06322(v09936,v62c88); }  wc9755.m5b852(v09936); } } }, m5e544:function(v2022) { var ve5c8 =v2022; var v4ec25 =v2022.GetTData(); if (!v4ec25 ||!wc9755.m4b753(v2022)) { if (ve5c8.TextObj.value =="") { wc9755.m78596(v2022); return; } else return; } if (!ISEvent.Raise(v2022.LayoutSettings.ClientSideEvents.OnBeforeItemSelected,ve5c8.Id,ve5c8.Text,ve5c8.Value))return;  if (ve5c8.SelectedIndex <0)return; wc9755.m9cf37(v4ec25.rows[ve5c8.SelectedIndex]);  var v32549 =v4ec25.rows[ve5c8.SelectedIndex].dataValue; var v3c54 =v4ec25.rows[ve5c8.SelectedIndex].cells[0].innerText;  if (ve5c8.Value ==v32549 &&ve5c8.Text ==v3c54 &&v32549 !="") return; ve5c8.Value =v32549; ve5c8.Text =v3c54; ve5c8.RowIndex =ve5c8.SelectedIndex; ve5c8.IsDirty =true; ve5c8.NeedClearList =true;  if (ve5c8.HasLinkedChilds &&ve5c8.LinkedChilds !=null) wc9755.m5b852(ve5c8);  if (!ISEvent.Raise(v2022.LayoutSettings.ClientSideEvents.OnAfterItemSelected,ve5c8.Id,ve5c8.Text,ve5c8.Value))return;  if (ve5c8.AllowAutoPostback) { var v0b938 =function() { ve5c8.UpdateState(); __doPostBack(v2022.ServerUniqueID,"ValueChanged:" +document.getElementById(v2022.Id).value); }; setTimeout(v0b938); } }, m78596:function(vcd938) { vcd938.Value =""; vcd938.Text =""; vcd938.LastQuery =""; }, m8c558:function(v6de93,vc7572) { var vd4822 =null;  if (IS.ie &&v6de93.LayoutSettings.ResultBoxWindowType =="Normal") vd4822 =document.getElementById("wcTempCnt"); else vd4822 =v6de93.ResultBox.document.getElementById("wcTempCnt");  if (!vd4822){ if (IS.ie &&v6de93.LayoutSettings.ResultBoxWindowType =="Normal") vd4822 =document.createElement("div"); else vd4822 =v6de93.ResultBox.document.createElement("div"); vd4822.id ="wcTempCnt"; vd4822.style.display ="none"; }  vd4822.innerHTML =vc7572; if (IS.ie &&v6de93.LayoutSettings.ResultBoxWindowType =="Normal") document.body.appendChild(vd4822); else v6de93.ResultBox.document.body.appendChild(vd4822); }, m22e20:function(v02549) { var v95649 =null;  if (IS.ie &&v02549.LayoutSettings.ResultBoxWindowType =="Normal") v95649 =document.getElementById("wcTempCnt"); else v95649 =v02549.ResultBox.document.getElementById("wcTempCnt"); if (v95649)v95649.innerHTML =""; }, m61027:function(v00732) { var vffe32 =null;  if (IS.ie &&v00732.LayoutSettings.ResultBoxWindowType =="Normal") vffe32 =document.getElementById("wcTempCnt"); else vffe32 =v00732.ResultBox.document.getElementById("wcTempCnt"); if (vffe32)return vffe32.childNodes[0]; return null; }, m54c2:function(vc1452,v7b50) { var v7cf32 =vc1452; var vf9a91 =v7cf32.GetTData(); if (wc9755.m4b753(v7cf32)) { v7cf32.TextObj.value =vf9a91.rows[v7cf32.SelectedIndex].cells[0].innerText; if (!v7b50)wc9755.mec811(v7cf32.TextObj); } else  { if (v7cf32.LastQuery !=null)v7cf32.TextObj.value =v7cf32.LastQuery; if (!v7b50)wc9755.mec811(v7cf32.TextObj); } }, m41b70:function(vb9943,v5cf49) { if (!vb9943.LayoutSettings.StatusBoxVisible)return;  if (vb9943.ResultBox) { var v2997 =vb9943.ResultBox.document.getElementById(vb9943.Name +"_spstatus"); v2997.innerText =v5cf49; } },  m19d71:function(v9ea38) { var ve9a63 =v9ea38; var v9ba59 =ve9a63.ResultBox.document; var vcd843 =0; var v7c566 =0; if (ve9a63.LayoutSettings.StatusBoxVisible) vcd843 =v9ba59.getElementById(v9ea38.Id +"_tstatus").offsetHeight; if (ve9a63.TotalRetrievedRows <ve9a63.TotalRows) vcd843+=v9ba59.getElementById(v9ea38.Id +"_tmore").offsetHeight;  if (ve9a63.LayoutSettings.ComboMode =="MultipleColumns" &&ve9a63.LayoutSettings.AlwaysShowColumnHeaders) { v9ba59.getElementById(v9ea38.Id +"_theader").scrollLeft =0; vcd843 +=v9ba59.getElementById(v9ea38.Id +"_theader").offsetHeight; }  v7c566 =ve9a63.LayoutSettings.ResultBoxHeight -vcd843 -2;  if (IS.ie &&ve9a63.LayoutSettings.ResultBoxWindowType =="Normal") v7c566 =ve9a63.ResultBox.document.getOwnerDocument().offsetHeight -vcd843 -2; return v7c566; },  m5b942:function() { var vc839 =document.createElement("DIV"); vc839.id ="WebCombo3_ErrBox"; vc839.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"; vc839.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="wc9755.m99b58(wc_ErrorMsg.innerText)" >Copy</button>&nbsp;<button onclick="wc9755.m62226()" 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(vc839); return vc839; }, m62226:function() { var v38729 =document.getElementById("WebCombo3_ErrBox"); v38729.style.display ="none"; },  m99b58:function(vf3c29) { window.clipboardData.setData('Text',vf3c29); },  mbcb6:function(v3f548,v0c35,v03f66) { var vb7c13 =document.getElementById("WebCombo3_ErrBox"); if (!vb7c13) vb7c13 =wc9755.m5b942(); vb7c13.style.width =document.body.offsetWidth -50; vb7c13.style.height =document.body.offsetHeight -50; vb7c13.style.left =vb7c13.style.top =20;  document.getElementById("wc_ErrorMsg").innerHTML =v0c35; document.getElementById("img_wcError").src =v3f548.LayoutSettings.ImagesDirectory +"wc_Error.gif"; if (v03f66) document.getElementById("wc_uhemsg").innerHTML =v03f66; vb7c13.style.display =""; }, mb4777:function(vc934) { while (vc934 &&vc934.tagName !="TR") vc934 =vc934.parentElement; return vc934; }, m57e61:function(v56d79) { var v9c423 =v56d79.GetTData();  if (v9c423.tBodies[0]) { var v06594 =v9c423.rows.length; for (var vd9018=0; vd9018<v06594; vd9018++) v9c423.deleteRow(0); } },  mbe650:function(ve7a34,v1eb52,vf8388) { if (ve7a34.createTextRange) { var v3c715 =ve7a34.createTextRange();  if (IS.moz) { ve7a34.selectionStart =0; vf8388 =true; }  v3c715.moveStart('character',v1eb52); if (vf8388) v3c715.moveEnd('character',0-v3c715.text.length); v3c715.select(); } },  mc6371:function(v18384,veb829,v95a93) { var vb3f73 =v18384.TextObj; if (vb3f73.createTextRange) { var vde671 =vb3f73.value; var vbd422 =vb3f73.createTextRange(); var vac132 =veb829.StartPos; var v92177 =veb829.EndPos;  if (IS.ie) { vbd422.moveStart('character',vac132); vbd422.moveEnd('character',0-(vde671.length-v92177)); } else { vb3f73.selectionStart =vac132; vb3f73.selectionEnd =v92177; }  if (vbd422.text ==veb829.Text) vbd422.select(); else { vac132 =v92177-veb829.Text.length; if (v95a93 >vac132) { vbd422 =vb3f73.createTextRange(); vbd422.moveStart('character',vac132); vbd422.moveEnd('character',0-(vde671.length-v92177)); vbd422.select(); } } } },  mfcf13:function(vfaf70) { var v7cd75 =vfaf70.GetTData(); if (v7cd75) { for (var veea78=0; veea78<v7cd75.rows.length; veea78++) { wc9755.m9cf37(v7cd75.rows[veea78]); var vaba96 =v7cd75.rows[veea78].dataValue; var v9a683 =v7cd75.rows[veea78].cells[0].childNodes[0];  if (vfaf70.Values ==null ||vfaf70.Values.length ==0) { v9a683.checked =false; } else { var v97565 =false; for (var v92960=0; v92960<vfaf70.Values.length; v92960++) { if (vfaf70.Values[v92960].Value ==vaba96) { v9a683.checked =true; v97565 =true; break; } }  if (!v97565) v9a683.checked =false; } wc9755.m6ac40(vfaf70,v7cd75.rows[veea78]); } } },  maf235:function(va1d75,ve2733) { var v08d89 =va1d75.GetTData(); if (v08d89) { var vcb986 =v08d89.rows[va1d75.LastSelectedIndex]; var ve3782 =vcb986.cells[0]; var v87871 =false;  if (ve2733 ==null ||ve2733.tagName !="INPUT") { v87871 =!ve3782.childNodes[0].checked;  ve3782.childNodes[0].checked =v87871; } else v87871 =!ve2733.checked;  if (v87871) { var v42b86 =new WebComboValueItem(); v42b86.Text =vcb986.cells[1].innerText; v42b86.Value =vcb986.dataValue; v42b86.Position =(va1d75.Values ==null)? 0 : va1d75.Values.length;  if (va1d75.Values ==null) { va1d75.Values =new Array(); va1d75.Values[va1d75.Values.length] =v42b86; } else { var ve6894 =v42b86.Position; for (var vb0f17=ve6894; vb0f17<va1d75.Values.length; vb0f17++) va1d75.Values[vb0f17].Position =vb0f17+1; va1d75.Values.splice(v42b86.Position,0,v42b86); }  } else { va1d75.RefreshValueItems(); for (var vb0f17=0; vb0f17<va1d75.Values.length; vb0f17++) { if (va1d75.Values[vb0f17].Text ==vcb986.cells[1].innerText) { va1d75.Values.splice(va1d75.Values[vb0f17].Position,1); break; } }  if (va1d75.Values.length ==0)va1d75.Values =null; }  if (ve2733.tagName =="INPUT") ve2733.checked =v87871;  va1d75.RefreshTextByValueItems(va1d75); } },  mec811:function(v91e22) { if (v91e22.createTextRange) { var vac750 =v91e22.value; var va8121 =v91e22.createTextRange(); va8121.moveStart('character',vac750.length); va8121.select(); } },  m62d34:function(ved061) { var va2722 =document.getElementById(ved061.Id); var v96060=""; if (ved061.MultipleSelectionSettings.Enabled) { if (ved061.Values !=null) { for(var v19c93=0; v19c93<ved061.Values.length; v19c93++) { v96060 +=ISXml.EncodeString(ved061.Values[v19c93].Text)+"\03"; v96060 +=ISXml.EncodeString(ved061.Values[v19c93].Value)+"\04"; } if (v96060 !="") v96060 =v96060.substr(0,v96060.length-1); } } else { if (ved061.Value !="" &&(ved061.Text !="" ||ved061.LastSelectedIndex >-1)) { v96060+=ISXml.EncodeString(ved061.Text)+"\03"; v96060+=ISXml.EncodeString(ved061.Value); } }  if (va2722) va2722.value =v96060; }, mc3e80:function(vc2482) { var v1ba97 =new Array(); if (vc2482.Rows !=null) { for(var vcc349=0; vcc349<vc2482.Rows.length; vcc349++) { var vbef46 =vc2482.Rows[vcc349]; if (vbef46._UIState =="Changed") { var ved555 =vbef46.Cells; if (ved555 !=null) { for(var v78e40=0; v78e40<ved555.length; v78e40++) { var v13755 =ved555[v78e40].GetElement(); v13755.innerText =ved555[v78e40].Text; } } vbef46._UIState ="Unchanged"; } else if (vbef46._UIState =="Removed") { v1ba97[v1ba97.length] =vbef46.GetElement(); vc2482.Rows.Remove(vbef46); vcc349--; } else if (vbef46._UIState =="Added") { vc2482.NewRowObj =vbef46; wc9755.m5ba62(vc2482); vbef46._UIState ="Unchanged"; } }  var v33c47 =vc2482.GetTData(); for (var vcc349=0; vcc349<v1ba97.length; vcc349++) { var vbef46 =v1ba97[vcc349]; v33c47.deleteRow(vbef46.rowIndex); }  vc2482.Rows =null; vc2482.GetRows(); } },  m7d053:function(v1de21) { var v0c72 =v1de21; v0c72 =v0c72.replace(/&quot;/g,'"' ); v0c72 =v0c72.replace(/&amp;/g,'&' ); v0c72 =v0c72.replace(/&lt;/g,'<' ); v0c72 =v0c72.replace(/&gt;/g,'>' ); v0c72 =v0c72.replace(/&nbsp;/g," " ); return v0c72; }};var wc3e417 ={ mdbf78:function() { var v7f438 =this; var v47b85 =v7f438.ResultBox.document; var v05c47 =v47b85.getElementById(v7f438.Id +"_tmore"); DynamicStyleEngine.SetToOverStyle(null,v7f438.LayoutSettings.MoreButtonStyle,v05c47); },  m4ef48:function() { var v6b793 =this; var v52f64 =v6b793.ResultBox.document; var v3b832 =v52f64.getElementById(v6b793.Id +"_tmore"); DynamicStyleEngine.SetToStyle(null,v6b793.LayoutSettings.MoreButtonStyle,v3b832); },  mceb9:function() { var v2ec93 =this; var va5164 =v2ec93.ResultBox.document.parentWindow.event; var v82732 =wc9755.mb4777(va5164.srcElement); if (!v82732)return;  if (v82732.className !=v2ec93.LayoutSettings.SelectedRowStyle) DynamicStyleEngine.SetToOverStyle(null,v2ec93.LayoutSettings.RowStyle,v82732);  },  m5c396:function() { var v89f96 =this; var v2ca14 =v89f96.ResultBox.document.parentWindow.event; var vc4a47 =wc9755.mb4777(v2ca14.srcElement); if (!vc4a47)return;  if (vc4a47.className !=v89f96.LayoutSettings.SelectedRowStyle) DynamicStyleEngine.SetToStyle(null,v89f96.LayoutSettings.RowStyle,vc4a47); }, m33290:function() { var v4b796 =this; var vc3414 =v4b796.ResultBox.document.parentWindow.event; if (vc3414.button ==0 ||vc3414.button ==65535) { var v6a047 =vc3414.srcElement; if (!v6a047)return; if (v6a047 &&v6a047.tagName !="TD")v6a047 =v6a047.parentElement; if (v6a047 &&v6a047.tagName =="TD") { if (IS.ie) { if (v6a047.innerText !="" &&v6a047.scrollWidth >v6a047.offsetWidth &&v6a047.childNodes.length <3) v6a047.title =v6a047.innerText; else v6a047.title ="";  if (v4b796.LayoutSettings.ComboMode =="MultipleColumns" &&v6a047.title =="") { if (v6a047.cellIndex ==v6a047.parentElement.cells.length-1 &&v6a047.offsetWidth+16 >v6a047.scrollWidth) v6a047.title =v6a047.innerText; } } else { if (v6a047.innerText !="" &&v6a047.childNodes[0].offsetWidth >v6a047.offsetWidth &&v6a047.childNodes.length <3) v6a047.title =v6a047.innerText; else v6a047.title =""; } } } },  mc7211:function(v1b723) { var v11b52 =this;  if (v1b723 !=null) v11b52 =v1b723;  if (IS.moz) return;  v11b52.IsDirty =true; v11b52.IsMoreRequest =true; wc9755.m9ba43(v11b52,"LoadData"); },  m70031:function() { this.IsDirty =true; this.IsMoreRequest =true; wc9755.m9ba43(this,"LoadData");  event.cancelBubble =true; event.returnValue =false; }, mccf44:function(v37227) { var vcb37 =v37227.ResultBox.document.parentWindow.event; if (!ISEvent.Raise(v37227.LayoutSettings.ClientSideEvents.OnKeyDown,this.Id,vcb37.keyCode)) return; if (vcb37.keyCode ==27) { wc9755.m00779(v37227); vcb37.cancelBubble =true; vcb37.returnValue =false; } else if (IS.moz &&(vcb37.keyCode ==38 ||vcb37.keyCode==33)) { vcb37.cancelBubble =true; vcb37.returnValue =false; } return false; }, md9651:function(vf5798) { var vb3f27 =this;  if (vf5798 !=null) vb3f27 =vf5798;  var v04682 =vb3f27; if (vb3f27.MultipleSelectionSettings.Enabled &&vb3f27.LayoutSettings.TextBoxMode =="ReadOnly") return false; try  { v04682.HideDropDown(); } catch(e){} },  m9bd72:function() { var ve0b82 =this; if (ve0b82.MultipleSelectionSettings.Enabled &&ve0b82.LayoutSettings.TextBoxMode =="ReadOnly") { var v8df61 =ve0b82.ResultBox.document.parentWindow.event; v8df61.cancelBubble =true; v8df61.returnValue =false; } },  m0ea90:function() { var v99d18 =this; var vc7a30 =v99d18.ResultBox.document.parentWindow.event; var vd0888 =v99d18.GetTData(); if (vc7a30.button ==ISEvent.LEFT) { var v66262 =vc7a30.srcElement; v66262 =wc9755.mb4777(v66262);  if (wc9755.m4b753(v99d18))wc9755.m6ac40(v99d18,vd0888.rows[v99d18.LastSelectedIndex]); v99d18.LastSelectedIndex =v99d18.SelectedIndex =v66262.rowIndex; wc9755.mbbe59(v99d18,v66262);  if (!v99d18.MultipleSelectionSettings.Enabled) { wc9755.m54c2(v99d18); if (IS.ie &&v99d18.LayoutSettings.ResultBoxWindowType =="Normal") setTimeout(function(){v99d18.SetFocus();},50);  if (IS.moz) { wc9755.m5e544(v99d18); setTimeout(function(){v99d18.TextObj.focus();wc9755.mec811(v99d18.TextObj);},100); } } else { if (v99d18.MultipleSelectionSettings.Enabled &&v99d18.LayoutSettings.TextBoxMode =="ReadOnly") { wc9755.maf235(v99d18,vc7a30.srcElement); } else { wc9755.m5e544(v99d18); if (IS.ie &&v99d18.LayoutSettings.ResultBoxWindowType =="Normal") { setTimeout(function(){v99d18.SetFocus();},50); setTimeout(function(){wc9755.mec811(v99d18.TextObj);},55); } if(!wc9755.m1d931(v99d18,v99d18.LastQueryMultiple)) wc9755.m73432(v99d18); } } } },  m9d116:function() { var v84612 =this; var vca729 =v84612.ResultBox.document.parentWindow.event; var vaac7 =v84612.GetTData();  if (vca729.button ==ISEvent.LEFT ) { if (!v84612.MultipleSelectionSettings.Enabled) wc9755.m5e544(v84612); if (v84612.MultipleSelectionSettings.Enabled &&v84612.LayoutSettings.TextBoxMode =="ReadOnly") { if (vca729.srcElement.tagName =="INPUT") { var v9e388 =vca729.srcElement; var v98583 =v9e388.checked; setTimeout(function(){v9e388.checked =v98583;},1); vca729.cancelBubble =true; vca729.returnValue =false; } return; }  if (!v84612.LayoutSettings.AlwaysShowResultBox) { v84612.HideDropDown(); } } }, mbd582:function() { var v06b59 =this; var v52b56 =v06b59.GetTData(); var v4b096 =v06b59.ResultBox.document.parentWindow.event; var vac536 =-(v4b096.wheelDelta/120);  var v51549 =document.createEventObject(); var vb1391; if (vac536 >0)vb1391 =40; else vb1391 =38; v51549.keyCode =vb1391; v06b59.TextObj.fireEvent("onkeydown",v51549);  v4b096.cancelBubble =true; v4b096.returnValue =false; return false; }, m05884:function() { var vae218 =this; if (!vae218.LayoutSettings.AlwaysShowColumnHeaders)return; var v78685 =vae218.ResultBox.document.getElementById(vae218.Id +"_theader").parentElement; var v46c97 =vae218.GetTData().parentElement;  v78685.scrollLeft =v46c97.scrollLeft; }};function wcGetComboById(v8a376){ return ISGetObject(v8a376);}function wc_getValue(v9c112){ return ISGetObject(v9c112).Value;}function wc_setAdditionalFilters(vd7296,va8c41){ var vfe612 =ISGetObject(vd7296); vfe612.SetAdditionalFilters(va8c41);}function wc_getText(vad731){ return ISGetObject(vad731).Text;}function WC30Help(v9b451){ var v11031 =ISGetObject(v9b451); var va4710 =v11031.LayoutSettings.HelpURL;  if (va4710 =="")
 va4710 ="http://www.intersoftpt.com/webcombo/help.aspx";
  window.open(va4710,null,"toolbar=no, menubar=no, scrollbars=yes, resizable=yes");}function WebCombo3CoreDestructor(){ var vee287 =delete wc9755; vee287 =delete wc3e417; }window.attachEvent("onunload",WebCombo3CoreDestructor);