
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 7/7/2010 7:33:45 PM
// 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**
function OverrideValidatorHookupControl(){ if (IS.IsObjExists("ValidatorHookupEvent")){ ValidatorHookupEvent =function(v54376,vd3762,v52d26){ var vbff66; eval("vbff66 = v54376." +vd3762 +";"); var v7444 =false; if (typeof (vbff66)=="function"){ vbff66 =vbff66.toString(); vbff66 =vbff66.substring(vbff66.indexOf("{")+1,vbff66.lastIndexOf("}")); if (vbff66.indexOf("Listener.Fire")>-1){ vbff66 =""; v7444 =true; } } else vbff66 =""; var v44d56; var vfa172 =ISGetObject(v54376.id); if (parseInt(vfa172.NetFrameworkVersion)>3) v52d26 =v52d26.replace("event","evt"); if (navigator.appName.toLowerCase().indexOf('explorer')>-1) v44d56 =new Function(v52d26 +" " +vbff66); else v44d56 =new Function("event",v52d26 +" " +vbff66); if (v7444) Listener.Append(0,v54376,vd3762,v44d56); else eval("v54376." +vd3762 +" = v44d56;"); } } else { ValidatorHookupControl =function(v54376,vff032){ if (typeof (v54376.tagName)=="undefined" &&typeof (v54376.length)=="number"){ var vb633; for (vb633 =0; vb633 <v54376.length; vb633++){ var v64616 =v54376[vb633]; if (typeof (v64616.value)=="string") ValidatorHookupControl(v64616,vff032); } return; } else if (v54376.tagName !="INPUT" &&v54376.tagName !="TEXTAREA" &&v54376.tagName !="SELECT"){ var vb633; for (vb633 =0; vb633 <v54376.children.length; vb633++){ ValidatorHookupControl(v54376.children[vb633],vff032); } return; } else { if (typeof (v54376.Validators)=="undefined"){ v54376.Validators =new Array; var vbff66; var v7444 =false; if (v54376.type =="radio") vbff66 =v54376.onclick; else vbff66 =v54376.onchange; if (typeof (vbff66)=="function"){ vbff66 =vbff66.toString(); vbff66 =vbff66.substring(vbff66.indexOf("{")+1,vbff66.lastIndexOf("}")); if (vbff66.indexOf("Listener.Fire")>-1){ vbff66 =""; v7444 =true; } } else vbff66 =""; var v44d56 =new Function("ValidatorOnChange(); " +vbff66); if (v54376.type =="radio"){ if (v7444) Listener.Append(0,v54376,"onclick",v44d56); else v54376.onclick =v44d56; } else { if (v7444) Listener.Append(0,v54376,"onchange",v44d56); else v54376.onchange =v44d56; } } v54376.Validators[v54376.Validators.length] =vff032; } } }};function InitWTB(vf5712){ wie0739.mce771(vf5712); OverrideSubmitScripts();};function WebInput(vde487){ this.ClassName ="WebInput"; this.Version ="3.0.7200"; this.BuildNumber ="1"; this.MajorVersion ="3.0"; this.RequiredFrameworkVersion ="3.0.5000.40"; this.BuildNumber ="1"; ISControl.call(this,vde487); if (IS_ReleaseType =="Beta"){ this.ScriptDirectory ="/CommonLibraryBeta/WebInput/V3_0_7200/"; this.ImagesDirectory ="/CommonLibraryBeta/Images/WebInput/"; } else { this.ScriptDirectory ="/CommonLibrary/WebInput/V3_0_7200/"; this.ImagesDirectory ="/CommonLibrary/Images/WebInput/"; } this.AcceptEnter =true; this.AcceptEsc =true; this.CaseSensitive =false; this.CharacterCasing ="Normal"; this.Enabled =true; this.ReadOnly =false; this.InitialSelection ="SelectAll"; this.NumericInput =false; this.Nullable =false; this.CultureInfo =this.ImageSettings =this.HighLight =this.TextBoxStyle =this.DropDownStyle =this.FrameStyle =this.CalculatorEditor =this.DateTimeEditor =this.DisplayFormat =this.EditFormat =null; this.EditorType =undefined; this.Text =this.EditText =this.Value =this._BeforeUpdatedValue =this._AfterUpdatedValue =""; this._OldText =null; this._OldValue =null; this._OldEditText =null; this.IsInitialSelection =false; this.IsSelectedAll =false; this.HandleTab =false; this.IsDirty =false; this._IsRuntimeCancelEvent =false; this._IsFirstCtrlUpAfterSelectedAll =false; this._MozRepeatedKeypress =false; this._OriginalValue =""; this._OriginalText =""; this.DateTimeValue =""; this.DateTimeFormatting =""; this.WebResourceIdentifier ="I"; this.WatermarkText =null; this.UseDefaultStyle =true; this._IsActive =false; this.LastAction =""; this.DateDataSource =""; this.ResetOnInvalidEntry =false; this.MinimumDate =""; this.MaximumDate =""; this.DataValid =true; this.AutoPostBack =false; this.MinDate =new Date(); this.MinDate.setFullYear(1753); this.MinDate.setMonth(0); this.MinDate.setDate(1); this.MinDate.setHours(0); this.MinDate.setMinutes(0); this.MinDate.setSeconds(0); this.MaxDate =new Date(); this.MaxDate.setFullYear(9998); this.MaxDate.setMonth(11); this.MaxDate.setDate(31); this.MaxDate.setHours(23); this.MaxDate.setMinutes(59); this.MaxDate.setSeconds(59); this.NetFrameworkVersion ="";  this.DateComboLink =""; this.ParentComboLink =""; this.DecimalSeparator =".";   this.ReBindingPostBackData =function(){ var vec496 =window.event; if (vec496 !=null &&vec496.type =="submit" &&this.ReadOnly){ this._ReadOnly =true; this.SetReadOnly(false); } wie0739.m1fb80(this); }; this.PrepareAdditionalPostBackData =function(){ wie0739.me6297(this); }; this.OnUnload =function(){ this.Validator =null; Listener.Unload(this.HtmlObj); }; this.Enable =function(){ var vcdd72 =this; if (vcdd72.IsValidatorValid()){ vcdd72.Enabled =true; vcdd72.FrameObj.disabled =false; vcdd72.SetEnableSubElements(vcdd72.FrameObj.children,false,vcdd72.ReadOnly); } }; this.Disable =function(){ var vcdd72 =this; if (vcdd72.IsValidatorValid()){ this.Enabled =false; this.FrameObj.disabled =true; this.SetEnableSubElements(vcdd72.FrameObj.children,true,vcdd72.ReadOnly); } }; this.SetFocus =function(){ this.HtmlObj.focus(); }; this.SetReadOnly =function(va2787){ if (typeof (va2787)!="boolean") return false; var vcdd72 =this; if (vcdd72.Enabled){ if (vcdd72.IsValidatorValid()){ vcdd72.ReadOnly =va2787; vcdd72.HtmlObj.readOnly =IS.Opera ==false ? false : va2787; if (va2787) wie0739.m35e52(vcdd72); else wie0739.mca011(vcdd72); if (vcdd72.HighLight !=null){ if (va2787) wi5fa76.m48394(vcdd72); else { wi5fa76.mac323(vcdd72); } } if (vcdd72.DisplayFormat !=null){ if (va2787) wi01372.mb3b7(vcdd72); else wi01372.m18a5(vcdd72); } if (vcdd72.EditFormat !=null){ if (va2787) wi4675.mab816(vcdd72); else wi4675.m5da49(vcdd72); } if (vcdd72.DynamicEditFormat !=null){ if (va2787) wid3c66.m0db94(vcdd72); else wid3c66.m43566(vcdd72); } if (va2787) wie0739.m53678(vcdd72); else wie0739.me4b92(vcdd72); } } }; this.DoBlur =function(){ wie0739.m03e96(this); }; this.SetEnableSubElements =function(v4627,va2787,v87464){ for (var v53a47 =0; v53a47 <v4627.length; v53a47++){ if (v4627[v53a47].tagName !="INPUT" &&v4627[v53a47].tagName !="TEXTAREA") v4627[v53a47].disabled =va2787; else { v4627[v53a47].readOnly =va2787; if (va2787 ==false &&v87464 ==true) v4627[v53a47].readOnly =v87464; } this.SetEnableSubElements(v4627[v53a47].children,va2787,v87464); } }; this.DoAutoPostBack =function(){ var vcdd72 =this; if (vcdd72.AutoPostBack &&((vcdd72.EditFormat !=null &&vcdd72._OldEditText !=vcdd72.EditText)||(vcdd72.EditFormat ==null &&vcdd72.DisplayFormat !=null &&vcdd72._OldText !=vcdd72.Text)||(vcdd72.DynamicEditFormat !=null &&vcdd72._OldText !=vcdd72.Text)||(vcdd72.EditFormat ==null &&vcdd72.DisplayFormat ==null &&(vcdd72._OldValue !=vcdd72.Value ||vcdd72._OldText !=vcdd72.Text)))){ if (vcdd72.EditFormat ==null &&vcdd72.DynamicEditFormat ==null) vcdd72.EditText =null; vcdd72.PreparePostBackData(); var v15128 =vcdd72._OldValue !=null ? "OldValue=" +vcdd72._OldValue : ""; v15128 +=vcdd72.Value !=null ? ";Value=" +vcdd72.Value : ""; v15128 +=vcdd72._OldText !=null ? ";OldText=" +vcdd72._OldText : ""; v15128 +=vcdd72.Text !=null ? ";Text=" +vcdd72.Text : ""; v15128 +=vcdd72._OldEditText !=null ? ";OldEditText=" +vcdd72._OldEditText : ""; v15128 +=vcdd72.EditText !=null ? ";EditText=" +vcdd72.EditText : ""; __doPostBack(vcdd72.ServerUniqueID,ISXmlHttpEngine.EncodeURL(v15128)); } return false; };};var pWI =WebInput.prototype;pWI.SetValueData =function(v,ref){ wie0739.mcb117(this,v,ref);};pWI.IsValidatorValid =function(){ var o =this; var isValid =true; if (o.DisplayFormat !=null &&o.DisplayFormat.ClientData !=null) isValid =o.DisplayFormat.ClientData.IsValid; if (isValid ==true &&o.EditFormat !=null &&o.EditFormat.ClientData !=null) isValid =o.EditFormat.ClientData.IsValid; if (isValid ==true &&o.DynamicEditFormat !=null &&o.DynamicEditFormat.ClientData !=null) isValid =o.DynamicEditFormat.ClientData.IsValid; return isValid;};pWI.SetEditValueByEditorOnly =function(val){ if (typeof (val)=="boolean"){ var c =this; if (c.IsValidatorValid()) c.HtmlObj.readOnly =val; }};pWI.GetValidatorValue =function(){ if (this.Validator !=null){ var validatorType =this.Validator.getAttribute("type"); if (validatorType ==null ||validatorType ==undefined) validatorType =this.Validator.type; var val =this.HtmlObj.value; var dateData; switch (validatorType){ case "String": break; case "Currency": case "Integer": case "Double": if (this.EditFormat !=null){ if (this.EditFormat.Validate()){ var ve =IS.GetValidationEngine(); var cd =this.EditFormat.ClientData; with (cd){ Type =this.EditFormat.MaskType.toLowerCase(); Format =this.EditFormat.Format; OldValue =NewValue =FormattedValue; IsValid =true; } val =ve.UnMask(cd,this.CultureInfo); } } else { if (this.DisplayFormat !=null){ if (this.DisplayFormat.Validate()){ var ve =IS.GetValidationEngine(); var cd =this.DisplayFormat.ClientData; with (cd){ Type =this.DisplayFormat.FormatType.toLowerCase(); Format =this.DisplayFormat.Format; OldValue =NewValue =FormattedValue; IsValid =true; } val =ve.UnMask(cd,this.CultureInfo); } } } if (isNaN(parseFloat(val))==false) val =validatorType =="Double" ? parseFloat(val).toString(): parseInt(val).toString(); break; case "Date": if (this.EditFormat !=null){ if (this.EditFormat.Validate()) dateData =this.EditFormat.ClientData.DateData; } else { if (this.DisplayFormat !=null){ if (this.DisplayFormat.Validate()) dateData =this.DisplayFormat.ClientData.DateData; } } if (this.Validator.dateorder =="ymd") val =dateData.Year +"/" +dateData.Month +"/" +dateData.Day; else { if (this.Validator.dateorder =="mdy") val =dateData.Month +"/" +dateData.Day +"/" +dateData.Year; } break; } return val; } else return this.HtmlObj.value;};pWI.GetValueData =function(validation){ if (this.EditFormat !=null) return this.EditFormat.GetValueData(this); else { if (this.DynamicEditFormat !=null ||this.DisplayFormat !=null){ if (validation ==true) return this.HtmlObj.value; else return this.Value; } else { if (window.event !=null){ if (IS.GetEventType()!="blur"){ this.Value =this.Text =this.HtmlObj.value; return this.Value; } else return this.Value; } else return this.Value; } }};pWI.GetData =function(){ if (this.EditFormat !=null) return this.EditFormat.GetData(); else { if (this.DynamicEditFormat !=null) return this.DynamicEditFormat.GetData(); else { if (this.DisplayFormat !=null) return this.DisplayFormat.GetData(); else return this.Value; } }};pWI.SetValue =function(v){ wie0739.m6b486(this,v);};pWI.SetHighLightValue =function(v){ wie0739.me4a24(this,v);};pWI.DoFocus =function(){ wie0739.m65073(this);};pWI.DoLastBlur =function(){ wie0739.m2b210(this);};pWI.DoBlur =function(){ wie0739.mc3893(this);};pWI.GetEditText =function(){ return wie0739.m30425(this);};pWI.ShowEditor =function(){ if (this.DateTimeEditor) wie0739.mab330(this,"DateTimeEditor"); else { if (this.CalculatorEditor) wie0739.mab330(this,"CalculatorEditor"); }};pWI.HideEditor =function(){ if (this.DateTimeEditor) this.DateTimeEditor.WindowInfo.Popup.hide(); else { if (this.CalculatorEditor) this.CalculatorEditor.WindowInfo.Popup.hide(); }};pWI.GetDateTimeValueData =function(){ var dateData; var dateTimeValue; try { switch (this.DateDataSource){ case "DisplayFormat": dateData =this.DisplayFormat.ClientData.DateData; break; case "EditFormat": dateData =this.EditFormat.ClientData.DateData; break; case "DynamicEditFormat": dateData =this.DynamicEditFormat.ClientData.DateData; break; case "DateTimeEditor": dateData =this.DateTimeEditor.ClientData.DateData; break; } } catch (ex) {} if (dateData ==null){ if (this.DateTimeValue !=null &&this.DateTimeValue !=""){ var datePart =this.DateTimeValue.split(":"); var date =datePart[0].split(";"); var time =datePart[1].split(";"); dateTimeValue =new Date(parseInt(date[2]),parseInt(date[1])-1,parseInt(date[0]),parseInt(time[0]),parseInt(time[1]),parseInt(time[2]),parseInt(time[3])); } } else dateTimeValue =new Date(parseInt(dateData.Year),parseInt(dateData.Month),parseInt(dateData.Day),parseInt(dateData.Hour24),parseInt(dateData.Minute),parseInt(dateData.Second),parseInt(dateData.Fraction)); return dateTimeValue;};pWI.SetWidth =function(val){ this.Width =val; if (IS.moz){ if (val.toString().indexOf("%")>-1) val =this.FrameObj.parentNode.parentNode.parentNode.parentNode.parentNode.offsetWidth *(parseFloat(val.toString())/100)+"px"; this.FrameObj.parentNode.parentNode.parentNode.parentNode.style.width =val; } this.FrameObj.style.width =val; var el =document.getElementById(this.Id +IS.InnerFrameSuffix); el.parentNode.style.width =IS.ie ||IS.safari ||val.indexOf("%")>-1 ? "100%" : (val); this.HtmlObj.style.width =IS.ie ||IS.safari ||val.indexOf("%")>-1 ? "100%" : (val);};pWI.SetHeight =function(val){ this.Height =val; if (IS.ie ==false){ if (val.toString().indexOf("%")>-1){ if (IS.moz) val =this.FrameObj.parentNode.parentNode.parentNode.parentNode.parentNode.offsetHeight *(parseFloat(val.toString())/100)+"px"; else val =this.FrameObj.parentNode.offsetHeight *(parseFloat(val.toString())/100)+"px"; } } if (IS.ie ||IS.moz) this.FrameObj.parentNode.parentNode.parentNode.parentNode.style.height =val; this.FrameObj.style.height =IS.ie ? "100%" : (val); var el =document.getElementById(this.Id +IS.InnerFrameSuffix); el.parentNode.style.height =IS.ie ||IS.safari ||val.indexOf("%")>-1 ? "100%" : (val); this.HtmlObj.style.height =IS.ie ||IS.safari ||val.indexOf("%")>-1 ? "100%" : (val);};pWI.IsDateInRange =function(date,includeTime){ if (date ==null) return true; var checkedDate; if (date.constructor ==ISDateData) checkedDate =new Date(parseFloat(date.Year),parseFloat(date.Month),parseFloat(date.Day),parseFloat(date.Hour24),parseFloat(date.Minute),parseFloat(date.Second)); else { if (date.constructor ==Date) checkedDate =date; else return false; } var isValid =false; if (includeTime !=true) checkedDate =new Date(checkedDate.getFullYear(),checkedDate.getMonth(),checkedDate.getDate()); if (this.MinDate !=null){ isValid =this.MinDate <=checkedDate; if (isValid ==false){ } } if (this.MaxDate !=null &&isValid ==true) isValid =this.MaxDate >=checkedDate; if (this.DateTimeEditor){ var linkInput =ISGetObject(this.DateTimeEditor.DateInputLink); if (linkInput !=null &&linkInput.DateTimeValue !="" &&linkInput.DateTimeValue !=null &&isValid ==true){ var datePart =linkInput.DateTimeValue.split(":"); var date =datePart[0].split(";"); var time =datePart.length >1 &&includeTime ==true ? datePart[1].split(";"): "00;00;00;000".split(";"); var linkedDate =new Date(date[2],date[1] -1,date[0],time[0],time[1],time[2]);  isValid =checkedDate <=linkedDate; } var parentInput =ISGetObject(this.DateTimeEditor.ParentDateInput); if (parentInput !=null &&parentInput.DateTimeValue !="" &&parentInput.DateTimeValue !=null &&isValid ==true){ var datePart =parentInput.DateTimeValue.split(":"); var date =datePart[0].split(";"); var time =datePart.length >1 &&includeTime ==true ? datePart[1].split(";"): "00;00;00;000".split(";"); var linkedDate =new Date(date[2],date[1] -1,date[0],time[0],time[1],time[2]); isValid =checkedDate >=linkedDate; } } if (isValid ==false &&this.Events !=null) ISEvent.Raise(this.Events.OnInvalidDateRange,this.Id,date); return isValid;};function WebInputImageSettings(){ Settings.call(this); this.DateTimeEditorButtonDownImage =this.DateTimeEditorButtonUpImage =null;};var WebInputOnChangedSource = { Keyboard: 0, Spin: 1, Editor: 2 }; var wie0739 ={ mce771:function(v5bc19) { var v5fc80 =new WebInput(v5bc19); if (IS.safari ||IS.opera) Listener.Add(window,"onload",wie0739.m49e46,v5fc80); wie0739.m9563(v5fc80); wie0739.m41a69(v5fc80); wie0739.m3f249(v5fc80); wie0739.m5a369(v5fc80); if (v5fc80.DateTimeEditor) { var v9ad23 =ISGetObject(v5fc80.DateTimeEditor.DateInputLink); if (v9ad23 !=null) { v9ad23.DateTimeEditor.ParentDateInput =v5bc19; } else { for (var v7b477 =0; v7b477 <IS.RuntimeObjects.length; v7b477++) { var v81e71 =IS.RuntimeObjects[v7b477]; if (v81e71.ClassName =="WebInput" &&v81e71.DateTimeEditor !=null &&v5bc19 !=v81e71.Id) { if (v5bc19 ==v81e71.DateTimeEditor.DateInputLink) v5fc80.DateTimeEditor.ParentDateInput =v81e71.Id; } } } }   var v2a674 =v5fc80.HtmlObj; if (v5fc80.DisplayFormat ==null) v2a674.value =v5fc80.EditFormat !=null ? v5fc80.EditText : v5fc80.Text; else { if (v5fc80.DisplayFormat.FormatType =="DateTime") { v5fc80.Value =v5fc80.Text; } v2a674.value =v5fc80.Text; }  v5fc80._OriginalValue =v5fc80.Value; v5fc80._OriginalText =v5fc80.EditFormat !=null ||v5fc80.DynamicEditFormat !=null ? v5fc80.EditText : v5fc80.Text; v2a674.isActive =false; v5fc80.IsInit =true; if (v5fc80.Enabled ==false) v5fc80.Disable(); else v5fc80.Enable(); v5fc80.SetReadOnly(v5fc80.ReadOnly); if (wie0739.m83387(v5fc80)) v5fc80.SetEditValueByEditorOnly(true); v5fc80.ValidData =true; if (v5fc80.DateTimeEditor !=null) v5fc80._WindowInfoOriPost =v5fc80.DateTimeEditor.WindowInfo.DisplayPosition; if (v5fc80.CalculatorEditor !=null) v5fc80._WindowInfoOriPost =v5fc80.CalculatorEditor.WindowInfo.DisplayPosition; }, m49e46:function() { var v70f55 =this; if (v70f55.FrameObj.style.width =="100%") v70f55.FrameObj.style.width =v70f55.FrameObj.offsetParent.offsetParent.offsetParent.clientWidth; }, m3f249:function(v5a914) { if (v5a914.DateTimeValue !="") { var v50239 =v5a914.DateTimeValue.split(":"); var v9a752 =v50239[0].split(";"); var vd4578 =(v50239.length >1)? v50239[1].split(";"): "1;1;1;1".split(";"); var v77f56 =new Date(parseInt(v9a752[2]),parseInt(v9a752[1])-1,parseInt(v9a752[0]),parseInt(vd4578[0]),parseInt(vd4578[1]),parseInt(vd4578[2]),parseInt(vd4578[3])); var v5f973 =IS.GetValidationEngine(); var v7f51; if (v5a914.DynamicEditFormat !=null) { v7f51 =v5a914.DynamicEditFormat; v5a914.DateDataSource ="DynamicEditFormat"; } else { if (v5a914.EditFormat !=null) { v7f51 =v5a914.EditFormat; v5a914.DateDataSource ="EditFormat"; } else { if (v5a914.DisplayFormat !=null) { v7f51 =v5a914.DisplayFormat; v5a914.DateDataSource ="DisplayFormat"; } } }  if (v7f51 ==null) return; var v4f329 =v7f51.ClientData; with (v4f329) { Type ="DateTime"; Format =v7f51.Format; OldValue =NewValue =v5a914.Value; IsValid =true; } v5f973.Validate(v4f329,v5a914.CultureInfo); if (v4f329.IsValid) { if (v5a914.IsDateInRange(v4f329.DateData)) { v5a914.Value =v4f329.FormattedValue; } } else v4f329.IsValid =true; } }, m5a369:function(v41e85) { if (v41e85.MinimumDate !=null &&v41e85.MinimumDate !="") { var v56150 =v41e85.MinimumDate.split(";"); v41e85.MinDate =new Date(parseFloat(v56150[0]),parseFloat(v56150[1])-1,parseFloat(v56150[2]),parseFloat(v56150[3]),parseFloat(v56150[4]),parseFloat(v56150[5])); } if (v41e85.MaximumDate !=null &&v41e85.MaximumDate !="") { var vb8410 =v41e85.MaximumDate.split(";"); v41e85.MaxDate =new Date(parseFloat(vb8410[0]),parseFloat(vb8410[1])-1,parseFloat(vb8410[2]),parseFloat(vb8410[3]),parseFloat(vb8410[4]),parseFloat(vb8410[5])); } }, m52a97:function(vc2d69) { return; if (vc2d69.HtmlObj.tagName =="TEXTAREA") { var v8f385 =document.getElementById(vc2d69.Id +IS.InnerFrameSuffix); var v0cc80 =vc2d69.HtmlObj; v0cc80.style.overflow =v8f385.currentStyle.overflow; v0cc80.style.overflowX =v8f385.currentStyle.overflowX; v0cc80.style.overflowY =v8f385.currentStyle.overflowY; } }, m9563:function(vfb060) { if (vfb060 ==null) return; if (!vfb060.IsInit) { var vde169 =vfb060.XmlDt.documentElement; if (vde169 !=null) { IS.SetProperties(vfb060,vde169); var v45d20; with (vde169) { v45d20 =selectSingleNode("CultureInfo"); if (v45d20) { var name,isCustomize; name =ISXml.GetAttribute(v45d20,"CultureName"); isCustomize =ISXml.GetAttribute(v45d20,"IsCustomize")=="True"; if (isCustomize) vfb060.CultureInfo =ISGetCultureInfo(vfb060.Id +"_" +name,isCustomize); else vfb060.CultureInfo =ISGetCultureInfo(name,isCustomize); removeChild(v45d20); } v45d20 =selectSingleNode("ImageSettings"); if (v45d20) { vfb060.ImageSettings =new WebInputImageSettings(); IS.SetProperties(vfb060.ImageSettings,v45d20); removeChild(v45d20); } v45d20 =selectSingleNode("DropDownStyle"); if (v45d20) { var v65e15 =document.getElementById(vfb060.Id +IS.DropDownSuffix); vfb060.DropDownStyle =DynamicStyleEngine.Assign(v45d20,v65e15); if (v65e15) { var v69924 =IS.GetCssObject(vfb060.Id,vfb060.DropDownStyle.Normal,null,IS.ie ? false : true); if (v69924 !=null &&v69924.fontSize) v65e15.childNodes[0].style.fontSize =v69924.fontSize; if (v65e15.childNodes[0].innerText ==" " &&v69924.backgroundImage =="") { v65e15.childNodes[0].style.fontFamily ="Webdings"; v65e15.childNodes[0].innerText ="6"; } } removeChild(v45d20); } DynamicStyleEngine.AssignFromArray(vfb060,vde169,["TextBoxStyle","FrameStyle","DropDownStyle"]); } } } }, mee15:function(v18044,v9ca8,v8a267,vc8589) { var v0de44; switch (vc8589) { case "dt": v0de44 =v8a267.Day +";" +(parseFloat(v8a267.Month)+1)+";" +v8a267.Year +":" +v8a267.Hour24 +";" +v8a267.Minute +";" +v8a267.Second +";" +v8a267.Fraction; break; case "d": v0de44 =v8a267.Day +";" +(parseFloat(v8a267.Month)+1)+";" +v8a267.Year +(v18044 !=null &&v18044 !="" ? v18044.substr(v18044.indexOf(":")): ""); break; } return v0de44; }, m1fb80:function(ve2b30) { if (ve2b30 ==null ||ve2b30.XmlDt ==null) return; var v3b216 =ve2b30.XmlDt.documentElement; if (v3b216 !=null) { if (window.event !=null &&window.event.type =="submit") { if (!ve2b30._IsActive) { if (ve2b30.DisplayFormat !=null) { if (ve2b30.HtmlObj.value !=ve2b30.Text) ve2b30._IsActive =true; } else { if (ve2b30.EditFormat !=null) { if (ve2b30.HtmlObj.value !=ve2b30.EditText) ve2b30._IsActive =true; } else { if (ve2b30.DynamicEditFormat !=null) { if (ve2b30.HtmlObj.value !=ve2b30.EditText) ve2b30._IsActive =true; } else { if (ve2b30.HtmlObj.value !=ve2b30.Value) ve2b30._IsActive =true; } } } } if (ve2b30._IsActive &&window.event !=null &&window.event.type =="submit") { if (ve2b30.DynamicEditFormat !=null) wid3c66.me2066(null,ve2b30); ve2b30.DoBlur(); } } var v2bc47 =ve2b30.EditFormat; if (v2bc47 !=null ||ve2b30.DynamicEditFormat !=null) { if (v2bc47 !=null) { if (v2bc47.MaskType =="DateTime") { ve2b30.DateTimeValue =""; if (ve2b30.Value !="" &&ve2b30.Value !=null) { var v6664 =ve2b30.DateDataSource =="DateTimeEditor" ? ve2b30.DateTimeEditor.ClientData : v2bc47.ClientData; var v69572 =ve2b30.DateTimeEditor !=null ? ve2b30.DateTimeEditor.ClientData : null; var v00883; if (v6664 ==null &&v69572 !=null) { v6664 =v69572; v00883 =v69572.DateData; } else v00883 =v6664.DateData; if (v00883 !=null &&v6664 !=null &&v6664.IsValid ==true) { if (v2bc47.Format.indexOf("d")<0 &&v2bc47.Format.indexOf("y")<0 &&v69572 !=null &&v69572.DateData !=null) { v00883.Day =v69572.DateData.Day; v00883.Month =v69572.DateData.Month; v00883.Year =v69572.DateData.Year; } if (v00883 !=null) ve2b30.DateTimeValue =wie0739.mee15(ve2b30.DateTimeValue,v2bc47.Format,v00883,ve2b30.DateTimeFormatting); } else { if (ve2b30.IsDirty &&(ve2b30.DisplayFormat ==null ||ve2b30.DisplayFormat.IsEnabled)) { ve2b30.EditText =ve2b30.Value =ve2b30.HtmlObj.value; ve2b30.Text =null; } } } } else { if (ve2b30._OriginalText ==ve2b30.EditText) { ve2b30.Value =ve2b30._OriginalValue; } } } else { if (ve2b30._OriginalText ==ve2b30.EditText) { ve2b30.Value =ve2b30._OriginalValue; } } } else { if (ve2b30.DisplayFormat !=null) { if (ve2b30._OriginalText ==ve2b30.Text) { ve2b30.Value =ve2b30._OriginalValue; } if (ve2b30.DisplayFormat.FormatType =="DateTime") { ve2b30.DateTimeValue =""; if (ve2b30.Value !=null &&ve2b30.Value !="") { var v6664 =ve2b30.DateDataSource =="DateTimeEditor" ? ve2b30.DateTimeEditor.ClientData : ve2b30.DisplayFormat.ClientData; if (v6664.IsValid &&v6664.DateData !=null) ve2b30.DateTimeValue =wie0739.mee15(ve2b30.DateTimeValue,ve2b30.DisplayFormat.Format,v6664.DateData,ve2b30.DateTimeFormatting); else { if (ve2b30.IsDirty) { ve2b30.Text =ve2b30.Value =ve2b30.HtmlObj.value; ve2b30.EditText =null; } } } } else ve2b30.DateTimeValue =""; } else { if (ve2b30._OriginalText ==ve2b30.HtmlObj.value) { ve2b30.Value =ve2b30._OriginalValue; } } } if (ve2b30.DateTimeValue ==null ||ve2b30.DateTimeValue =="") { ve2b30.DateTimeValue =null; if (v3b216.getAttribute("DateTimeValue")!=null) v3b216.removeAttribute("DateTimeValue"); } else ISXml.SetAttribute(v3b216,"DateTimeValue",ve2b30.DateTimeValue); if (ve2b30.Value !=null &&isNaN(ve2b30.Value)) ve2b30.Value =ve2b30.Value.replace(new RegExp("\\+","img"),"&#43;"); if (ve2b30.Text !=null) ve2b30.Text =ve2b30.Text.replace(new RegExp("\\+","img"),"&#43;"); if (ve2b30.EditFormat ==null &&ve2b30.DynamicEditFormat ==null) ve2b30.EditText =null; if (ve2b30._ReadOnly ==true) ve2b30.ReadOnly =true; if (ve2b30.EditText !=null) ve2b30.EditText =ve2b30.EditText.replace(new RegExp("\\+","img"),"&#43;"); IS.SetPropertiesToXml(ve2b30,v3b216); } }, mca011:function(v9a730) { Listener.Add(v9a730.HtmlObj,"onblur",wie0739.m2b210,v9a730); Listener.Add(v9a730.HtmlObj,"onfocus",wie0739.m65073,v9a730); }, m35e52:function(v0cf30) { Listener.Remove(v0cf30.HtmlObj,"onblur",wie0739.m2b210,v0cf30); Listener.Remove(v0cf30.HtmlObj,"onfocus",wie0739.m65073,v0cf30); }, me4b92:function(v50266) { var v46c30 =document.getElementById(v50266.Id +IS.DropDownSuffix); Listener.Add(v50266.HtmlObj,"onblur",wie0739.mc3893,v50266); Listener.Add(v50266.HtmlObj,"onkeydown",wie0739.m24a43,v50266); Listener.Add(v50266.HtmlObj,"onclick",wie0739.m62590,v50266); Listener.Add(v50266.HtmlObj,"onmousedown",wie0739.m3be20,v50266); Listener.Add(v50266.HtmlObj,"onkeyup",wie0739.m7cc38,v50266); Listener.Add(v50266.HtmlObj,"onmouseover",wie0739.m1ad94,v50266); Listener.Add(v50266.HtmlObj,"onmouseout",wie0739.m90f34,v50266); if (IS.safari ||IS.opera) Listener.Add(v50266.HtmlObj,"onmouseup",wie0739.m4f063,v50266);  if (IS.moz ||IS.safari ||IS.opera) Listener.Add(v50266.HtmlObj,"onkeypress",wie0739.mbb179,v50266);  var v34d55 =document.getElementById(v50266.Id +"_qsi"); if (v34d55) { Listener.Add(v34d55,"onclick",wi6e868.m8099,v50266); } if (v46c30) { Listener.Add(v46c30,"onclick",wie0739.mf2a67); Listener.Add(v46c30,"ondblclick",wie0739.mf2a67); Listener.Add(v46c30,"onmousedown",wie0739.mf2a67); Listener.Add(v46c30,"onmousemove",wie0739.mf2a67); Listener.Add(v46c30,"onmouseout",wie0739.mf2a67); Listener.Add(v46c30,"onmouseover",wie0739.mf2a67); Listener.Add(v46c30,"onmouseup",wie0739.mf2a67); } }, m53678:function(v1321) { var vbb266 =document.getElementById(v1321.Id +IS.DropDownSuffix); Listener.Remove(v1321.HtmlObj,"onblur",wie0739.mc3893,v1321); Listener.Remove(v1321.HtmlObj,"onkeydown",wie0739.m24a43,v1321); Listener.Remove(v1321.HtmlObj,"onclick",wie0739.m62590,v1321); Listener.Remove(v1321.HtmlObj,"onmousedown",wie0739.m3be20,v1321); Listener.Remove(v1321.HtmlObj,"onkeyup",wie0739.m7cc38,v1321); Listener.Remove(v1321.HtmlObj,"onmouseover",wie0739.m1ad94,v1321); Listener.Remove(v1321.HtmlObj,"onmouseout",wie0739.m90f34,v1321); if (IS.safari ||IS.opera) Listener.Remove(v1321.HtmlObj,"onmouseup",wie0739.m4f063,v1321);  if (IS.moz ||IS.safari ||IS.opera) Listener.Remove(v1321.HtmlObj,"onkeypress",wie0739.mbb179,v1321);  var ve2825 =document.getElementById(v1321.Id +"_qsi"); if (ve2825) { Listener.Remove(ve2825,"onclick",wi6e868.m8099,v1321); } if (vbb266) { Listener.Remove(vbb266,"onclick",wie0739.mf2a67); Listener.Remove(vbb266,"ondblclick",wie0739.mf2a67); Listener.Remove(vbb266,"onmousedown",wie0739.mf2a67); Listener.Remove(vbb266,"onmousemove",wie0739.mf2a67); Listener.Remove(vbb266,"onmouseout",wie0739.mf2a67); Listener.Remove(vbb266,"onmouseover",wie0739.mf2a67); Listener.Remove(vbb266,"onmouseup",wie0739.mf2a67); } }, m41a69:function(vc991) { if (!vc991.IsInit) { wie0739.mca011(vc991); if (IS.IsObjExists("wi5fa76")) wi5fa76.m4ed37(vc991); if (IS.IsObjExists("wi01372")) wi01372.m3935(vc991); if (IS.IsObjExists("wi4675")) wi4675.m25230(vc991); else { if (IS.IsObjExists("wi01372")) wi01372.m45514(vc991); } if (IS.IsObjExists("wid3c66")) wid3c66.m57780(vc991); if (IS.IsObjExists("wi1ca92")) wi1ca92.m53d46(vc991); if (IS.IsObjExists("wi6e868")) wi6e868.m56999(vc991); ISEvent.AttachControlEvents(vc991.Events,vc991.HtmlObj); wie0739.me4b92(vc991); } }, mc7d62:function(v3a085) { var vb7985 =window.event; if (wie0739.m75571(v3a085,vb7985.keyCode)) { vb7985.cancelBubble =true; vb7985.returnValue =false; return true; } return false; }, m24a43:function() { var vc7785 =window.event; var v51034 =this; if (v51034 ==window &&vc7785 !=null) v51034 =ISGetObject(vc7785.srcElement.id); if (v51034 ==null) return false; if (!v51034.Enabled ||v51034.ReadOnly) { if (vc7785 !=null) { vc7785.cancelBubble =true; vc7785.returnValue =false; } return false; } if (IS.Moz) { if (v51034.EditFormat) { if (v51034.EditFormat.MaskInfo) { if (v51034.EditFormat.MaskInfo.MaskExpression !="") { var va9375 =v51034.EditFormat.MaskInfo.MaskExpression.substring(v51034.HtmlObj.selectionStart,v51034.HtmlObj.selectionEnd); var v20863 ="l;a;0;9;"; if (v20863.indexOf(va9375.toLowerCase()+";")==-1) { vc7785.cancelBubble =vc7785.returnValue =true; return false; } } } } } if (vc7785.keyCode ==9 &&!v51034.HandleTab) { vc7785.cancelBubble =vc7785.returnValue =true; var v2f326 =v51034.CalculatorEditor ? v51034.CalculatorEditor : v51034.DateTimeEditor; if (v2f326) { if (v2f326.WindowInfo.GetWindowType()=="Normal") v51034.HideEditor(); } return true; } if (vc7785.ctrlKey &&vc7785.altKey ==false &&ISKeyboardKey.GetChar()=="a") { vc7785.cancelBubble =vc7785.returnValue =true; v51034.HtmlObj.select(); return true; } if (wie0739.mc7d62(v51034)) return false; if (IS.LastAction.indexOf("Editor")>-1) { var v2f326 =eval("v51034." +v51034.EditorType); if (v2f326.WindowInfo.Popup.isOpen) { if (vc7785.keyCode ==ISKeyboardKey.ESC) v2f326.WindowInfo.Popup.hide(); else { window.event.cancelBubble =true; if (v2f326.IsActive) return false; } } else { DynamicStyleEngine.SetToStyle(v51034.Id +IS.DropDownSuffix,v51034.DropDownStyle); IS.LastAction =""; } } if (v51034.HtmlObj.isActive !=true) { DynamicStyleEngine.SetToActiveStyle(v51034.Id +IS.InnerFrameSuffix,v51034.TextBoxStyle); wie0739.m52a97(v51034); v51034.HtmlObj.isActive =true; } if (!wie0739.m72b76(v51034)) { v51034._IsRuntimeCancelEvent =true; return false; } else return true; }, mbb179:function() { var v18d32 =window.event; var v2b362 =this; if (v2b362 ==null) return false; if (IS.opera) v18d32.preventDefault(); if (!v2b362.Enabled ||v2b362.ReadOnly) { if (v18d32 !=null) { v18d32.cancelBubble =true; v18d32.returnValue =false; } return false; } if (v2b362.DynamicEditFormat) { v2b362.HtmlObj.selectionEnd =v2b362.HtmlObj.selectionStart; if (IS.ie ==false &&IS.moz ==false) v2b362.HtmlObj.SelectedSelectionEnd =v2b362.HtmlObj.selectionStart; } if (v2b362._IsRuntimeCancelEvent) { v18d32.returnValue =false; v18d32.cancelBubble =true; if (IS.ie) v2b362._IsRuntimeCancelEvent =false; else {  if (v18d32.keyCode ==191 &&v2b362._MozRepeatedKeypress ==false) v2b362._MozRepeatedKeypress =true; else { if (v2b362._MozRepeatedKeypress)v2b362._MozRepeatedKeypress =false; v2b362._IsRuntimeCancelEvent =false; }  } return false; } else { var vdfc64 =v2b362.CalculatorEditor ? v2b362.CalculatorEditor : v2b362.DateTimeEditor; if (vdfc64) { if (vdfc64.WindowInfo.Popup.isOpen) { v18d32.cancelBubble =false; v18d32.returnValue =true; v2b362._IsRuntimeCancelEvent =false; return false; } } return true; } }, m30425:function(v5b035) { return wi4675.m96929(v5b035); }, m62590:function() { var vc1735 =window.event; var v51d12 =this; if (v51d12 ==null) return false; if (!v51d12.Enabled ||v51d12.ReadOnly) { if (vc1735 !=null) { vc1735.cancelBubble =true; vc1735.returnValue =false; } return false; } if (!v51d12.IsInitialSelection) { vc1735.cancelBubble =true; vc1735.returnValue =false; v51d12.IsInitialSelection =true; return false; } else v51d12.IsSelectedAll =false; }, m3be20:function() { var v33a90 =this; if (v33a90 !=null &&(!v33a90.Enabled ||v33a90.ReadOnly)) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } if (v33a90) v33a90.IsInitialSelection =v33a90.HtmlObj.isActive; }, m83387:function(v60a26) { var v48490 =false; if (v60a26.DateTimeEditor !=null) { if (v60a26.DateTimeEditor.IsEnabled ==true) { if (v60a26.DateTimeEditor.EditValueByEditorOnly ==true) v48490 =true; } } else { if (v60a26.CalculatorEditor !=null) { if (v60a26.CalculatorEditor.IsEnabled ==true) { if (v60a26.CalculatorEditor.EditValueByEditorOnly ==true) v48490 =true; } } } return v48490; }, m65073:function(v17082) { var v96b26 =window.event; if (!v96b26) return; var vfe160; if (v17082) { if (v17082.constructor ==WebInput) vfe160 =v17082; } if (vfe160 ==null &&this.constructor ==WebInput) vfe160 =this; if (vfe160 ==null) return false; if (!vfe160.Enabled ||vfe160.ReadOnly) { if (v96b26 !=null) { v96b26.cancelBubble =true; v96b26.returnValue =false; } return false; } vfe160._OldText =vfe160.Text; vfe160._OldEditText =vfe160.EditText; vfe160._OldValue =vfe160.Value; vfe160._IsActive =true; var v70983 =vfe160.HtmlObj; vfe160._BeforeUpdatedValue =v70983.value; vfe160.IsDirty =false; if (vfe160.HtmlObj.isActive !=true) { vfe160.HtmlObj.isActive =true; DynamicStyleEngine.SetToActiveStyle(vfe160.Id +IS.InnerFrameSuffix,vfe160.TextBoxStyle); wie0739.m52a97(vfe160); DynamicStyleEngine.SetToActiveStyle(vfe160.Id +IS.DropDownSuffix,vfe160.DropDownStyle); DynamicStyleEngine.SetToActiveStyle(vfe160.Id +IS.FrameSuffix,vfe160.FrameStyle); } if (IS.LastAction.indexOf("Editor")>-1) { var v68b38 =eval("vfe160." +vfe160.EditorType); v68b38.IsActive =v68b38.WindowInfo.Popup.isOpen; return; } if (!IS.safari &&!IS.opera) wie0739.mf9012(vfe160); }, mf9012:function(v4ee92) { var vbbd65 =v4ee92.HighLight; var ve0e79 =v4ee92.HtmlObj; if (!v4ee92.IsInitialSelection) { if (IS.safari ||IS.opera) { wie0739.m10836(v4ee92); return; } if (v4ee92.InitialSelection !="None") { if (v4ee92.InitialSelection !="SelectAll") { if (ve0e79.value.length >0) { if (vbbd65) { if (vbbd65.IsEnabled) { var v1bc17; if (v4ee92.InitialSelection =="CaretAtStart") { v1bc17 =ISKeyboardKey.LEFT; vbbd65.Idx =vbbd65.HIdx =0; } else { v1bc17 =ISKeyboardKey.RIGHT; var v33861 =v4ee92.EditFormat; if (v33861) { vbbd65.Idx =v33861.MaskInfo.ValueParts[v33861.MaskInfo.ValueParts.length -1][2]; vbbd65.HIdx =v33861.MaskInfo.ValueParts.length; } else vbbd65.Idx =v4ee92.HtmlObj.value.length -1; } wi5fa76.m34841(v1bc17,v4ee92.Id,IS.safari ||IS.opera); } } else { if (v4ee92.InitialSelection !="CaretAtStart") { var v09613 =ve0e79.createTextRange(); v09613.move("textedit",1); if (v09613.detach) v09613.detach(); v09613 =null; } } } } else { if (vbbd65) { if (vbbd65.IsEnabled) { if (v4ee92.InitialSelection !="CaretAtEnd") vbbd65.Idx =vbbd65.HIdx =0; else { var v33861 =v4ee92.EditFormat; if (v33861) { vbbd65.Idx =v33861.MaskInfo.ValueParts[v33861.MaskInfo.ValueParts.length -1][2]; vbbd65.HIdx =v33861.MaskInfo.ValueParts.length; } else vbbd65.Idx =v4ee92.HtmlObj.value.length -1; } } if (vbbd65._o ==null) wi5fa76.m34841(ISKeyboardKey.UP,v4ee92.Id); } try { ve0e79.select(); } catch (ex) {} v4ee92.IsSelectedAll =true; v4ee92._IsFirstCtrlUpAfterSelectedAll =false; } } else { v4ee92.IsInitialSelection =true; } } }, m10836:function(v9be31) { var v2fd12 =v9be31.HighLight; var v2717 =v9be31.HtmlObj; var v2665 =v9be31.EditFormat; v9be31.IsSelectedAll =false; if (v2fd12 ==null) { switch (v9be31.InitialSelection) { case "None": if (window.event.type =="keyup") { v2717.selectionStart =0; v2717.selectionEnd =0; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionStart; } break; case "CaretAtStart": v2717.selectionStart =0; v2717.selectionEnd =0; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionStart; break; case "CaretAtEnd": v2717.selectionStart =v2717.value.length; v2717.selectionEnd =v2717.value.length; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionStart; break; case "SelectAll": v2717.selectionStart =0; v2717.selectionEnd =v2717.value.length; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionStart; v9be31.IsSelectedAll =true; break; } } else { switch (v9be31.InitialSelection) { case "None": if (window.event.type =="keyup") { v2717.selectionStart =0; v2717.selectionEnd =0; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =0; } break; case "CaretAtStart": if (v2665 !=null) { v2fd12.Idx =v2fd12.HIdx =0; v2717.selectionStart =v2fd12.Idx; v2717.selectionEnd =v2fd12.Idx +v2665.MaskInfo.ValueParts[0][3]; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionEnd; } else { v2fd12.Idx =v2fd12.HIdx =0; v2717.selectionStart =0; v2717.selectionEnd =0; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionEnd; } break; case "CaretAtEnd": if (v2665 !=null) { v2fd12.Idx =v2665.MaskInfo.ValueParts[v2665.MaskInfo.ValueParts.length -1][2]; v2fd12.HIdx =v2665.MaskInfo.ValueParts.length; v2717.selectionStart =v2fd12.Idx; v2717.selectionEnd =v2fd12.Idx +v2665.MaskInfo.ValueParts[v2665.MaskInfo.ValueParts.length -1][3]; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionEnd; } else { v2fd12.Idx =v9be31.HtmlObj.value.length -1; v2717.selectionStart =v2717.value.length; v2717.selectionEnd =v2717.value.length; if (IS.ie ==false &&IS.moz ==false) v2717.SelectedSelectionEnd =v2717.selectionEnd; } break; case "SelectAll": v2717.selectionStart =0; v2717.selectionEnd =v2717.value.length; v2717.SelectedSelection =v2717.selectionEnd; v9be31.IsSelectedAll =true; window.event.cancelBubble =true; break; } } }, m03e96:function(v6e967) { wie0739.mc3893(v6e967); wie0739.m2b210(v6e967); }, mc3893:function(vc3651) { var vd2867; if (vc3651) { if (vc3651.constructor ==WebInput) vd2867 =vc3651; } if (vd2867 ==null &&this.constructor ==WebInput) vd2867 =this; if (vd2867 ==null) return false; if (!vd2867.Enabled ||vd2867.ReadOnly) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } vd2867._AfterUpdatedValue =vd2867.HtmlObj.value; }, med210:function(v6f851) { v6f851.HtmlObj.isActive =v6f851.IsInitialSelection =false; DynamicStyleEngine.SetToStyle(v6f851.Id +IS.InnerFrameSuffix,v6f851.TextBoxStyle); wie0739.m52a97(v6f851); DynamicStyleEngine.SetToStyle(v6f851.Id +IS.DropDownSuffix,v6f851.DropDownStyle); DynamicStyleEngine.SetToStyle(v6f851.Id +IS.FrameSuffix,v6f851.FrameStyle); IS.LastAction =v6f851.LastAction =""; }, m2b210:function(vce887) { var vffb87; if (vce887) { if (vce887.constructor ==WebInput) vffb87 =vce887; } if (vffb87 ==null &&this.constructor ==WebInput) vffb87 =this; if (vffb87 ==null) return false; if (vffb87.Enabled ==false) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } vffb87._IsActive =false; wie0739.med210(vffb87); if (vffb87.EditFormat ==null &&vffb87.DisplayFormat ==null &&vffb87.DynamicEditFormat ==null) { vffb87.IsDirty =vffb87._BeforeUpdatedValue !=vffb87._AfterUpdatedValue; if (vffb87.IsDirty) { if (vffb87.Events !=null &&vffb87.DateTimeEditor ==null &&vffb87.CalculatorEditor ==null) { if (!ISEvent.Raise(vffb87.Events.OnBeforeValueChanged,vffb87.Id,vffb87.Value,vffb87.Text,vffb87.HtmlObj.value,vffb87.Text)) { vffb87.HtmlObj.value =vffb87._BeforeUpdatedValue; return false; } } vffb87.Text =vffb87.HtmlObj.value; vffb87.Value =vffb87.Text; if (vffb87.Events !=null &&vffb87.DateTimeEditor ==null &&vffb87.CalculatorEditor ==null) { ISEvent.Raise(vffb87.Events.OnAfterValueChanged,vffb87.Id,vffb87.Value,vffb87.Text); ISEvent.Raise(vffb87.Events.OnDirty,vffb87.Id,null); } } } if (window.event !=null &&window.event.type !="submit") vffb87.PreparePostBackData(); vffb87.DoAutoPostBack(); }, OnLastKeyDown: function() { var v3b187 =window.event; var vadf96 =ISGetObject(v3b187.srcElement.id); if (vadf96 ==null) return false; var v59858 =vadf96.HtmlObj; if (vadf96.EditFormat ==null &&vadf96.HighLight !=null) { if (ISKeyboardKey.GetChar()!="" ||ISKeyboardKey.SPACE ==v3b187.keyCode) { if (vadf96.HighLight.Type =="character" &&v59858.value.length ==(vadf96.HighLight.Idx +1)&&(v59858.value.charAt(v59858.value.length -1)!=vadf96.HighLight.PromptString ||ISKeyboardKey.SPACE ==v3b187.keyCode)) v59858.value +=vadf96.HighLight.PromptString; } } }, m7cc38:function() { var v4b142 =window.event; var va3e75 =this; if (va3e75 ==null) return false; if (!va3e75.Enabled ||va3e75.ReadOnly) { if (v4b142 !=null) { v4b142.cancelBubble =true; v4b142.returnValue =false; } return false; } if (v4b142.keyCode ==9) { v4b142.cancelBubble =v4b142.returnValue =true; if (IS.safari ||IS.opera) wie0739.mf9012(va3e75); return true; } var v13d43 =va3e75.HtmlObj; if (va3e75.EditorType !=null) { var v32877 =eval("va3e75." +va3e75.EditorType); if (v32877.WindowInfo.GetWindowType()=="Normal" &&v32877.WindowInfo.Popup.isOpen) { IS.LastAction ="Open" +va3e75.EditorType; return true; } } if (v4b142.ctrlKey) { if (v4b142.altKey ==false &&ISKeyboardKey.GetChar()=="a") { va3e75.IsSelectedAll =true; v4b142.cancelBubble =v4b142.returnValue =true; return true; } } else { if (va3e75.IsSelectedAll) { if (va3e75._IsFirstCtrlUpAfterSelectedAll) { va3e75.IsSelectedAll =false; v4b142.cancelBubble =v4b142.returnValue =true; ISEvent.LastKeyboardType =ISEvent.LastKeyCode =null; va3e75._IsFirstCtrlUpAfterSelectedAll =false; return true; } else va3e75.IsSelectedAll =va3e75._IsFirstCtrlUpAfterSelectedAll =v4b142.keyCode ==ISKeyboardKey.CTRL; } else va3e75._IsFirstCtrlUpAfterSelectedAll =false; } var vc3823; if (va3e75.EditFormat) { if (va3e75.EditFormat.Enabled) vc3823 =va3e75.EditFormat; } var v07f73; if (va3e75.HighLight) { if (va3e75.HighLight.IsEnabled) v07f73 =va3e75.HighLight; } if (v4b142.cancelBubble ==false &&ISKeyboardKey.IsLetter()&&vc3823 ==null) { if (va3e75.CharacterCasing !="Normal") { if (va3e75.CharacterCasing =="Upper") { if (v07f73 !=null &&v07f73._o !=null) v07f73._o.text =v07f73._o.text.toUpperCase(); else va3e75.SetValue(v13d43.value.toUpperCase()); } else { if (v07f73 !=null &&v07f73._o !=null) v07f73._o.text =v07f73._o.text.toLowerCase(); else va3e75.SetValue(v13d43.value.toLowerCase()); } } } if (IS.LastAction.indexOf("Editor")>-1) { var v32877 =eval("va3e75." +va3e75.EditorType); if (v32877.WindowInfo.Popup.isOpen) { if (v32877.IsActive) return true; } else IS.LastAction =""; } if (wie0739.m72b76(va3e75)) { va3e75.IsDirty =true; if (vc3823 ==null &&v07f73 !=null) { if (ISKeyboardKey.GetChar()!="" ||ISKeyboardKey.SPACE ==v4b142.keyCode) { if (v13d43.value.length ==(va3e75.HighLight.Idx +1)&&(v13d43.value.charAt(v13d43.value.length -1)!=va3e75.HighLight.PromptString ||ISKeyboardKey.SPACE ==v4b142.keyCode)) { if (v07f73.Type =="character") { v13d43.value +=va3e75.HighLight.PromptString; v07f73.Idx++; } wi5fa76.m00068(va3e75.Id); } } } if (va3e75.Events !=null) { if (va3e75.EditFormat) { if (va3e75.EditFormat._OnChangedBySpin) { va3e75.EditFormat._OnChangedBySpin =false; return true; } } if (!ISKeyboardKey.IsDirection()&&IS.LastAction.indexOf("Editor")<0) ISEvent.Raise(va3e75.Events.OnDirty,va3e75.Id,WebInputOnChangedSource.Keyboard); } return true; } else return false; }, m1ad94:function() { var v86953 =this; if (v86953 !=null &&(!v86953.Enabled ||v86953.ReadOnly)) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } if (v86953) { if (v86953.HtmlObj.isActive !=true) { DynamicStyleEngine.SetToOverStyle(v86953.Id +IS.InnerFrameSuffix,v86953.TextBoxStyle); wie0739.m52a97(v86953); DynamicStyleEngine.SetToOverStyle(v86953.Id +IS.DropDownSuffix,v86953.DropDownStyle); DynamicStyleEngine.SetToOverStyle(v86953.Id +IS.FrameSuffix,v86953.FrameStyle); } } }, m90f34:function() { var v9af53 =this; if (v9af53 !=null &&(!v9af53.Enabled ||v9af53.ReadOnly)) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } if (v9af53) { if (v9af53.HtmlObj.isActive !=true) { DynamicStyleEngine.SetToStyle(v9af53.Id +IS.InnerFrameSuffix,v9af53.TextBoxStyle); wie0739.m52a97(v9af53); DynamicStyleEngine.SetToStyle(v9af53.Id +IS.DropDownSuffix,v9af53.DropDownStyle); DynamicStyleEngine.SetToStyle(v9af53.Id +IS.FrameSuffix,v9af53.FrameStyle); } } }, m4f063:function() { var v9cb53 =this; if (v9cb53 !=null &&(!v9cb53.Enabled ||v9cb53.ReadOnly)) { if (window.event !=null) { window.event.cancelBubble =true; window.event.returnValue =false; } return false; } wie0739.mf9012(this); }, me6297:function(v33656) { var vba353 =v33656.DisplayFormat ? v33656.DisplayFormat : (v33656.EditFormat ? v33656.EditFormat : v33656.DynamicEditFormat); if (vba353) { if (v33656.DisplayFormat) wi01372.maef97(vba353); else { if (v33656.EditFormat) wi4675.m7e650(vba353); else wid3c66.m50b41(vba353); } var vb1233 =document.getElementById(vba353.xmlInputHiddenUniqueID); if (vb1233 ==null) vb1233 =document.getElementById(vba353.xmlInputHiddenUniqueID.replace(/:/g,"_")); if (vb1233) vb1233.value =escape(vba353.XmlDt.documentElement.xml); } }, mab330:function(v4c828,v09921) { v4c828._OldText =v4c828.Text; v4c828._OldValue =v4c828.Value; v4c828._OldEditText =v4c828.EditText; switch (v09921) { case "CalculatorEditor": wie0739.m38697(v4c828); break; case "DateTimeEditor": v4c828 =ISGetObject(v4c828); if (v4c828) { var v6b892 =v4c828.DateTimeEditor; var v52e52 =ISGetObject(v6b892.DateInputLink); if (v52e52 !=null) {  } wie0739.m1a174(v4c828); } break; case "TextEditor": wie0739.mb3785(v4c828); break; } }, m75571:function(v82047,v18a31) { if (v82047.EditorType ==null ||v82047.EditorType =="") return false; var vf4812 =eval("v82047." +v82047.EditorType); if (vf4812) { var v28062 =vf4812.AccessKey ==v18a31; if (!v28062) { switch (v82047.EditorType) { case "CalculatorEditor": v28062 =wi1ca92.m5d293(v18a31); break; case "DateTimeEditor": v28062 =wi6e868.mf4881(v18a31); break; } } if (v28062) { if (!vf4812.WindowInfo.Popup.isOpen) { wie0739.mab330(v82047,v82047.EditorType); } return true; } else return false; } else return false; }, m38697:function(v3d414) { var vc8567 =ISGetObject(v3d414); if (!vc8567) return; var ve2c41 =vc8567.CalculatorEditor; if (!ve2c41) return; wi1ca92.m08435(ve2c41); if (IS.ie &&ve2c41.WindowInfo.GetWindowType()=="Popup") { var v6c999 =false; if (window.parent ==window.top) v6c999 =false; else if (window.parent.parent ==window.top) v6c999 =true; else v6c999 =true; if (!v6c999) { ve2c41.WindowInfo.X =ISPosLib.getScreenLeft(vc8567.FrameObj)+ISPosLib.getWidth(vc8567.FrameObj); ve2c41.WindowInfo.Y =ISPosLib.getScreenTop(vc8567.FrameObj); WindowEngine.Show(ve2c41.WindowInfo,false); } else { ve2c41.WindowInfo.X =GetDropDownLeftPosition(vc8567.FrameObj)+vc8567.FrameObj.offsetWidth +2; ve2c41.WindowInfo.Y =GetDropDownTopPosition(vc8567.FrameObj,ve2c41.WindowInfo)+2; WindowEngine.Show(ve2c41.WindowInfo,true); } } else { var availSpaces ={ 'Bottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(vc8567.FrameObj)-20 <ve2c41.WindowInfo.Height)? false : true, 'LeftBottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(vc8567.FrameObj)-20 >=ve2c41.WindowInfo.Height)&& (ISPosLib.getLeft(vc8567.FrameObj)>=ve2c41.WindowInfo.Width)? true : false, 'RightBottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(vc8567.FrameObj)-20 >=ve2c41.WindowInfo.Height)&& (ISPosLib.getRight(document.body)-ISPosLib.getRight(vc8567.FrameObj)-20 >=ve2c41.WindowInfo.Width)? true : false, 'Top': (ISPosLib.getTop(vc8567.FrameObj)<ve2c41.WindowInfo.Height)? false : true, 'LeftTop': (ISPosLib.getTop(vc8567.FrameObj)>=ve2c41.WindowInfo.Height)&& (ISPosLib.getLeft(vc8567.FrameObj)>=ve2c41.WindowInfo.Width)? true : false, 'RightTop': (ISPosLib.getTop(vc8567.FrameObj)>=ve2c41.WindowInfo.Height)&& (ISPosLib.getRight(document.body)-ISPosLib.getRight(vc8567.FrameObj)-20 >=ve2c41.WindowInfo.Width)? true : false, 'Right': (ISPosLib.getRight(document.body)-ISPosLib.getRight(vc8567.FrameObj)-20 <ve2c41.WindowInfo.Width)? false : true, 'Left': (ISPosLib.getLeft(vc8567.FrameObj)<ve2c41.WindowInfo.Width)? false : true }; if (availSpaces[vc8567._WindowInfoOriPost]) ve2c41.WindowInfo.DisplayPosition =vc8567._WindowInfoOriPost; else { for (var i in availSpaces) { if (i !=vc8567._WindowInfoOriPost &&availSpaces[i]) { ve2c41.WindowInfo.DisplayPosition =i; break; } } } WindowEngine.Show(ve2c41.WindowInfo); } if (ve2c41.WindowInfo.Popup.isOpen) { DynamicStyleEngine.SetToActiveStyle(vc8567.Id +IS.DropDownSuffix,vc8567.DropDownStyle); ve2c41.IsActive =true; vc8567.LastAction ="OpenCalculatorEditor"; var v02d72; if (vc8567.EditFormat ==null &&vc8567.DynamicEditFormat ==null) v02d72 =parseFloat(vc8567.HtmlObj.value); else { var v3ab87 =vc8567.EditFormat ==null ? vc8567.DynamicEditFormat : vc8567.EditFormat; var v15e22 =v3ab87.ClientData; with (v15e22) { Type ="number"; Format =v3ab87.Format; OldValue =NewValue =vc8567.HtmlObj.value; PromptChar =v3ab87.MaskInfo.PromptChar; IsValid =true; } var v83641 =IS.GetValidationEngine(); v02d72 =v83641.UnMask(v15e22,vc8567.CultureInfo); } if (isNaN(v02d72)) v02d72 =""; ve2c41.Number =new String(v02d72); ve2c41.CalcStr =ve2c41.LastOperation =""; if (vc8567.HighLight) { if (ve2c41.IsCollaborateWithHighLight) { var vd8728 =vc8567.HighLight; var v44840 =parseFloat(vd8728.Text); if (isNaN(v44840)) v44840 =""; if (vd8728._o) ve2c41.HighLightPadByValue(v44840); } wi5fa76.m34841(ISKeyboardKey.UP,v3d414); } IS.LastAction ="OpenCalculatorEditor"; IS.ActiveControlId =vc8567.Id; } }, m1a174:function(vabb89) { var va4597 =ISGetObject(vabb89); if (!va4597) return; va4597.HtmlObj.setActive(); var v6d68 =va4597.DateTimeEditor; if (!v6d68) return; try { wi6e868.m51375(v6d68); } catch (ex) { if (IS.opera) { window.setTimeout(function(){wie0739.m1a174(vabb89); },50); return; } } wi6e868.m46876(va4597); if (IS.ie &&v6d68.WindowInfo.GetWindowType()=="Popup") { var v4f836 =false; if (window.parent ==window.top) v4f836 =false; else if (window.parent.parent ==window.top) v4f836 =true; else v4f836 =true; if (!v4f836) { v6d68.WindowInfo.X =ISPosLib.getScreenLeft(va4597.FrameObj)+ISPosLib.getWidth(va4597.FrameObj); v6d68.WindowInfo.Y =ISPosLib.getScreenTop(va4597.FrameObj); WindowEngine.Show(v6d68.WindowInfo,false); } else { v6d68.WindowInfo.X =GetDropDownLeftPosition(va4597.FrameObj)+va4597.FrameObj.offsetWidth +2; v6d68.WindowInfo.Y =GetDropDownTopPosition(va4597.FrameObj,v6d68.WindowInfo)+2; WindowEngine.Show(v6d68.WindowInfo,true); } } else { var availSpaces ={ 'Bottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(va4597.FrameObj)-20 <v6d68.WindowInfo.Height)? false : true, 'LeftBottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(va4597.FrameObj)-20 >=v6d68.WindowInfo.Height)&& (ISPosLib.getLeft(va4597.FrameObj)>=v6d68.WindowInfo.Width)? true : false, 'RightBottom': (ISPosLib.getBottom(document.body)-ISPosLib.getBottom(va4597.FrameObj)-20 >=v6d68.WindowInfo.Height)&& (ISPosLib.getRight(document.body)-ISPosLib.getRight(va4597.FrameObj)-20 >=v6d68.WindowInfo.Width)? true : false, 'Top': (ISPosLib.getTop(va4597.FrameObj)<v6d68.WindowInfo.Height)? false : true, 'LeftTop': (ISPosLib.getTop(va4597.FrameObj)>=v6d68.WindowInfo.Height)&& (ISPosLib.getLeft(va4597.FrameObj)>=v6d68.WindowInfo.Width)? true : false, 'RightTop': (ISPosLib.getTop(va4597.FrameObj)>=v6d68.WindowInfo.Height)&& (ISPosLib.getRight(document.body)-ISPosLib.getRight(va4597.FrameObj)-20 >=v6d68.WindowInfo.Width)? true : false, 'Right': (ISPosLib.getRight(document.body)-ISPosLib.getRight(va4597.FrameObj)-20 <v6d68.WindowInfo.Width)? false : true, 'Left': (ISPosLib.getLeft(va4597.FrameObj)<v6d68.WindowInfo.Width)? false : true }; if (availSpaces[va4597._WindowInfoOriPost]) v6d68.WindowInfo.DisplayPosition =va4597._WindowInfoOriPost; else { for (var i in availSpaces) { if (i !=va4597._WindowInfoOriPost &&availSpaces[i]) { v6d68.WindowInfo.DisplayPosition =i; break; } } } WindowEngine.Show(v6d68.WindowInfo); } if (v6d68.WindowInfo.Popup.isOpen) { DynamicStyleEngine.SetToActiveStyle(va4597.Id +IS.DropDownSuffix,va4597.DropDownStyle); v6d68.IsActive =true; if (v6d68.IsCollaborateWithHighLight &&va4597.HighLight) wi5fa76.m00068(va4597); IS.LastAction ="OpenDateTimeEditor"; IS.ActiveControlId =va4597.Id; } }, mb3785:function() { }, mcb117:function(vb283,v73c59,v69926) { var vf3889 =vb283.DisplayFormat; var vd2c57 =vb283.EditFormat !=null ? vb283.EditFormat : vb283.DynamicEditFormat; var ve9d40 =false; var v8dd84 =vb283.HtmlObj; var v19275 =vb283.Text; var v8db51 =vb283.Value; var v85d65 =vb283.EditText; if (vf3889 ==null &&vd2c57 ==null) { if (v73c59 !=null) { v73c59 =v73c59.toString(); if (vb283.NumericInput) { if (v73c59.match(/^[0-9\.]*$/g)!=null) { vb283.Text =v8dd84.value =v73c59; vb283.Value =parseFloat(v73c59); } } else { switch (vb283.CharacterCasing) { case "Normal": vb283.Value =vb283.Text =v8dd84.value =v73c59; break; case "Upper": vb283.Value =vb283.Text =v8dd84.value =v73c59.toUpperCase(); break; case "Lower": vb283.Value =vb283.Text =v8dd84.value =v73c59.toLowerCase(); break; } } ve9d40 =true; } } else { if (vd2c57 !=null) { if (v73c59 ==vb283.EditText) { if (v69926 ==true) v8dd84.value =vb283.EditText; return true; } if (vb283.EditFormat !=null) ve9d40 =wi4675.mb8c42(vb283,v73c59,false,true); else ve9d40 =wid3c66.mae695(vb283,v73c59.toString()); } if (vf3889 !=null) { if (vd2c57 ==null &&v73c59 ==vb283.Value) { if (v69926 ==true) v8dd84.value =vb283.Value; return true; } ve9d40 =wi01372.m8ac30(document.getElementById(vb283.Id +IS.FormatValidatorSuffix),v73c59); if (ve9d40) { if (typeof (v73c59)=="number" ||(typeof (v73c59)=="object" &&v73c59.constructor ==Date)) v73c59 =vb283.DisplayFormat.ClientData.FormattedValue; ve9d40 =wi01372.mae357(vb283,v73c59,true); } } } vb283.DateTimeValue =""; if (vb283.Value !="" &&vb283.Value !=null &&vb283.DateTimeEditor !=null) { var v73c59 =(vf3889 !=null &&vf3889 !=undefined)? vf3889 : ((vd2c57 !=null &&vd2c57 !=undefined)? vd2c57 : null); var vadb65 =v73c59 !=null ? v73c59.ClientData : null; if (v73c59 !=null &&vadb65.DateData !=null) { var v4dc31 =vadb65.DateData;  vb283.DateTimeValue =wie0739.mee15(vb283.DateTimeValue,v73c59.Format,v4dc31,vb283.DateTimeFormatting); } } vb283._OriginalText =""; vb283._OriginalValue =""; vb283._BeforeUpdatedValue =""; vb283._AfterUpdatedValue =""; if (ve9d40) { vb283._OldText =v19275; vb283._OldValue =v8db51; vb283._OldEditText =v85d65; if (v69926 ==true) v8dd84.value =v73c59; vb283.DoAutoPostBack(); } return ve9d40; }, m6b486:function(vc3a33,v77132,vf3163) { var ve8b58 =vc3a33.HtmlObj; var va4e44; if (IS.ie) va4e44 =document.selection.createRange(); else { va4e44 =ve8b58.createTextRange(); } if (IS.safari ||IS.opera) { va4e44.tempObj =ve8b58; if (vc3a33.HighLight !=null) va4e44.tempObj.IsSelected =vc3a33.HighLight.IsSelected; } va4e44.moveEnd("character",ve8b58.value.length); var va4611 =IS.opera ==false ? ve8b58.value.lastIndexOf(va4e44.text): (typeof (ve8b58.SelectedSelectionEnd)!="undefined" ? ve8b58.SelectedSelectionEnd : ve8b58.selectionEnd); if (va4611 ==-1) { if (va4e44.text.charAt(va4e44.text.length -1)==" " ||va4e44.text.charAt(va4e44.text.length -1)=="[") { var v92b76 =va4e44.text.replace(/[\n\r]/g,""); va4611 =ve8b58.value.lastIndexOf(v92b76.substr(0,v92b76.lastIndexOf(" ")-1)); } } if (va4e44.text =="") va4611 =ve8b58.value.length; else { if (ve8b58.value.length >v77132.length) va4611--; else { if (ve8b58.value.length <v77132.length) va4611++; } } ve8b58.value =v77132; try { va4e44 =ve8b58.createTextRange(); va4e44.move("textedit",-1); va4e44.move("character",va4611); if (vf3163 !=true) va4e44.select(); if (va4e44.detach) va4e44.detach(); va4e44 =null; } catch (ex) {} }, me4a24:function(v3e888,vc4412) { var v6c75 =v3e888.HighLight; if (v6c75) { if (v6c75._o) { var v79171 =v3e888.HtmlObj.value.toString(); vc4412 =vc4412.toString(); v3e888.HtmlObj.value =v79171.substring(0,v6c75.Idx)+vc4412 +v79171.substring(v6c75.Idx +vc4412.length); v3e888.HtmlObj.setActive(); wi5fa76.m34841(ISKeyboardKey.UP,v3e888.Id); } } }, m72b76:function(v66a44) { var v5358 =window.event; var v79f21 =true; if (v79f21) { if (v5358.keyCode !=ISKeyboardKey.DELETE &&v5358.keyCode !=ISKeyboardKey.BACKSPACE) { if (ISKeyboardKey.ENTER ==v5358.keyCode &&!v66a44.AcceptEnter) v79f21 =false; else { if (ISKeyboardKey.ESC ==v5358.keyCode &&!v66a44.AcceptEsc) v79f21 =false; else { if (v66a44.NumericInput &&!ISKeyboardKey.IsNumber()&&!ISKeyboardKey.IsDirection()&&ISKeyboardKey.ENTER !=v5358.keyCode &&ISKeyboardKey.ESC !=v5358.keyCode &&ISKeyboardKey.GetChar()!=".") v79f21 =false; else { if (v66a44.CaseSensitive) { if (ISKeyboardKey.IsLetter()&&!window.event.shiftKey) v79f21 =false; } } } } } } if (!v79f21) { window.event.returnValue =false; window.event.cancelBubble =true; } return v79f21; }, mf2a67:function() { var v4b380 =window.event; var v5d060 =v4b380.srcElement; while (v5d060 !=null &&v5d060.tagName !="TD") { v5d060 =v5d060.parentElement; } if (v5d060 ==null) return; var v80352 =v5d060.id.replace(IS.DropDownSuffix,""); var v66488 =ISGetObject(v80352); if (v66488 !=null &&(!v66488.Enabled ||v66488.ReadOnly)) { if (v4b380 !=null) { v4b380.cancelBubble =true; v4b380.returnValue =false; } return false; } if (v66488 !=null) { if (v66488.HtmlObj.disabled) return; evtN =ISEvent.GetName(); var v2ef6 =v66488.Events; if (v2ef6 !=null) { if (v2ef6.DropDownButtonEditorEvents !=null) if (!ISEvent.Raise(eval("v2ef6.DropDownButtonEditorEvents." +evtN),v80352)) return false; } switch (evtN) { case "OnClick": var vfba23 =true; var v22167 =true; if (v66488.DateTimeEditor) { var vd6673 =ISGetObject(v66488.DateTimeEditor.DateInputLink); var v9765 =ISGetObject(v66488.DateTimeEditor.ParentDateInput); if (vd6673 !=null &&vd6673.DateTimeValue !="" &&vd6673.DateTimeValue !=null) { var v1ad59 =vd6673.EditFormat.ClientData.DateData; var v2a861 =new Date(v1ad59.Year,v1ad59.Month,v1ad59.Day); vfba23 =vd6673.IsDateInRange(v2a861); } if (v9765 !=null &&v9765.DateTimeValue !="" &&v9765.DateTimeValue !=null) { var v4ce10 =v9765.EditFormat.ClientData.DateData; var v67113 =new Date(v4ce10.Year,v4ce10.Month,v4ce10.Day); vfba23 =v9765.IsDateInRange(v67113); } if (v66488.DateTimeValue !="" &&v66488.DateTimeValue !=null) { var vdf643 =v66488.EditFormat.ClientData.DateData; var vd0558 =new Date(vdf643.Year,vdf643.Month,vdf643.Day); v22167 =v66488.IsDateInRange(vd0558); } } if (v22167 &&vfba23) { wie0739.mab330(v66488,(v66488.CalculatorEditor !=null ? "CalculatorEditor" : "DateTimeEditor")); v4b380.cancelBubble =true; } break;  case "OnMouseOver": if (v66488.HtmlObj.isActive !=true) { DynamicStyleEngine.SetToOverStyle(v66488.Id +IS.InnerFrameSuffix,v66488.TextBoxStyle); wie0739.m52a97(v66488); DynamicStyleEngine.SetToOverStyle(v66488.Id +IS.DropDownSuffix,v66488.DropDownStyle); DynamicStyleEngine.SetToOverStyle(v66488.Id +IS.FrameSuffix,v66488.FrameStyle); } else { if (!v66488.UseDefaultStyle) { if (v5d060.currentStyle.backgroundImage !="none") DynamicStyleEngine.SetToOverStyle(v66488.Id +IS.DropDownSuffix,v66488.DropDownStyle); } } break; case "OnMouseOut": if (v66488.HtmlObj.isActive !=true) { DynamicStyleEngine.SetToStyle(v66488.Id +IS.InnerFrameSuffix,v66488.TextBoxStyle); wie0739.m52a97(v66488); DynamicStyleEngine.SetToStyle(v66488.Id +IS.DropDownSuffix,v66488.DropDownStyle); DynamicStyleEngine.SetToStyle(v66488.Id +IS.FrameSuffix,v66488.FrameStyle); } else { if (v66488.UseDefaultStyle) {  } else { if (v5d060.currentStyle.backgroundImage !="none") DynamicStyleEngine.SetToStyle(v66488.Id +IS.DropDownSuffix,v66488.DropDownStyle); } } break; } } }};var WIOnKeyDown_v1 =wie0739.m24a43; function GetDropDownLeftPosition(vd0c7){ var v4d17 =0; if (vd0c7.offsetParent){ var vbef30 =""; while (vd0c7.offsetParent){ v4d17 +=vd0c7.offsetLeft +vd0c7.scrollLeft; vd0c7 =vd0c7.offsetParent; } } else if (vd0c7.x) v4d17 +=vd0c7.x; if (vd0c7.tagName =="BODY") v4d17 +=parseFloat(vd0c7.leftMargin); if (vd0c7.document !=null &&vd0c7.document.parentWindow !=null &&vd0c7.document.parentWindow.frameElement !=null) v4d17 +=GetDropDownLeftPosition(vd0c7.document.parentWindow.frameElement); else v4d17 +=vd0c7.ownerDocument.parentWindow.screenLeft; return v4d17;};function GetDropDownTopPosition(v41043,v80899){ var v4c643 =0; if (v41043.offsetParent){ var va0b99 =""; while (v41043.offsetParent){ v4c643 +=v41043.offsetTop +v41043.scrollTop; v41043 =v41043.offsetParent; } } else if (v41043.x) v4c643 +=v41043.x; if (v41043.tagName =="BODY") v4c643 +=parseFloat(v41043.topMargin); if (v41043.document !=null &&v41043.document.parentWindow !=null &&v41043.document.parentWindow.frameElement !=null) v4c643 +=GetDropDownTopPosition(v41043.document.parentWindow.frameElement); else v4c643 +=v41043.ownerDocument.parentWindow.screenTop; return v4c643;};function WebInputDestructor(){ var vf5243 =delete wie0739;};window.attachEvent("onunload",WebInputDestructor);if (typeof (Sys)!="undefined") Sys.Application.notifyScriptLoaded();