function volumeSelection( form, input, hidden )
{
	this._form = document.getElementById( form );
	this._input = document.getElementById( input );
	this._hidden = document.getElementById( hidden );
}

volumeSelection.prototype.choose = function( selection )
{
	if ( this._hidden )
	{
		this._hidden.value = selection;
	}
	if ( this._input )
	{
		this._input.value = "";
	}
	this.submit();
}

volumeSelection.prototype.submit = function()
{
	if ( this._form )
	{
		this._form.submit();
	}
}


