<!--该层为覆盖层 -->
<div id="overlay"></div>
<!--该层为高亮显示层 -->
<div id="lightbox"></div>
<div id="logintxt" style="display:none">
	<table width="627" height="340" border="0" align="center"  background="images/logo.jpg">
	  <tr>
		<td >
		<form action="submit.asp" name="frm2" method="post" onsubmit="return chklogin()">
		<input type="hidden" name="action" value="login" />
        <br />
        <br />
        <br />
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
		  <tr>
			<td width="300" >&nbsp;</td>
		    <td width="295" ><table width="95%" border="0" align="center" cellpadding="3" cellspacing="2">
              <tr>
                <td width="79" height="30" align="right">用 户 名 * </td>
                <td width="183"><input name="username" type="text" class="boxb" id="username" size="15" maxlength="50" />
                    <span id="username_msg"></span></td>
              </tr>
              <tr>
                <td height="30" align="right">登录密码 * </td>
                <td><input name="pwd" type="password" class="boxb" id="pwd" size="15" maxlength="50" />
                    <span id="pwd_msg"></span></td>
              </tr>
              <tr>
                <td height="30" align="right">验证码 * </td>
                <td><input name="ChkCode" id="ChkCode" type="text" class="boxb" style="width:50px" maxlength="4" />
                    <img src="code.asp" onclick="this.src=this.src+'?'" /> <span id="ChkCode_msg"></span> </td>
              </tr>
              <tr>
                <td height="30" align="right">&nbsp;</td>
                <td><input name="image" type="image" src="images/login.jpg" />
                    <img src="images/close.jpg" style="cursor:pointer" onclick="hiddenlogin()" /></td>
              </tr>
              <tr>
                <td height="30" align="right">&nbsp;</td>
                <td><a href="#">找回密码？</a></td>
              </tr>
            </table></td>
		  </tr>
		</table>
		</form>	</td>
	  </tr>
  </table>
</div>
<div id="regtxt" style="display:none"> 
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="6" bgcolor="#2ABF55">
  <tr>
    <td bgcolor="#FFFFFF" style="border:#CCCCCC solid 1px;">
	<form action="submit.asp" name="frm3" method="post" onsubmit="return chkreg()">
	<input type="hidden" name="action" value="reg" />
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="border-bottom:#CCCCCC solid 1px;"> <img src="images/zxj_03.jpg" width="150" height="45" style="float:left" align="absmiddle" /> <a href="javascript:hiddenlogin()" style="float:right">关闭</a></td>
      </tr>
      <tr>
        <td height="10" >&nbsp;</td>
      </tr>
      <tr>
        <td height="35" bgcolor="#35D132" class="menu">&nbsp;会员基本信息</td>
      </tr>
      <tr>
        <td height="35"><table width="95%" border="0" align="center" cellpadding="3" cellspacing="2">
          <tr>
            <td height="30" align="right">用户类型 * </td>
            <td>
			<%
			For i=0 TO UBOUND(UserClass)
				checked=""
				IF i=0 Then checked="checked"
				Response.Write "<input type='radio' name='VipGroup' value='"& UserClass(i,0) &"' "&checked&" onclick='showreg("&UserClass(i,0)&")' /> " & UserClass(i,1)
			Next
			%>			</td>
          </tr>
          <tr>
            <td width="120" height="30" align="right">会员用户名 * </td>
            <td><input name="username" type="text" class="boxb" id="username" maxlength="50" /> 
            <br /><span id="username_msg">会员用户名只能输入数字或字母,不少于6个字符!</span></td>
          </tr>
          <tr>
            <td height="30" align="right">登录密码 * </td>
            <td><input name="pwd" type="password" class="boxb" id="pwd" maxlength="50" /> 
            <span id="pwd_msg">密码不少于6个数字或字母!</span></td>
          </tr>
          <tr>
            <td height="30" align="right">再次输入密码 * </td>
            <td><input name="pwd2" type="password" class="boxb" id="pwd2" maxlength="50" /> 
            <span id="pwd_msg">密码不少于6个数字或字母!</span></td>
          </tr>
          <tr>
            <td height="30" align="right">电子邮箱 * </td>
            <td><input name="email" type="text" class="boxb" id="email" maxlength="50" /> 
            <span id="email_msg"></span></td>
          </tr>
          <tr>
            <td height="30" align="right">验证码 * </td>
            <td>
			<input name="ChkCode" id="ChkCode" type="text" class="boxb" style="width:50px" maxlength="4" />
            <img src="code.asp" onClick="this.src=this.src+'?'"> <span id="ChkCode_msg"></span>			</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="35" bgcolor="#35D132" class="menu">&nbsp;个人信息</td>
      </tr>
      <tr>
        <td height="35"><table width="95%" border="0" align="center" cellpadding="3" cellspacing="2">
          <tr style="display:none" id="com">
            <td width="120" height="30" align="right">公司名称 * </td>
            <td><input name="company" type="text" class="boxb" id="company" maxlength="50" />            </td>
          </tr>
          <tr>
            <td width="120" height="30" align="right">真实姓名 * </td>
            <td><input name="realname" type="text" class="boxb" id="realname" maxlength="20" />
                <span id="realname_msg"></span></td>
          </tr>
          <tr>
            <td height="30" align="right">性别 * </td>
            <td><input type="radio" name="usersex" value="male" checked="checked" />
              男
              <input type="radio" name="usersex" value="female" />
              女</td>
          </tr>
          <tr>
            <td height="30" align="right">手机号码 * </td>
            <td><input name="mtel" type="text" class="boxb" id="mtel" maxlength="20" />
                <span id="mtel_msg"></span></td>
          </tr>
          <tr>
            <td height="30" align="right">QQ * </td>
            <td><input name="qq" type="text" class="boxb" id="qq" maxlength="15" />
                <span id="qq_msg"></span></td>
          </tr>
          <tr>
            <td height="30" align="right">现所在地 * </td>
            <td><select name="provinceid" style="width:100px" onchange="GetCity1(this.options[this.selectedIndex].value)">
                <%
				Call ConnectionDataBase
				Sql="Select provinceID,province From T_Province"
				SetRs Rs,Sql,conn,1,1
				IF Not Rs.Eof Then
				provinceID=Rs("provinceID")
				Do While Not Rs.eof
				%>
                <option value="<%=Rs("ProvinceID")%>"><%=Rs("Province")%></option>
                <%
				Rs.movenext
				Loop
				End IF
				DisRs Rs
				%>
              </select>
                <select name="cityid" id="cityid" style="width:100px" onchange="GetArea1(this.options[this.selectedIndex].value)">
                  <%
				Sql="Select cityID,city From T_City Where father='"& provinceID &"'"
				SetRs Rs,Sql,conn,1,1
				IF Not Rs.Eof Then
				cityID=Rs("cityID")
				Do While Not Rs.eof
				%>
                  <option value="<%=Rs("cityID")%>"><%=Rs("city")%></option>
                  <%
				Rs.movenext
				Loop
				End IF
				DisRs Rs
				%>
                </select>
                <select name="areaid" id="areaid" style="width:100px">
                  <%
				Sql="Select areaID,area From T_Area Where father='"& cityID &"'"
				SetRs Rs,Sql,conn,1,1
				IF Not Rs.Eof Then
				Do While Not Rs.eof
				%>
                  <option value="<%=Rs("areaID")%>"><%=Rs("area")%></option>
                  <%
				Rs.movenext
				Loop
				End IF
				DisRs Rs
				%>
                </select>            </td>
          </tr>
        
        </table></td>
      </tr>
      <tr>
        <td height="35">&nbsp;</td>
      </tr>
	    <tr>
            <td height="35"   bgcolor="#35D132" class="menu">&nbsp;&nbsp;密码问答（为找回密码时使用，请牢记）</td>
          </tr>
          <tr>
            <td height="35"><table width="95%" border="0" align="center" cellpadding="3" cellspacing="2">
                <tr>
                  <td width="120" height="30" align="right">问题： * </td>
                  <td><select name="question" id="question" style="width:150px" >
                      <option value="a">给自己起个别名吧</option>
                      <option value="b">我的名字是什么</option>
                      <option value="c">我最喜欢的运动是什么</option>
                  </select></td>
                </tr>
                <tr>
                  <td height="30" align="right">回答： * </td>
                  <td><input name="answer" type="text" class="boxb" id="answer" maxlength="15" />
                      <span id="answer_msg"></span></td>
                </tr>
            </table></td>
          </tr>
      <tr>
        <td height="35" align="center"><input type="image" src="images/zxj_07.jpg" width="261" height="47" /> </td>
      </tr>
    </table>
	</form>
	</td>
  </tr>
</table>
</div>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="288"><a href="http://www.expowindow.com"><img src="images/djb_02.jpg" alt="会展招标网站LOGO" width="284" height="108" border="0" /></a></td>
    <td width="526" align="center"><img src="images/djb_05.jpg" width="333" height="100" alt="在线招标投标" /></td>
    <td width="176"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      
		<%IF Session("DjbUserName")<>"" Then
		'response.Write "<div style='float:left; margin-right:3px'>用户名："&Session("DjbUserName") & "</div>"
		%>
      <tr>
        <td height="52" colspan="2" align="center" class="fonthui">欢迎您：<%= Session("DjbUserName") %></td>
       </tr>
	  <%End IF%>	
      <tr>
        <td align="center" class="fonthui">
		<%IF Session("DjbUserName")<>"" Then
		'response.Write "<div style='float:left; margin-right:3px'>用户名："&Session("DjbUserName") & "</div>"
		%>
		<a href="logout.asp" onclick="return Confirm('确定要注销账号吗?')"><img src="images/logout.jpg" alt="" width="51" height="27" align="absmiddle" /></a>
		<br style="clear:both" />
		<%Else%>
		<a href="javascript:showdiv('regtxt');"><img src="images/djb_12.jpg" width="62" height="27" alt="" /></a>
		<%End IF%>		</td>
        <td align="center">
		<%IF Session("DjbUserName")<>"" Then%>
		<a href="userinfor.asp"><img src="images/vip.jpg" alt="" width="62" height="27" border="0" /></a>
		<%Else%>
		<!--<a href="login.asp">--><a href="javascript:showdiv('logintxt');"><img src="images/djb_14.jpg" width="51" height="27" alt="" /></a>
		<%End IF%>		</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" height="44" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
  <tr>
    <td height="44" valign="top" background="images/djb_23.jpg"><table width="990" border="0" align="center" cellpadding="0" cellspacing="0" background="images/djb_23.jpg">
      <tr>
        <td width="80" height="39" align="center"><a href="index.asp" class="huangfont14">首页</a></td>
        <td width="5" align="center" background="images/djb_23.jpg"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="118" align="center"><a href="zblist.asp" class="menu">招标投标</a></td>
        <td width="5" align="center"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="118" align="center"><a href="company.asp" class="menu">展览公司</a></td>
        <td width="5" align="center"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="118" align="center"><a href="jcpinpai.asp" class="menu">材料工厂</a></td>
        <td width="5" align="center"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="118" align="center"><a href="baike.asp" class="menu">会展百科</a></td>
        <td width="5" align="center"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="118" align="center"><a href="wenwen.asp" class="menu">会展问答</a></td>
        <td width="5" align="center"><img src="images/djb_31.jpg" width="5" height="34" alt="" /></td>
        <td width="110" align="center"></td>
        <td width="5" align="center">&nbsp;</td>
        <td height="40" align="right" valign="bottom"></td>
        </tr>
    </table>
    </td>
  </tr>
</table>
