<!--
function FFV(theForm){
	if (theForm.user.value == ""){
		alert("请在 用户名 域中输入值。");
		theForm.user.focus();
		return (false);
	}
	if (theForm.user.value.length < 2){
		alert("在 用户名 域中，请至少输入 2 个字符。");
		theForm.user.focus();
		return (false);
	}
	if (theForm.user.value.length > 20){
		alert("在 用户名 域中，请最多输入 20 个字符。");
		theForm.user.focus();
		return (false);
	}
	if (theForm.pass.value == ""){
		alert("请在 密码 域中输入值。");
		theForm.pass.focus();
		return (false);
	}
	if (theForm.pass.value.length < 3){
		alert("在 密码 域中，请至少输入 3 个字符。");
		theForm.pass.focus();
		return (false);
	}
	if (theForm.pass.value.length > 20){
		alert("在 密码 域中，请最多输入 20 个字符。");
		theForm.pass.focus();
		return (false);
	}
	if (theForm.vcode.value == ""){
		alert("请在 验证 域中输入值。");
		theForm.vcode.focus();
		return (false);
	}
	if (theForm.vcode.value.length < 4){
		alert("在 验证 域中，请至少输入 4 个字符。");
		theForm.vcode.focus();
		return (false);
	}
	if (theForm.vcode.value.length > 4){
		alert("在 验证 域中，请最多输入 4 个字符。");
		theForm.vcode.focus();
		return (false);
	}
	var checkOK = "0123456789-";
	var checkStr = theForm.vcode.value;
	var allValid = true;
	var validGroups = true;
	for (i = 0;  i < checkStr.length;  i++){
		ch = checkStr.charAt(i);
		for (j = 0;  j < checkOK.length;  j++)
		if (ch == checkOK.charAt(j))
		break;
		if (j == checkOK.length){
			allValid = false;
			break;
		}
	}
	if (!allValid){
		alert("在 验证 域中，只能输入 数字 字符。");
		theForm.vcode.focus();
		return (false);
	}
	return (true);
}
//-->