function DefaultTextEditor (varName, id) 
{
	this._variableName = varName;
	this._element = document.getElementById(id);
	
	this.GetContent = function()
	{
        return this._element.value;		
	}
	
	this.SaveBookmark = function()
	{
	}
	
	this.InsertContent = function(content)
	{
	    this._element.value += content;
	}
	
	this.UpdateContent = function(content)
	{
	    this._element.value = content;
	}
	
	this.GetContainerNode = function()
	{
	    return this._element;
	}
	
	this.Focus = function()
	{
	    this._element.focus();
	}
	
	this.Resize = function(width, height)
	{
	    this._element.style.width = width + 'px';
	    this._element.style.height = height + 'px';
	}
}
