Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText=function(n){Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText.initializeBase(this,[n])};Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText.prototype={callMethod:function(){var n;if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText.callBaseMethod(this,"callMethod"))return!1;if(n=this._designPanel,Sys.Extended.UI.HtmlEditor.isIE)n._saveContent(),n.openWait(),setTimeout(function(){n._paste(!1);n.closeWait()},0);else{var t=n._getSelection(),i=n._createRange(t),r=String.format(Sys.Extended.UI.Resources.HtmlEditor_toolbar_button_Use_verb,Sys.Extended.UI.HtmlEditor.isSafari&&navigator.userAgent.indexOf("mac")!=-1?"Apple-V":"Ctrl-V"),u=String.format(Sys.Extended.UI.Resources.HtmlEditor_toolbar_button_OnPastePlainText,r);alert(u);setTimeout(function(){n._removeAllRanges(t);n._selectRange(t,i)},0);n.isPlainText=!0}}};Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.PasteText",Sys.Extended.UI.HtmlEditor.ToolbarButtons.MethodButton);