/*-----------------------------------------------------------------------------
Function:	validateType
Purpose:	validate the user defined Type
Author:		Ben Lochner
Date:		04/08/05
Inputs:		objFormInput - username text input (document.formname)
Output:		success - true
			failure - alert window, false
*/
function validateType(objFormInput) 
{	
	/*remove leading spaces, if any...*/
	leftTrim(objFormInput.invTypeDesc);

	if (objFormInput.invTypeDesc.value == "")
	{
		alert("Inventory must be filled.");
		objFormInput.invTypeDesc.focus();
		return false;
	}
	else
	{
		return true;
	}
}