Type.registerNamespace("Telerik.Web.UI");
Type.registerNamespace("Telerik.Web.UI.NumberFormat");
NumberFormat=Telerik.Web.UI.NumberFormat=function(){};
NumberFormat=Telerik.Web.UI.NumberFormat.Round=function(n,a){if(!a.get_numberFormat().AllowRounding){var k=a.get_numberFormat().DecimalDigits;
if(k==0&&n.toString().indexOf(".")!=-1){return n.toString().substr(0,n.toString().indexOf(".")+1);
}else{if(k>0&&n.toString().indexOf(".")!=-1){var c=n.toString().split(".");
if(c[1].length>k){return parseFloat(c[0]+"."+c[1].substr(0,k));
}else{return n;
}}else{return n;
}}}if(n.toString().indexOf("e")>-1){var j=Math.pow(10,a.get_numberFormat().DecimalDigits);
return Math.round(n*j)/j;
}else{if(n.toString().indexOf(".")>-1){var c=n.toString().split(".");
var p=Math.abs(parseInt(c[0]));
var d=parseFloat("0."+c[1]);
var l=Math.min(c[1].length,16);
var h=c[0].charAt(0)=="-"?-1:1;
if(c[1].length<=a.get_numberFormat().DecimalDigits){return n;
}var b=d*Math.pow(10,l);
if(b.toString().indexOf(".")>-1){b=+b.toString().split(".")[0];
}if(b.toString().length>a.get_numberFormat().DecimalDigits+1){var o=0;
var m=c[1];
while(m.indexOf("0")==0){o++;
m=m.substr(1);
}b=parseInt(b.toString().substr(0,a.get_numberFormat().DecimalDigits+1));
l=b.toString().length+o;
}for(var f=1;
f<=l;
f++){if(f<=l-a.get_numberFormat().DecimalDigits){b=Math.round(b/10);
}else{b/=10;
}}if(b.toString().indexOf(".")>-1){var e=b.toString().split(".")[1].length;
if(e>a.get_numberFormat().DecimalDigits){var j=Math.pow(10,a.get_numberFormat().DecimalDigits);
b=Math.round(b*j)/j;
}}var g=h*(p+b);
if(a.get_numberFormat().DecimalDigits>0&&g.toString().indexOf(".")!=-1&&g.toString().split(".")[1].length>a.get_numberFormat().DecimalDigits){return h*(parseFloat(p+"."+b.toString().substr(2)));
}else{return g;
}}else{return n;
}}};
NumberFormat=Telerik.Web.UI.NumberFormat.SplitGroups=function(b,c,d){var a=b.toString().split("");
if(c>0){for(var e=a.length-c;
e>0;
e-=c){a.splice(e,0,d);
}}return a.join("");
};
NumberFormat=Telerik.Web.UI.NumberFormat.Parse=function(b,d,c,a){return parseFloat(b.toString().replace(d,"").replace(c,".").replace(a,"-"));
};
NumberFormat=Telerik.Web.UI.NumberFormat.ParseExact=function(k,a,j,q,f,p,b,g){if(!k){return"";
}var n=null;
var e=null;
var c=Telerik.Web.UI.NumberFormat.ReplaceN(j,"",b,g).replace(a,"");
var m=Telerik.Web.UI.NumberFormat.ReplaceN(q,"",b,g).replace(a,"");
e=k.toString().replace(a,"");
if(e==c){n=true;
}else{if(e==m){n=false;
}else{return"";
}}var h=Telerik.Web.UI.NumberFormat.ReplaceN(j,"1",b,g).split("1");
var l=Telerik.Web.UI.NumberFormat.ReplaceN(q,"1",b,g).split("1");
var o;
for(o in h){k=k.toString().replace(h[o],"");
}for(o in l){k=k.toString().replace(l[o],"");
}var d=Telerik.Web.UI.NumberFormat.Parse(k,f,p,b);
if(n&&!isNaN(d)){d=d*(-1);
}return d;
};
NumberFormat=Telerik.Web.UI.NumberFormat.Pad=function(c,b,a){while(c.toString().length<b){c=c.toString()+a.toString();
}return c;
};
NumberFormat=Telerik.Web.UI.NumberFormat.Format=function(d,a){var b=parseFloat(d.toString().replace(a.get_numberFormat().DecimalSeparator,"."));
if(isNaN(b)){return"";
}var f="";
b=this.Round(b,a);
var e=Math.abs(b).toString().split(".");
f+=this.SplitGroups(e[0],a.get_numberFormat().GroupSizes,a.get_numberFormat().GroupSeparator);
if((!a.get_numberFormat().AllowRounding)&&(e[1])){f+=a.get_numberFormat().DecimalSeparator+e[1];
}else{if(!a.get_numberFormat().AllowRounding){f=f;
}else{if(e[1]){f+=a.get_numberFormat().DecimalSeparator+this.Pad(e[1],a.get_numberFormat().DecimalDigits,"0");
}else{if(a.get_numberFormat().DecimalDigits>0){f+=a.get_numberFormat().DecimalSeparator+this.Pad("",a.get_numberFormat().DecimalDigits,"0");
}}}}var c=b<0?a.get_numberFormat().NegativePattern:a.get_numberFormat().PositivePattern;
return Telerik.Web.UI.NumberFormat.ReplaceN(c,f.toString(),a.get_numberFormat().NegativeSign,a.get_numberFormat().NumericPlaceHolder);
};
NumberFormat=Telerik.Web.UI.NumberFormat.ReplaceN=function(f,d,a,b){var g=a+b;
var h=b+a;
var e=0;
var c=(-1);
if(f.indexOf(g)!=(-1)){c=f.indexOf(g);
e=1;
}else{if(f.indexOf(h)!=(-1)){c=f.indexOf(h);
e=0;
}else{c=f.indexOf(b+" ");
e=0;
if((c==(-1))||((c>0)&&f[c-1]!=(a))){c=f.indexOf(" "+b);
e=1;
if((c==(-1))||(c!=(f.Length-2))){c=f.indexOf(" "+b+" ");
e=1;
}}if((c==(-1))){c=f.indexOf(b);
e=0;
}}}f=f.substring(0,c+e)+d+f.substring(c+e+1,f.length);
return f;
};
NumberFormat=Telerik.Web.UI.NumberFormat.ReturnZeroIfEmpty=function(a){if((a==null)||(a=="")||isNaN(a)){return 0;
}return a;
};
Type.registerNamespace("Telerik.Web.UI");
$telerik.findNumericTextBox=$find;
$telerik.toNumericTextBox=function(a){return a;
};
Telerik.Web.UI.RadNumericTextBox=function(a){Telerik.Web.UI.RadNumericTextBox.initializeBase(this,[a]);
this._showSpinButtons=false;
this._maxValue=70368744177664;
this._minValue=-70368744177664;
this._numberFormat=null;
this._originalValue="";
this._incrementSettings=null;
this._holdsValidNumericValue=true;
this._allowOutOfRangeAutoCorrect=true;
this._isIncrementing=false;
this._hold=false;
this._selectionOnFocus=Telerik.Web.UI.SelectionOnFocus.SelectAll;
this._onButtonUpMouseDownDelegate=null;
this._onButtonDownMouseDownDelegate=null;
this._onButtonUpMouseUpDelegate=null;
this._onButtonDownMouseUpDelegate=null;
this._onSpinMouseOutDelegate=null;
this._onSpinMouseClickDelegate=null;
this._onFormResetDelegate=null;
};
Telerik.Web.UI.RadNumericTextBox.prototype={initialize:function(){Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"initialize");
this._compileRegEx();
if(this._textBoxElement&&this._textBoxElement.form){this._onFormResetDelegate=Function.createDelegate(this,this._onFormResetHandler);
$addHandler(this._textBoxElement.form,"reset",this._onFormResetDelegate);
}if((this._initialValue!="")&&(!this.get_numberFormat().KeepNotRoundedValue)){this._hiddenElement.value=Telerik.Web.UI.NumberFormat.Round(this._initialValue,this);
}else{if((this._initialValue!="")&&(this.get_numberFormat().KeepNotRoundedValue)){this._hiddenElement.value=this._initialValue;
}}},dispose:function(){if(this.SpinUpButton){if(this._onButtonUpMouseDownDelegate){$removeHandler(this.SpinUpButton,"mousedown",this._onButtonUpMouseDownDelegate);
this._onButtonUpMouseDownDelegate=null;
}if(this._onButtonUpMouseUpDelegate){$removeHandler(this.SpinUpButton,"mouseup",this._onButtonUpMouseUpDelegate);
this._onButtonUpMouseUpDelegate=null;
}if(this._onSpinMouseOutDelegate){$removeHandler(this.SpinUpButton,"mouseout",this._onSpinMouseOutDelegate);
this._onSpinMouseOutDelegate=null;
}if(this._onSpinMouseClickDelegate){$removeHandler(this.SpinUpButton,"click",this._onSpinMouseClickDelegate);
}}if(this.SpinDownButton){if(this._onButtonDownMouseDownDelegate){$removeHandler(this.SpinDownButton,"mousedown",this._onButtonDownMouseDownDelegate);
this._onButtonDownMouseDownDelegate=null;
}if(this._onButtonDownMouseUpDelegate){$removeHandler(this.SpinDownButton,"mouseup",this._onButtonDownMouseUpDelegate);
this._onButtonDownMouseUpDelegate=null;
}if(this._onSpinMouseOutDelegate){$removeHandler(this.SpinDownButton,"mouseout",this._onSpinMouseOutDelegate);
this._onSpinMouseOutDelegate=null;
}if(this._onSpinMouseClickDelegate){$removeHandler(this.SpinDownButton,"click",this._onSpinMouseClickDelegate);
}}this._onSpinMouseClickDelegate=null;
if(this._onFormResetDelegate){if(this._textBoxElement.form){$removeHandler(this._textBoxElement.form,"reset",this._onFormResetDelegate);
}this._onFormResetDelegate=null;
}Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"dispose");
},isNegative:function(){return this.get_value()<0;
},get_value:function(){var a=parseFloat(this._hiddenElement.value);
if(isNaN(a)){a="";
}return a;
},set_value:function(b){this._holdsValidNumericValue=true;
if(typeof(b)=="string"&&b!=""){b=Telerik.Web.UI.NumberFormat.Parse(b,this._rejectRegExp,this.get_numberFormat().DecimalSeparator,this.get_numberFormat().NegativeSign);
}if(typeof(b)=="number"&&(b<this.get_minValue()||b>this.get_maxValue())){var a=new Telerik.Web.UI.InputErrorEventArgs(Telerik.Web.UI.InputErrorReason.OutOfRange,b,null,null);
this.raise_error(a);
}if(!this.get_allowOutOfRangeAutoCorrect()&&!this._isIncrementing){this.set_textBoxValue(b);
}Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"set_value",[b]);
},get_displayValue:function(){return Telerik.Web.UI.NumberFormat.Format(this._getParsedTextBoxValue(),this);
},get_editValue:function(){var c=this.get_value();
if(this.get_numberFormat().KeepTrailingZerosOnFocus&&typeof(c)=="number"){var a=c.toString();
if(a.indexOf(".")==-1){c=c.toFixed(this.get_numberFormat().DecimalDigits);
}else{if(a.substr(a.indexOf(".")+1).length<this.get_numberFormat().DecimalDigits){c=c.toFixed(this.get_numberFormat().DecimalDigits);
}}}var b=c.toString().replace(".",this.get_numberFormat().DecimalSeparator);
return b.replace("-",this.get_numberFormat().NegativeSign);
},get_showSpinButtons:function(){return this._showSpinButtons;
},set_showSpinButtons:function(a){if(this._showSpinButtons!==a){this._showSpinButtons=a;
this.raisePropertyChanged("ShowSpinButtons");
}},get_maxValue:function(){return this._maxValue;
},set_maxValue:function(a){if(this._maxValue!==a){this._maxValue=a;
this.updateClientState();
this.raisePropertyChanged("maxValue");
}},get_minValue:function(){return this._minValue;
},set_minValue:function(a){if(this._minValue!==a){this._minValue=a;
this.updateClientState();
this.raisePropertyChanged("minValue");
}},get_numberFormat:function(){return this._numberFormat;
},set_numberFormat:function(a){this._numberFormat=a;
},get_incrementSettings:function(){return this._incrementSettings;
},set_incrementSettings:function(a){if(this._incrementSettings!==a){this._incrementSettings=a;
this.raisePropertyChanged("IncrementSettings");
}},get_allowOutOfRangeAutoCorrect:function(){return this._allowOutOfRangeAutoCorrect;
},set_allowOutOfRangeAutoCorrect:function(a){this._allowOutOfRangeAutoCorrect=a;
},saveClientState:function(){var a=["minValue","maxValue"];
return Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"saveClientState",[a]);
},_getParsedTextBoxValue:function(){var a=Telerik.Web.UI.NumberFormat.Parse(this.get_textBoxValue(),this._rejectRegExp,this.get_numberFormat().DecimalSeparator,this.get_numberFormat().NegativeSign);
a=Math.max(this.get_minValue(),a);
a=Math.min(this.get_maxValue(),a);
return a;
},_compileRegEx:function(){var a=this.get_numberFormat().DecimalSeparator=="."?"\\.":this.get_numberFormat().DecimalSeparator;
this._acceptRegExp=new RegExp("[0-9"+a+this.get_numberFormat().NegativeSign+"]{1}");
this._rejectRegExp=new RegExp("[^0-9"+a+this.get_numberFormat().NegativeSign+"]{1}","g");
this._decimalReplaceRegExp=new RegExp(a,"g");
},_onFormResetHandler:function(a){if(this._originalValue==null){this._originalValue="";
}this._setHiddenValue(Telerik.Web.UI.NumberFormat.Round(this._originalValue,this));
this.updateDisplayValue();
},_onTextBoxKeyDownHandler:function(a){if(!this.get_incrementSettings().InterceptArrowKeys){return;
}if(a.altKey||a.ctrlKey){return true;
}if(a.keyCode==38){this._move(this.get_incrementSettings().Step,false);
}else{if(a.keyCode==40){this._move(-this.get_incrementSettings().Step,false);
}else{if(a.keyCode==110&&this.get_numberFormat().DecimalSeparator!=this.get_numberFormat().CultureNativeDecimalSeparator){this._numPadDecimalSeparatorPressed=true;
a.preventDefault();
a.stopPropagation();
this._triggerDecimalSeparatorPressedEvent(this._textBoxElement);
}}}},_triggerDecimalSeparatorPressedEvent:function(a){this._fakeKeyPressEventTriggered=true;
var c=this.get_numberFormat().DecimalSeparator.charCodeAt(0);
if(a.fireEvent&&document.createEventObject){var b=document.createEventObject();
b.keyCode=c;
a.fireEvent("onkeypress",b);
}else{if(a.dispatchEvent){var b=document.createEvent("KeyboardEvent");
b.initKeyEvent("keypress",true,true,null,false,false,false,false,0,c);
a.dispatchEvent(b);
}}},_handleWheel:function(a){if(!this.get_incrementSettings().InterceptMouseWheel){return;
}this._calculateSelection();
if(a){this._move(-this.get_incrementSettings().Step,false);
}else{this._move(this.get_incrementSettings().Step,false);
}this._applySelection();
},_onTextBoxKeyPressHandler:function(c){var a=String.fromCharCode(c.charCode);
if(c.charCode==46&&this._numPadDecimalSeparatorPressed&&a!=this.get_numberFormat().DecimalSeparator){c.preventDefault();
c.stopPropagation();
return;
}if(c.altKey||c.ctrlKey){return true;
}var j=new Telerik.Web.UI.InputKeyPressEventArgs(c,c.charCode,String.fromCharCode(c.charCode));
this.raise_keyPress(j);
var m=c.charCode||c.keyCode;
var i=this._textBoxElement&&(this._textBoxElement.className.indexOf("rgPagerTextBox")>-1)&&m==9&&$telerik.isFirefox;
if(j.get_cancel()){if(!i){c.stopPropagation();
c.preventDefault();
return false;
}}if(c.charCode==13){var o=this.get_textBoxValue();
var h=this.get_autoPostBack();
this.set_autoPostBack(false);
if(this._initialValue.toString()!==o.toString()){this.set_value(o);
}else{this.updateDisplayValue();
this.updateCssClass();
}this.set_autoPostBack(h);
if(this.get_autoPostBack()&&this._initialValue.toString()==o.toString()){this._isEnterPressed=true;
this.raisePostBackEvent();
}return true;
}if(!c.charCode||c.charCode==8||c.charCode==9||c.charCode==27){return true;
}var n=this.get_textBoxValue();
if(!this._isNormalChar(c)){return true;
}if(!a.match(this._acceptRegExp)){var g=$telerik.isOpera&&(c.charCode==35||c.charCode==36);
if(!g){var j=new Telerik.Web.UI.InputErrorEventArgs(Telerik.Web.UI.InputErrorReason.ParseError,n,c.charCode,a);
this.raise_error(j);
c.stopPropagation();
c.preventDefault();
return false;
}}var d=false;
if(a==this.get_numberFormat().NegativeSign){this._calculateSelection();
var d=(this._selectionStart!=0);
d=d||(n.indexOf(this.get_numberFormat().NegativeSign)==0&&(this._selectionStart==0&&this._selectionEnd==0));
}else{if(!isNaN(parseInt(a,10))&&n.indexOf(this.get_numberFormat().NegativeSign)!=-1&&this.get_caretPosition()==0){d=true;
}}if(d){var j=new Telerik.Web.UI.InputErrorEventArgs(Telerik.Web.UI.InputErrorReason.ParseError,n,c.charCode,a);
this.raise_error(j);
c.stopPropagation();
c.preventDefault();
return false;
}if(a==this.get_numberFormat().DecimalSeparator){this._calculateSelection();
var f=n.substr(0,this._selectionStart);
var b=n.substr(this._selectionStart,this._selectionEnd-this._selectionStart);
var k=n.substr(this._selectionEnd,n.length-1);
if(f.match(this._decimalReplaceRegExp)){this._selectionStart--;
this._selectionEnd--;
}else{if(b.match(this._decimalReplaceRegExp)){this._selectionEnd--;
}}n=n.replace(this._decimalReplaceRegExp,"");
if(b.length==n.length){this.set_textBoxValue("");
}else{if(f.indexOf(this.get_numberFormat().DecimalSeparator)!=-1||k.indexOf(this.get_numberFormat().DecimalSeparator)!=-1){this.set_textBoxValue(f.replace(this._decimalReplaceRegExp,"")+this.get_numberFormat().DecimalSeparator+k.replace(this._decimalReplaceRegExp,""));
c.preventDefault();
this.set_caretPosition(f.length+1);
}}if(this._fakeKeyPressEventTriggered){this._fakeKeyPressEventTriggered=false;
if(Sys.Browser.agent==Sys.Browser.InternetExplorer){var l=document.selection.createRange();
if(l.parentElement()==this._textBoxElement){l.text=a;
}}}}},_moveUp:function(){return this._move(this.get_incrementSettings().Step,true);
},_moveDown:function(){return this._move(-this.get_incrementSettings().Step,true);
},_move:function(a,b){if(this.isReadOnly()){return false;
}var c=this.get_value();
if(!c){c=0;
}c=c+a;
if(this._originalMaxLength>0&&c.toString().length>this._originalMaxLength){return false;
}this._isIncrementing=true;
if(!b){this._SetValue(c);
}else{this.set_value(c);
}this._isIncrementing=false;
return true;
},_initializeAriaSupport:function(){Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"_initializeAriaSupport");
this._hiddenElement.setAttribute("aria-hidden","true");
if(this.SpinUpButton){this.SpinUpButton.setAttribute("role","button");
this.SpinUpButton.setAttribute("aria-label","Spin up");
}if(this.SpinDownButton){this.SpinDownButton.setAttribute("role","button");
this.SpinDownButton.setAttribute("aria-label","Spin down");
}},_initializeButtons:function(){this._onButtonUpMouseDownDelegate=Function.createDelegate(this,this._onButtonUpMouseDownHandler);
this._onButtonDownMouseDownDelegate=Function.createDelegate(this,this._onButtonDownMouseDownHandler);
this._onButtonUpMouseUpDelegate=Function.createDelegate(this,this._onButtonUpMouseUpHandler);
this._onButtonDownMouseUpDelegate=Function.createDelegate(this,this._onButtonDownMouseUpHandler);
this._onSpinMouseOutDelegate=Function.createDelegate(this,this._onSpinMouseOutHandler);
this._onSpinMouseClickDelegate=Function.createDelegate(this,this._onSpinMouseClickHandler);
this.SpinUpButton=null;
this.SpinDownButton=null;
this.Button=null;
var a=$get(this._wrapperElementID);
var b=a.getElementsByTagName("a");
var c;
for(c=0;
c<b.length;
c++){if(b[c].className.indexOf("riDown")!=(-1)){this.SpinDownButton=b[c];
}else{if(b[c].className.indexOf("riUp")!=(-1)){this.SpinUpButton=b[c];
}}}if(this.get_showSpinButtons()){$addHandler(this.SpinUpButton,"mousedown",this._onButtonUpMouseDownDelegate);
$addHandler(this.SpinDownButton,"mousedown",this._onButtonDownMouseDownDelegate);
$addHandler(this.SpinUpButton,"mouseup",this._onButtonUpMouseUpDelegate);
$addHandler(this.SpinDownButton,"mouseup",this._onButtonDownMouseUpDelegate);
$addHandler(this.SpinUpButton,"mouseout",this._onSpinMouseOutDelegate);
$addHandler(this.SpinDownButton,"mouseout",this._onSpinMouseOutDelegate);
$addHandler(this.SpinUpButton,"click",this._onSpinMouseClickDelegate);
$addHandler(this.SpinDownButton,"click",this._onSpinMouseClickDelegate);
}Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"_initializeButtons");
},_onSpinMouseOutHandler:function(a){this._hold=false;
},_onSpinMouseClickHandler:function(a){if($telerik.isIE){$telerik.cancelRawEvent(a);
}},_onButtonUpMouseDownHandler:function(a){var b=new Telerik.Web.UI.InputButtonClickEventArgs(Telerik.Web.UI.InputButtonType.MoveUpButton);
this.raise_buttonClick(b);
if(b.get_cancel()){return false;
}this._hold=true;
this._repeatedMoveUp(300);
},_onButtonDownMouseDownHandler:function(a){var b=new Telerik.Web.UI.InputButtonClickEventArgs(Telerik.Web.UI.InputButtonType.MoveDownButton);
this.raise_buttonClick(b);
if(b.get_cancel()){return false;
}this._hold=true;
this._repeatedMoveDown(300);
},_repeatedMoveUp:function(d){if(this._hold==false){return;
}var a=this;
var b=d;
if(b>50){b-=40;
}var c=function(){a._repeatedMoveUp(b);
};
a._moveUp();
if(!this.get_autoPostBack()){window.setTimeout(c,d);
}},_repeatedMoveDown:function(d){if(this._hold==false){return;
}var a=this;
var b=d;
if(b>50){b-=40;
}var c=function(){a._repeatedMoveDown(b);
};
a._moveDown();
if(!this.get_autoPostBack()){window.setTimeout(c,d);
}},_onButtonUpMouseUpHandler:function(a){this._hold=false;
this.SpinUpButton.blur();
},_onButtonDownMouseUpHandler:function(a){this._hold=false;
this.SpinDownButton.blur();
},_SetValue:function(b){if(b<this.get_minValue()||b>this.get_maxValue()){var a=new Telerik.Web.UI.InputErrorEventArgs(Telerik.Web.UI.InputErrorReason.OutOfRange,b,null,null);
this.raise_error(a);
}Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"_SetValue",[b]);
},_setHiddenValue:function(a){if(a==null){a="";
}if(typeof(a)!="number"){a=Telerik.Web.UI.NumberFormat.Parse(a,this._rejectRegExp,this.get_numberFormat().DecimalSeparator,this.get_numberFormat().NegativeSign);
}if(!this.get_allowOutOfRangeAutoCorrect()&&(a<this.get_minValue()||a>this.get_maxValue())){if(!this._isIncrementing){return this._invalidate();
}else{return false;
}}a=Math.max(this.get_minValue(),a);
a=Math.min(this.get_maxValue(),a);
if(!this.get_numberFormat().KeepNotRoundedValue){a=Telerik.Web.UI.NumberFormat.Round(a,this);
}if(isNaN(a)){a="";
}Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"_setHiddenValue",[a]);
},_invalidate:function(){this._holdsValidNumericValue=false;
Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"_clearHiddenValue");
return false;
},updateDisplayValue:function(){if(!this._holdsValidNumericValue&&this._focused){this._holdsValidNumericValue=true;
}else{Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"updateDisplayValue");
}},updateCssClass:function(a){if(!this._holdsValidNumericValue&&!a){this._textBoxElement.style.cssText=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["InvalidStyle"][0]);
this._textBoxElement.className=this.get_styles()["InvalidStyle"][1];
}else{Telerik.Web.UI.RadNumericTextBox.callBaseMethod(this,"updateCssClass");
}},_initializeHiddenElement:function(a){this._hiddenElement=$get(a+"_Value");
},_initializeValidationField:function(a){this._validationField=$get(a);
},_setValidationField:function(a){this._validationField.value=a.toString().replace(".",this.get_numberFormat().DecimalSeparator);
},_getValidationField:function(a){return this._validationField;
}};
Telerik.Web.UI.RadNumericTextBox.registerClass("Telerik.Web.UI.RadNumericTextBox",Telerik.Web.UI.RadInputControl);
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
