else if(NewTextArea.frame.window.document.body.attachEvent) NewTextArea.frame.window.document.body.attachEvent("onpaste",edtPaste);