<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>技术大会在线闯关游戏</title>
<style type="text/css">

*{overflow:hidden; font-size:9pt;}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(images/bg.gif);
	background-repeat: repeat-x;
}
lab
{
 font-size:x-large;
    }
        .style1
        {
            width: 58px;
        }

.button
{
            background: url('images/cancle.gif');
            height: 38px;
	        width: 101px;
        }
</style>
<!-- 判读如果在框架内自动跳出 -->
    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    //    function checkcontent() {
    //        var f = document.getElementById("mobile");
    //        if (f.value.replace(/(^\s*)|(\s*$)/g, "") == "") {
    //            alert('请填写签到手机号!');
    //            f.focus();
    //            return false;
    //        }
    //        return true;
    //    }

    function clearcontent() {
        var f = document.getElementById("mobile");
        f.value = "";
        f.focus();
    }
  </script>
   <script type="text/javascript" src="js/checkmobile.js"></script>
   <script type="text/javascript">
       function document.onkeydown() {                //网页内按下回车触发
           if (event.keyCode == 13) {
               document.getElementById("bt_start").click();
               return false;
           }
       }
 </script>
</head>
<body>
    <form id="form1" runat="server" >
    <div>
    <table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="561" style="background:url(images/lbg.gif)"><table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="238" style="background:url(images/login01.jpg)">&nbsp;</td>
          </tr>
          <tr>
            <td height="190"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="208" height="190" style="background:url(images/login02.jpg)">&nbsp;</td>
                <td width="518" style="background:url(images/login03.jpg)"><table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="40" height="50"><img src="images/user.gif" width="30" height="30"></td>
                    <td height="50" class="style1"><span style="font-size:13pt; font-weight:bold">手机号</span></td>
                    <td width="210" height="30"><input type="text" name="mobile" id="mobile" maxlength="11" onkeyup="value=value.replace(/[^\d]/g,'')" style="width:210px; height:40px; line-height:34px; background:url(images/inputbg.gif) repeat-x; border:solid 1px #d1d1d1; font-size:22pt; font-family:Verdana, Geneva, sans-serif;color: #0081ff;"/></td><td style=" width:98px;"> <span style="display: none; color:Red;" id="msg_tel_err"> </span> <span style="display: none; color:Green;" id="msg_tel_ok"> </span></td>
                  </tr>
                  <tr>
                    <td height="40">&nbsp;</td>
                    <td height="40" class="style1">&nbsp;</td>
                    <td height="30" colspan="2">
                        <asp:ImageButton ID="bt_start" runat="server" ImageUrl="~/images/login.gif" 
                            onclick="bt_start_Click"    OnClientClick=" return checkTel();" />
                        &nbsp; 
                       <img  src="images/cancle.gif" alt="清空数据" onclick="clearcontent();" style="cursor:pointer;"/>
                      </td>
                  </tr>
                </table></td>
                <td width="214" style="background:url(images/login04.jpg)" >&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="133" style="background:url(images/login05.jpg)">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
    </div>
    </form>
    

</body>
</html>
