function frmsubmit()
{
	if(event.keyCode==13)
	{
		document.all.loginform.submit();
	}
}


function writeLogin(){

		
		document.writeln('<table width="290" height="160" border="0" cellpadding="0" cellspacing="0">');
document.writeln('<form name="loginform" action=ChkLogin.asp method=post target=_top onSubmit="return isok(this)">');
document.writeln('<tr>');
document.writeln('<td height="6" valign="top"><img src="images/login_form_top2.gif" width="340" height="15" /></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td background="images/login_form_body2.gif"> ');
document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('  <tr>');
document.writeln('    <td>&nbsp;</td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="90%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#00A8FF">');
document.writeln('  <tr>');
document.writeln('    <td valign="middle" bordercolor="#E2F5FF" bgcolor="#E2F5FF">&nbsp;</td>');
document.writeln('    <td valign="middle" bordercolor="#E2F5FF" bgcolor="#E2F5FF"><img src="images/tips_1.gif" /></td>');
document.writeln('  <td height="20" valign="middle" bordercolor="#E2F5FF" bgcolor="#E2F5FF"> 以下信息需登陆后才可进行！</td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="100%" height="125" border="0" cellpadding="0" cellspacing="0">');
document.writeln('  <tr>');
document.writeln('  <td width="21" rowspan="3">&nbsp;</td>');
document.writeln('  <td height="56">');
document.writeln('  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">');
document.writeln('  <tr>');
document.writeln('    <td>&nbsp;</td>');
document.writeln('    <td background-repeat: no-repeat;background-position: center center;">&nbsp;</td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('  <td width="59"><img src="loginform/login_t1.gif" width="59" height="26"></td>');
document.writeln('  <td width="114" background-repeat: no-repeat;background-position: center center;">');
document.writeln('  <table border="1" cellpadding="0" cellspacing="0" bordercolor="#7F9DB9" bgcolor="#FFFFFF">');
document.writeln('  <tr>');
document.writeln('  <td bordercolor="#FFFFFF">');
document.writeln('  <input type="text" name="username" size="25" style="font-family:宋体; font-size:9pt; color:#333333; background-color:#ffffff; height:12px; width:170px; border:none;"></td>');
document.writeln('  </tr>');
document.writeln('  </table></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('  <td colspan="2"><img src="loginform/spacer.gif" width="173" height="4"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('  <td><img src="loginform/login_t2.gif" width="59" height="26"></td>');
document.writeln('  <td background-repeat: no-repeat;background-position: center center;">');
document.writeln('  <table border="1" cellpadding="0" cellspacing="0" bordercolor="#7F9DB9">');
document.writeln('  <tr>');
document.writeln('  <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><input type="password" name="userpass" size="25" style="font-family:宋体; font-size:9pt; color:#333333; background-color:#ffffff; height:12px; width:170px; border:none;">');
document.writeln('  <input name="from_url" type="hidden" value="'+comeurl.value+'"></td>');
document.writeln('  </tr>');
document.writeln('  </table></td>');
document.writeln('  </tr>');
document.writeln('  </table></td>');
document.writeln('  <td width="21" rowspan="3">&nbsp;</td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('  <td colspan="2" align="center">&nbsp;</td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('  <td height="46" colspan="2" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('    <tr>');
document.writeln('      <td width="63%" align="center"><input name="image" type="image" style="border: 0px;" src="images/login_submit.gif"></td>');
document.writeln('      <td width="37%"><a href="getpass.asp">忘记密码</a></td>');
document.writeln('    </tr>');
document.writeln('  </table></td>');
document.writeln('  </tr>');
document.writeln('</table><table width="100%" border="0" cellpadding="0" cellspacing="0">');
document.writeln('  <tr></tr>');
document.writeln('</table></td>');
document.writeln('</tr>');
document.writeln('<tr> ');
document.writeln('<td height="6" valign="bottom"><img src="images/login_form_bottom2.gif" width="340" height="15" /></td>');
document.writeln('</tr>');
document.writeln('</form>');
document.writeln('</table>');
}
writeLogin();