/*####################################################################*/
/*# INPUT OBJECT #*/
/*####################################################################*/
function inputboxObject()
{
	this.oInputbox = null;
}
/*####################################################################*/
/*# INPUT FUNCTIONS #*/
/*####################################################################*/
function insertValue(theValue)
{
	this.oInputbox.value = theValue;
}
function getValue()
{
	return this.oInputbox.value;
}
function createInputbox(width, max)
{
	this.oInputbox = document.createElement('input');
	this.oInputbox.onfocus = function() { this.style.borderColor='#4B7FC6'; };
	this.oInputbox.onblur = function() { this.style.borderColor=''; };
	this.oInputbox.setAttribute('maxLength',max);
	this.oInputbox.style.width = width;

	this.oInputbox.oRef = this;
}
/*####################################################################*/
/*# PROTOTYPES #*/
/*####################################################################*/
inputboxObject.prototype.createInputbox = createInputbox;
inputboxObject.prototype.insertValue = insertValue;
inputboxObject.prototype.getValue = getValue;
