/**
 * 校验非中文及全角字符
 * oObject 为控件的名称
 * 如文本框,其id为txtChineseName,则写为:
 * isNotChinese(document.all.txtChineseName)
 * 如果文本框内数值含有中文及全角字符,则返回true,反之,返回false
 */function isNotChinese(oObject)
{
//如果值为空,不作校验
if (oObject.value=="")
return true;
var reg = /[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi;
if (reg.test(oObject.value))
return false;
else
return true;
}