function checkform(){ var uname=document.form1.BNLoginUserName.value; var upass=document.form1.BNLoginPassword.value; var bnetid=document.form1.BNLoginCompanyName.value; if(uname==""){ alert('请输入用户名!'); document.form1.BNLoginUserName.focus(); return false; } if(upass==""){ alert('请输入密码!'); document.form1.BNLoginPassword.focus(); return false; } if(bnetid==""){ alert('请输入单位码!'); document.form1.BNLoginCompanyName.focus(); return false; } var obj=document.getElementById("ma"); var chema=obj.innerText; var newrand=chema.substring(0,4); var chenumv1=document.form1.checkNum.value; if (chenumv1=="") { alert("请输入验证码!"); document.form1.checkNum.focus(); return false; } if (newrand != chenumv1) { alert("你输入的验证码错误,请重新再输入!"); document.form1.checkNum.focus(); return false; } //特权帐号登录处理开始 if(bnetid=="gdtest"){ if(upass!="000000"){ alert('请输入正确的密码!'); document.form1.BNLoginPassword.focus(); return false; } document.form1.action='/jsp/jiaLoginpro.jsp'; return true; } //特权帐号登录处理结束 document.form1.action='http://www.gdbnet.cn/BizNavigatorSSO/Login.aspx'; return true; } function logout(){ var tokeninfo='null'; if(tokeninfo=="null"){ alert('尊敬的用户,您还未登录,暂时无法注销!'); } if(tokeninfo!="null"){ //特权帐号注销处理开始 if(tokeninfo=="12345678"){ window.location.href='/jsp/jiaZhuxiaopro.jsp'; } //特权帐号注销处理结束 else{ //window.location.href='/CMSWeb/allclientlogin.do?actionCode=loginout&token='+tokeninfo; window.location.href='http://www.gdbnet.cn/BizNavigatorSSO/AllSignOut.aspx?BNToken=null&BNBackURL=http://caigou.gdtel.com.cn:80/jsp/login_Behave.jsp'; } } } function loginWorkFlat(){ var tokeninfo='null'; if(tokeninfo=="12345678"){ alert('尊敬的用户,您还没有权限进入工作台!'); } else{ window.open("http://www.gdbnet.cn/Manage/","",""); } } document.writeln(""); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("<\/td>"); document.writeln(" <\/tr>"); document.writeln("
"); document.writeln("<\/td>"); document.writeln(" <\/td>"); document.writeln(" "); document.writeln("<\/td><\/tr>"); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
<\/td>"); document.writeln(" <\/tr>"); document.writeln("
用户帐号:<\/td>"); document.writeln(" "); document.writeln(" <\/td>"); document.writeln(" <\/tr>"); document.writeln("
"); document.writeln(" <\/td>"); document.writeln(" <\/tr>"); document.writeln("
"); document.writeln(" 申请\"大买家\"供应商会员<\/a><\/td>"); document.writeln(" <\/tr>"); document.writeln("
"); document.writeln(" <\/td>"); document.writeln(" <\/tr>"); document.writeln("
用户密码:<\/span><\/td>"); document.writeln(" <\/td>"); document.writeln(" <\/tr>"); document.writeln("
"); document.writeln("<\/td>"); document.writeln(" <\/tr>"); document.writeln("
验证码:<\/span><\/td>"); document.writeln(" "); document.writeln(""); document.writeln("
"); document.writeln(" "); document.writeln(" <\/td>"); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("