
 document.write("F")

//--检测登陆-->

	   function DoLogin() {

	      var UsernameGet = trim(document.loginForm.UsernameGet.value);
		  var PasswordGet = trim(document.loginForm.PasswordGet.value);
		  var Verifycode = trim(document.loginForm.Verifycode.value);

          if(UsernameGet == "") {
		    alert("请输入会员登录名！");
			document.loginForm.UsernameGet.focus();
		    return false;
		  } 
		  if(PasswordGet == "") {
		    alert("请输入密码！");
			document.loginForm.PasswordGet.focus();
		    return false;
		  } 
		  if(Verifycode == "") {
		    alert("请输入验证码！");
			document.loginForm.Verifycode.focus();
		    return false;
		  }  
		  
		  
		 }

           function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//-->

document.write("<TABLE id=table2 cellSpacing=0 cellPadding=2 width='90%' align=center border=0>")
document.write("<TBODY>")
document.write("<TR>")
document.write("<TD class=M width='32%'>会员登录名：</TD>")
document.write("<TD width='40%'><INPUT tabIndex=1 maxLength=20 size=17 name=UsernameGet value=''></TD>")
document.write("<TD width='28%' class=S><A  href=getmemberid.asp>忘了登陆名？</A></TD>")
document.write("</TR><TR>")
document.write("<TD class=M>密　　　码： </TD>")
document.write("<TD><INPUT name=PasswordGet type=password tabIndex=2 size=18 maxlength=20></TD>")
document.write("<TD class=S tabIndex=5><A href=getanswer.asp>忘记了密码？</A></TD>")
document.write("</TR>")
document.write("</TBODY>")
document.write("</TABLE>")
document.write("<TABLE cellSpacing=0 cellPadding=2 width='90%' align=center border=0>")
document.write("<TBODY>")
document.write("<TR>")
document.write("<TD width='32%' vAlign=top class=M>验　证　码：</TD>")
document.write("<TD colspan=2>")
document.write("<TABLE cellSpacing=0 cellPadding=0 width='100%' border=0>")
document.write("<TBODY>")
document.write("<TR>")
document.write("<TD width=66> <img src="../vCode.asp?" onClick="this.src+=Math.random()" alt="图片看不清？点击重新得到验证码" style="cursor:hand;"> </TD>")
document.write("<TD width=146><FONT color=#CC3300>←请照此输入验证码</FONT></TD>")
document.write("</TR>")
document.write("<TR>")
document.write("<TD></TD><TD></TD></TR></TBODY></TABLE></TD></TR>")
document.write("<TR><TD>")

document.write("</TD>")
document.write("<TD width='37%'><INPUT name=Verifycode tabIndex=3 onKeyUp=value=value.replace(/[^\d]/g,'')  size=12 maxlength='4' tonbeforepaste=clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,'')) class=mailboxbig></TD>")
document.write("<TD width='31%'><INPUT tabIndex=4 type=submit value=登   录 name=Submit class=m></TD>")
document.write("</TR></TBODY></TABLE>")

