  createEditField: function() {    var text;    if(this.options.loadTextURL) {      text = this.options.loadingText;    } else {      text = this.getText();    }    var obj = this;        if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) {      this.options.textarea = false;      var textField = document.createElement("input");      textField.obj = this;      textField.type = "text";      textField.name = "value";      textField.value = text;      textField.style.backgroundColor = this.options.highlightcolor;      textField.className = 'editor_field';      var size = this.options.size || this.options.cols || 0;      if (size != 0) textField.size = size;      if (this.options.submitOnBlur)        textField.onblur = this.onSubmit.bind(this);      this.editField = textField;    } else {      this.options.textarea = true;      var textArea = document.createElement("textarea");      textArea.obj = this;      textArea.name = "value";      textArea.value = this.convertHTMLLineBreaks(text);      textArea.rows = this.options.rows;      textArea.cols = this.options.cols || 40;      textArea.className = 'editor_field';            if (this.options.submitOnBlur)        textArea.onblur = this.onSubmit.bind(this);      this.editField = textArea;    }        if(this.options.loadTextURL) {      this.loadExternalText();    }    this.form.appendChild(this.editField);  },
3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3727/f26de598115946c975d7d8c1f9a3c34da03381fa/controls.js/buggy/gallery/js/cropper/controls.js