window.onload = function(){
	var area = document.getElementById('myEditor');
  alert('vasya');
	area.valueHtml = area.value;
	area.onfocus = function() {
		if(this.value == this.valueHtml) {
			this.value = "";
		}
		this.className = this.className.replace("italic", "");
	}
	area.onblur = function () {
		if(this.value == "") {
			this.value = this.valueHtml;
			this.className += ' italic';
		}
	}
}
