Function checkch ()
{
Var str = txtpwd.value;
VAR C = / [/ u4e00- / u9fa5] /;
IF (C. Test (STR))
Alert ("You cannot enter Chinese.");
Return False;
}
Return True;