function checkForm(theForm)
{
	// Check username.
	invalidChars = "?*+=[]:;\"<>,/\\|";
	if ( !checkHasValue( theForm.usraddo2k, "TEXT" ) )
		if ( !onError( theForm, theForm.usraddo2k, theForm.usraddo2k.value, 
			"Please supply a value for\nthe user name field." ) )
			return false;	
	if ( !checkValidChars( theForm.usraddo2k.value, true, true, true, invalidChars, false ) )
		if ( !onError( theForm, theForm.usraddo2k, theForm.usraddo2k.value, 
			 "The user name may contain letters, numbers, spaces,\n"
			+"and special characters excluding: " + invalidChars ) )
			return false;

	return true;
} 

document.frmMain.usraddo2k.focus();

