//Function to validate that text was entered into a textbox control.
//Parameter objElement - a reference to the control on the form.
function validatetext(objElement)
{
	var txtValue;
	//save the passed value
	txtValue = objElement.value;
	//trim the value of leading and trailing spaces
	//from trim.js
	txtValue = Trim(txtValue)
	//if after trimming the length = 0 
	if (txtValue.length < 1)
	{
		return false;
	}
	else
	{
		return true;
	}
}
function validateText(objElement)
{
	return validatetext(objElement)
}
function ValidateText(objElement)
{
	return validatetext(objElement)
}
