var bkInput = Base.extend({

	settings : [],
	bkForm : null,

	constructor : function(bkForm,settings) {
		this.settings = settings;
		this.bkForm = bkForm;

		//Event.observe(this.editorElement, 'keypress', this.inputKeyPress.bindAsEventListener(this));
		this.init();
	},

	init : function() {

	},

	getInput : function() {
		return document.getElementById(this.getInputName());
	},

	getInputName : function() {
		return this.bkForm.getName()+'_'+this.getName();
	},

	getName : function() {
		return this.settings.name;
	},

	get : function() {
		var input = this.getInput();
		if (input) {
			return input.value;
		}
		return '';
	}
	
}); 