edText(obj) {
                if (document.selection && document.selection.createRange) {
                        // Internet Explorer 4.0x

                        obj.focus();
                        var orig = obj.value.replace(/\r\n/g, "\n"); // IE Bug
                        var range = document.selection.createRange();

                        if (range.parentElement() != obj) {
                                return '';
                        }

                        txt = range.text;
