/*
 * Constructon defines available methodsy.  This object is used to validate
 * entries in file input widets.  Validation includes a check to make sure an
 * entry was made.  It does not check the validity of the path.
 */
function ValidateFileUpload()
{
	// Class attributes

	// Class methods
	this.isEmpty = ValidateFileUpload_isEmpty;
}

/*
 * Wrapper for ValidateTextField object isEmpty method.  If widget is null,
 * have emtpy string or just has white space a true flag is returned otherwise,
 * false is returned.
 */
function ValidateFileUpload_isEmpty(strFieldElem)
{
	var te = new ValidateTextField();

	// Call the ValidateTextField method to do the work.
	return (te.isEmpty(strFieldElem));
}