function ValueInField(SomeField) {

	//Variable declaration and assignment
	var bFlag = false;	//The flag that will be true if a character that is not a space is encountered.

	//Let us see if the field has a value in it.
	if (SomeField.value.length !=  0) {

		//Going left-to-right, test each character in the string
		for (X = 0 ; X < SomeField.value.length; X++) {
			
			//Is the character not a space?
			if (SomeField.value.substr(X,1) != ' ') {  //NOTE:  There is a space between the two quotes.
				bFlag = true;
				
			}  //End testing to see if the substring is not a space
			
		}  //Next X

	}  //End testing to see if the length of the field value is greater than zero
	
	//Make the function assignment
	return bFlag;
	
}  //End function ValueInField.

function EnterKey(TheKeyStroke) {
	//Test to see if the user hit the "Enter" key while the cursor was in the txtPassword textbox.
	if (TheKeyStroke.keyCode == 13) {
		//The Enter key was struck, so stop the form from being submitted.
		FormValidation();
	}	//End If
}	//End function "EnterKey"
