function checkLogin() { if(document.loginForm.userid.value=="") { alert("请输入用户帐号!"); document.loginForm.userid.focus(); return false; } else if(document.loginForm.pwd.value=="") { alert("请输入登录密码!"); document.loginForm.pwd.focus(); return false; } else if(document.loginForm.ltype.value=="") { alert("请选择用户类型!"); document.loginForm.ltype.focus(); return false; } if(document.loginForm.ltype.options[3].selected) { document.loginForm.action="/user/0/login.asp"; document.loginForm.submit(); } if(document.loginForm.ltype.options[2].selected) { document.loginForm.action="/user/1/login.asp"; document.loginForm.submit(); } if(document.loginForm.ltype.options[1].selected) { document.loginForm.action="/user/2/login.asp"; document.loginForm.submit(); } return true; } //时间日期函数 function Ncdatetime() { today=new Date(); function initArray(){ this.length=initArray.arguments.length for(var i=0;i ", today.getYear(),"年", today.getMonth()+1,"月", today.getDate(),"日", "", " ", d[today.getDay()+1], "" ); } //获取对象 function $(id) { return document.getElementById(id); } //显示该对象 function openDIV(obj) { $(obj).style.display=""; } //关闭该对象 function closeDIV(obj) { $(obj).style.display="none"; } // JavaScript Document document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("  用户"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" 密码"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" 忘记密码?<\/a>"); document.writeln(" <\/form>"); document.writeln(" <\/div>"); document.writeln("
") document.writeln("114招生通") document.writeln(" 网站地图") document.writeln(" 在线咨询") document.writeln(" 搜课") document.writeln("  <\/div>"); document.writeln(" <\/div>"); document.writeln("");