﻿function LoginCheck(str)
{
var name=document.getElementById (str).value;
var validateinfo= document.getElementById("ctl00_ContentPlaceHolder1_tbVal").value;

if(cisempty(validateinfo))
alert("请输入验证码。");
else if(!isInter(validateinfo)|| validateinfo.length!=4)
alert("验证表达式不对。");
else 
if(cisempty(name))
alert("提交的内容不能为空。");
else
return true;
return false;
}
