function fvFieldGlobal(title, field, format, solver)
{
	this.title = title;
	
	this.field = field;
	this.name = field.name;
	this.format = format;
	
	this.solve = solver;
}


fvFieldGlobal.prototype.getValue = function()
{
	return this.format.unformat(this.field.value);
}

fvFieldGlobal.prototype.setValue = function(value)
{
	this.field.value = this.format.format(value);
}

// These shouldn't be needed for globals
/*
fvFieldGlobal.prototype.isEmpty = function(form)
{
	return (form[this.name].value == "");
}

fvFieldGlobal.prototype.setChangeEvent = function(form, rowReadyFunc)
{
	form[this.name].onchange = rowReadyFunc;
}
*/