//ZSite CMS
//controls library
//Textbox control
//(c) Zagorodnikov Anton 2007-2008
/*
var zsite_controls_textbox = function()
{
	var id:null,

	//domNode to append textbox to
	constructor: function(domNode)
	{
		if(!domNode)
		{
			//creating class for PHP generated code
		}
		else
		{
			//creating class on client programmatically
		}
	}

	enable: function(id)
	{
		dojo.byId(this.id).removeAttribute('disabled');
		dojo.byId(this.id).className="zsite_textbox";
	},

	disable: function(id)
	{
		dojo.byId(this.id).setAttribute('disabled', 'disabled');
		dojo.byId(this.id).className="zsite_textbox_disabled";
	},

	setValue: function(value)
	{
		dojo.byId(this.id).value = value;
	},

	getValue: function(value)
	{
		return dojo.byId(this.id).value;
	}
};
*/
