<!--#include file="top.asp" -->
<table width="760" bgcolor="#ffffff" align="center" cellpadding="0" cellspacing="0" class="table-zuoyou">
  <tr>
  <td width="170" valign="top" class="table-you">
	<!--#include file="conn/logininc.asp" -->
	<!--#include file="conn/searchinc.asp" -->
	<!--#include file="conn/fenleiinc.asp" -->
	</td>
    <td width="590" valign="top">
	 <!--#include file="conn/bannerinc.asp" --> 
<!--banner图片下的位置 -->
 <table width="590" border="0" align="center" cellpadding="0" cellspacing="0" class="table-shang">
   <tr><TD vAlign=center height=30>&nbsp; 您目前的位置：<A href="index.asp?userid=<%=userid%>">网站首页</A> -&gt; <A href="guestbook.asp?userid=<%=userid%>">留言反馈</A></tr>  
  <TR><TD background=../image/1x3.gif height=1></TD></TR>
  <tr>	
	<td height="350" align="center" valign="middle">
<SCRIPT language=javascript>
	<!--//
	function checksignup() {

		if ( document.guestbook.name.value == '' ) {
			window.alert('请输入您的姓名!!');
			document.guestbook.name.focus();
			return false;
			
		}
		if ( document.guestbook.content.value == '' ) {
			window.alert('请输入留言反馈内容!!');
			document.guestbook.content.focus();
			return false;
		}
                if ( document.guestbook.email.value.length> 0 &&!document.guestbook.email.value.indexOf("@")==-1|document.guestbook.email.value.indexOf(".")==-1 ) {
			window.alert('请输入正确的Email地址!!');
			document.guestbook.email.focus();
			return false;
		}
              if((document.guestbook.tel.value!="")){if(isNaN(document.guestbook.tel.value)||(document.guestbook.tel.value.length<7)) {
		window.alert("请输入有效电话号码,只能是数字!!");
		document.guestbook.tel.focus();
		return false;
	}
}
          if (document.guestbook.content.value.length>800)
  {
  window.alert("留言反馈内容不能超过800字!！");
  document.guestbook.content.focus();
  return false;
  }

			return true;
			}
	//-->
	</SCRIPT>
      <table width="400" border="0" align="center" cellpadding="2">
        <form ACTION="guestbook-ok.asp?userid=<%=userid%>" METHOD="POST" NAME="guestbook" id="guestbook">
          <TR>
           <TD colspan="2" align="right"><img height=47 src="../image/guestbook.gif" width=145></TD>
           </TR>
          <tr> 
            <td width="100" height="25" align="center" valign="middle">您的姓名<font color="#ff3333">*</font></td>
            <td width="300" height="25" valign="top"> <INPUT name=name class=wenbenkuang onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size=25 maxlength="10"> 
            </td>
          </tr>
          <tr> 
            <td width="100" height="25" align="center" valign="middle">联系电话<font color="#ff3333">*</font></td>
            <td width="300" height="25" valign="top"> <INPUT name=tel class=wenbenkuang id="tel" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size=45 maxlength="25"></td>
          </tr>
          <tr> 
            <td width="100" height="25" align="center" valign="middle">电子邮箱<font color="#ff3333">*</font></td>
            <td width="300" height="25" valign="top"> <INPUT name=email class=wenbenkuang onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size=45 maxlength="49"></td>
          </tr>
          <tr> 
            <td width="100" height="25" align="center" valign="middle">留言内容<font color="#ff3333">*</font></td>
            <td width="300" height="25" valign="top"> <textarea title="留言反馈的内容，每条不能超过800字。&#13;&#10;如果您有多项问题要反馈，请分开提交。&#13;&#10;谢谢您对我们的支持！" name="content" class="wenbenkuang" cols="44" rows="6" id="content"  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></textarea></td>
          </tr>
          <tr> 
            <td width="100" height="25" align="center" valign="middle">&nbsp;</td>
            <td width="300" height="25" valign="middle"> &nbsp; <input name=submit type=submit class="go-wenbenkuang" id="submit" onClick="javascript:return checksignup()" value='提 交' onFocus="this.blur()"> 
              <input name="Reset" type="reset" class="go-wenbenkuang" id="Reset" value="重 写" onFocus="this.blur()"> 
            </td>
          </tr>
          <tr>
            <td height="50" align="center" valign="middle">&nbsp;</td>
            <td height="50" valign="middle">&nbsp;</td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
</td>
</tr>
</table>
<!--#include file="bd.asp"-->