function checkCH()
{
 var str=txtPwd.value;
 var c = /[\u4e00-\u9fa5]/;
 if(c.test(str))
 {
  alert("不能输入中文。");
  return false;
 }
 return true;
}