
function checklogin(){
if(login.username.value==''||login.pass.value==''){
  alert('请把用户名和密码填写完整！');
  return false;
}

}
        
document.write("<table  border='0' cellpadding='0' cellspacing='0'><tr><form name='login' method='post' onsubmit='return checklogin()' action='/login.asp'>")
document.write("<td width='49' height='28' align='center'><img src='/images/den.gif' width='26' height='22'></td><td width='49'>用户名：</td><td width='84'><input name='username' type='text' id='username' size='12'></td><td width='43'>密码：</td><td width='89'><input name='pass' type='password' id='pass' size='12'></td><td width='84' align='center'><input type='image' src='/images/images/index_05.gif' ></td><td width='82' align='center'><a href='/service/step1.asp'><img src='/images/images/index_07.gif' border='0'></a></td></form></tr></table>")
