<%@ page language="C#" autoeventwireup="true" inherits="OnLineExam, App_Web_t61aasr1" theme="Themes" stylesheettheme="Themes" %>

<%@ Register Src="../UserControls/WinMediaPlayer.ascx" TagName="WinMediaPlayer" TagPrefix="uc1" %>
<!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="Content-Type" content="text/html; charset=utf-8" />
    <title></title>

    <script src="../js/artDialog3/artDialog.min.js"></script>

    <script>        (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>

       <script src="../Js/Common.js" type="text/javascript"></script>

    <script src="../Js/examGrid.js" type="text/javascript"></script>

    <script type="text/javascript" src="../js/jquery.js"></script>

    <%--    <link id="artDialogSkin" href="../js/skin/default.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../js/artDialog.js"></script>--%>

    <script type="text/javascript">
        //artDialog js的完美弹出层


        function showWrong(url) {
            var sURL = url;
            //            art.dialog({ id: 'myDialogNote', title: '查看错误试题', iframe: sURL, width: '750', height: '480', lock: true }).close(function() {
            //                //document.getElementById("btnBindData").click();
            //            });
            //            return false;


            art.dialog.open(url, { id: 'myDialogQuestion', title: '查看错误试题', width: '750px', height: '480px', lock: true });
        }

        function CheckEnd() {
            art.dialog({
                content: '已经是最后一题，请确定是否结束考试？',
                yesText: '结束考试',
                noText: '再次检查',
                lock: true,
                icon: 'confirm',
                yesFn: function() {
                    document.getElementById("btnEnd").click();
                    return true;
                    //return false; //如果返回false将阻止关闭
                },
                noFn: function() {

                    return true;
                } //为true等价于function(){}
            });
        }
  
    </script>

    <%--    <style type="text/css">
        ul
        {
            padding: 0;
            margin: 0;
            list-style: none;
            border-top: 1px solid blue;
            border-left: 1px solid blue;
            float: left;
        }
        li
        {
            padding: 3px 6px 3px 6px;
            margin: 0;
            float: left;
            border-bottom: 1px solid blue;
            border-right: 1px solid blue;
            border-collapse: collapse;
            font-size: 12px;
        }
        li:last
        {
            border-right: 1px solid blue;
        }
        a
        {
            text-decoration: none;
        }
        a:visited
        {
            color: Blue;
        }
        a:hover
        {
            color: Red;
            text-decoration: underline;
        }
    </style>--%>

    <script type="text/javascript">
        function retrun() {
            window.history.go(-1);
        }

        var dates = new Date();
        var standate = new Date(dates.getYear(), dates.getMonth(), dates.getDate(), dates.getHours(), dates.getMinutes(), dates.getSeconds());
        var betweendays = 0;
        //var endminutes = 2 * 60;


        function getExamTime() {
            //alert('getExamTime');
            var timeleave = top.window.document.getElementById('topFrame').contentWindow.document.getElementById('timeleave');
            timeleave.value = document.getElementById('txtExamTime').value;

        }

        function setTimeEnd() {
            var timeleave = top.window.document.getElementById('topFrame').contentWindow.document.getElementById('timeleave');
            if (timeleave.value == undefined || new Number(timeleave.value) == 0)  //not exam time restrict.
            {
                //document.getElementById('lblLeavetime').style.display = 'none';
                return;
            }

            var endminutes = new Number(timeleave.value) - 1;
            timeleave.value = new Number(timeleave.value) - 1;

            var strdisplay;
            strdisplay = parseInt(endminutes / 60) + "分" + endminutes % 60 + '秒';
            $("#timer").html(strdisplay)
            //document.getElementById('timer').innerText = strdisplay;
            //document.all.txtminute.value = strdisplay;
            if (endminutes <= 0) {
                stopExam();
                alert("时间到！");
                return;
            }
            setTimeout("setTimeEnd()", 1000);
        }

        function stopExam() {
            //__doPostBack("btnEnd", "");
            //alert(9);
            document.getElementById("btnEnd").onclick = null;
            document.getElementById("btnEnd").click();
        }
        ///这个onbeforeunload方法，firefox不支持
        //        function window.onbeforeunload() {  
        //            if (event.clientX > document.body.clientWidth && event.clientY < 0 || event.altKey) {
        //                window.event.returnValue = " "; //"确定要退出本页吗？";
        //                //  window.location.href = 'busy.aspx';
        //            }

        //        }
 
    </script>

    <style type="text/css">
        .style1
        {
            width: 62px;
        }
        .style5
        {
            width: 447px;
        }
        .style6
        {
            background-image: url('../images/exam_title.gif');
            background-repeat: no-repeat;
            width: 760px;
            height: 33px;
            text-align: left;
        }
    </style>
</head>
<%-- <script type="text/javascript">
     function check() { 
        location
     }
</script>--%>
<body>
    <form id="form1" runat="server" autocomplete="Off">
    <table cellpadding="0" width="100%" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置： 在线考试</span>
                <span class="right_title">
                            
                            </span>
            </td>
            <td width="80px">
                <asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" 
                    SkinID="small_btn" Text="返回" />
            </td>
        </tr>
       
    </table>
    <table cellspacing="0" cellpadding="0" width="100%">
        <tr>
            <td width="170px" valign="top" class="exam_l_box">
                <table cellspacing="0" cellpadding="5" width="100%">
                    <tr>
                        <td align="right" colspan="2">
                            <asp:Button ID="btnStart" runat="server" Text="开始考试" OnClick="btnStart_Click" />
                            &nbsp;<asp:Button ID="btnEnd" runat="server" Text="结束考试" Enabled="False" OnClick="btnEnd_Click" />
                            <br />
                            <asp:Button ID="btnLock" runat="server" SkinID="big_btn" Text="查看错误试题" Visible="False"
                                OnClick="btnLock_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td width="80px" align="right">
                            及格分数：
                        </td>
                        <td align="left" >
                            <asp:Label ID="lblPassMark" runat="server" ForeColor="#0066A1"></asp:Label>
                            &nbsp;分
                        </td>
                    </tr>
                    <tr>
                        <td width="80px" align="right">
                            考试时长：
                        </td>
                        <td align="left" >
                            <asp:Label ID="lblExamTime" runat="server" ForeColor="#0066A1"></asp:Label>
                            &nbsp;分钟</td>
                    </tr>
                    <tr>
                        <td width="80px" align="right">
                            允许重考：
                        </td>
                        <td align="left" >
                            <asp:Label ID="lblExamCount" runat="server" ForeColor="#0066A1"></asp:Label>
                            次
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2">
                <asp:Panel ID="PanelMessage" runat="server" Visible="False">
                    <table width="100%">
                        <tr>
                            <td align="center">
                                <asp:Button ID="btnRed" runat="server" Text="" BackColor="White" Font-Bold="True"
                                    ForeColor="White" Width="40px" Height="20px" BorderStyle="Solid" BorderWidth="1px" BorderColor="Gray"  Enabled="False" SkinID="no_btn" />
                                &nbsp;<asp:Label ID="lblRed"
                                        runat="server" Text="未做题" Font-Size="12px"></asp:Label>
                                <br />
                                <asp:Button ID="btnGreen" runat="server" Text="" BorderStyle="Solid" BorderWidth="1px" BorderColor="Gray" BackColor="LightGreen" Font-Bold="True"
                                    ForeColor="LightGreen" Width="40px" Height="20px" Enabled="False" SkinID="no_btn" />
                                &nbsp;<asp:Label
                                        ID="lblGreen" runat="server" Text="已做题" Font-Size="12px"></asp:Label>
                                <br />
                                <asp:Button ID="btnBlue" runat="server" Text="" BorderStyle="Solid" BorderWidth="1px" BorderColor="Gray" BackColor="SkyBlue" Font-Bold="True"
                                    ForeColor="SkyBlue" Width="40px" Height="20px" Enabled="False" SkinID="no_btn" />
                                &nbsp;<asp:Label ID="lblBlue"
                                        runat="server" Text="当前题" Font-Size="12px"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" >
                            
                            <%--    <label id="lblLeavetime" style="margin-left: 100px; font-size: 12px;">
                                剩余时间：</label>--%>
                            <label id="timer" 
                                style="color: Red; font-weight: bold; font-family: 微软雅黑; font-size: large;">
                            </label>
                            <%--<input id="timeleave" value="120" />--%></td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2">
                            <asp:Label ID="lblExamInfo" runat="server" Font-Bold="True" ForeColor="#0099FF" 
                                Visible="False"></asp:Label>
                            <asp:TextBox ID="txtExamTime" runat="server" Width="16px"></asp:TextBox>
                             </td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2">
                            <asp:Label ID="lblProgress" runat="server" Font-Bold="True" ForeColor="#0099FF" 
                                Visible="true"></asp:Label>
                            </td>
                    </tr>
                </table>
            </td>
            <td width="*" valign="top" class="exam_r_box">
                <table cellspacing="0" cellpadding="5" width="100%">
                    <tr>
                        <td class="exam_r_title">
                            <span class="exam_r_title_font">
                                <asp:Label ID="lblExamName" runat="server"></asp:Label></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="exam_r_pic" valign="bottom">
                            <table cellspacing="0" cellpadding="2" width="100%">
                                <tr>
                                    <td align="center" style="padding-top: 0px;">
                                        <table width="100%" cellpadding="2" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <table width="100%" cellpadding="2" cellspacing="0">
                                                          <tr>
                                                <td class="style6" valign="top">
                                                    <span class="font_white"><asp:Label ID="lblNumber" runat="server" Visible="True" Font-Size="12px"></asp:Label></span> <span class="exam_font_tip"><font class="blue_font"> <asp:Label ID="lblType" runat="server" ForeColor="#0066A1"></asp:Label></font></span>
                                                </td>
                                            </tr>
                                                        <tr>
                                                            <td align="left">
                                                   
                                                                <asp:Label ID="lblTitle" runat="server"  Font-Size="12px"></asp:Label>
                                                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                             <asp:Label ID="lblMark" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Panel ID="PanelText" runat="server">
                                                        <table width="100%" cellpadding="2" cellspacing="0" height="200px">
                                                            <tr>
                                                                <td align="right" class="style5">
                                                                    <asp:Label ID="lblRight" runat="server" Text="正确" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:RadioButton ID="rbtnRight" runat="server" GroupName="check" Visible="False"  BackColor="White" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:Label ID="lblWrong" runat="server" Text="错误" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:RadioButton ID="rbtnWrong" runat="server" GroupName="check" Visible="False"  BackColor="White" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblA" runat="server" Width="5%" Font-Size="12px">A.</asp:Label>
                                                                    <asp:Label ID="lblAnswerA" runat="server" Width="90%" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgA" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerA" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerA" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  runat="server" />
                                                                    <asp:RadioButton ID="rbtnA" runat="server" GroupName="answer" Visible="False" 
                                                                        BackColor="White" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblB" runat="server" Width="5%" Font-Size="12px">B.</asp:Label>
                                                                    <asp:Label ID="lblAnswerB" runat="server" Width="90%" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgB" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerB" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerB" runat="server" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnB" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblC" runat="server" Width="5%" Visible="False" Font-Size="12px">C.</asp:Label>
                                                                    <asp:Label ID="lblAnswerC" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgC" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerC" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerC" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnC" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblD" runat="server" Width="5%" Visible="False" Font-Size="12px">D.</asp:Label>
                                                                    <asp:Label ID="lblAnswerD" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgD" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerD" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerD" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnD" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblE" runat="server" Width="5%" Visible="False" Font-Size="12px">E.</asp:Label>
                                                                    <asp:Label ID="lblAnswerE" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgE" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerE" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerE" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnE" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblF" runat="server" Width="5%" Visible="False" Font-Size="12px">F.</asp:Label>
                                                                    <asp:Label ID="lblAnswerF" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgF" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerF" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerF" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnF" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblG" runat="server" Width="5%" Visible="False" Font-Size="12px">G.</asp:Label>
                                                                    <asp:Label ID="lblAnswerG" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                                                                    <asp:Image ID="imgG" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerG" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerG" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnG" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" class="style5">
                                                                    <asp:Label ID="lblH" runat="server" Width="5%" Visible="False" Font-Size="12px">H.</asp:Label>
                                                                    <asp:Label ID="lblAnswerH" runat="server" Width="90%" Visible="False" Font-Size="12px">A</asp:Label>
                                                                    <asp:Image ID="imgH" runat="server" Height="120" Visible="False" Width="240" />
                                                                    <uc1:WinMediaPlayer ID="WinMediaPlayerH" runat="server" Height="50" Width="200" AutoRepeat="False"
                                                                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                                                                </td>
                                                                <td align="left">
                                                                    <asp:CheckBox ID="chkAnswerH" runat="server" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                    <asp:RadioButton ID="rbtnH" runat="server" GroupName="answer" Visible="False" BorderColor="#0066A1" BorderStyle="Solid" BorderWidth="1px"  />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td  align="left" valign="top" colspan="2">
                                                                   
                                                                        <asp:Label ID="lblRequest" runat="server" Width="10%" Visible="False" Text="答:"></asp:Label>
                                                                        <asp:TextBox
                                                                            ID="txtAnswer" runat="server" Width="90%" Height="100px" TextMode="MultiLine"
                                                                            Visible="False"></asp:TextBox>
                                                                        <asp:Panel ID="PanelCloze" runat="server">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze1" runat="server" Text="1" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze1" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze2" runat="server" Text="2" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze2" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze3" runat="server" Text="3" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze3" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze4" runat="server" Text="4" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze4" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze5" runat="server" Text="5" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze5" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze6" runat="server" Text="6" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze6" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze7" runat="server" Text="7" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze7" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblCloze8" runat="server" Text="8" Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtCloze8" runat="server" Visible="false" Width="335px" MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                 
                                                                        &nbsp;
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <asp:Button ID="btnUp" runat="server" Text="上一题" OnClick="btnUp_Click" Enabled="False" />
                                        &nbsp;&nbsp;
                                        <asp:Button ID="btnNext" runat="server" Text="下一题" Enabled="False" OnClick="btnNext_Click" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                         <asp:Panel ID="PanelContent" runat="server" Visible="False">
                </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>

<script type="text/javascript">
    //    function stopExam()
    //    {
    //        //__doPostBack("btnEnd", "");
    //        alert(9);
    //        document.getElementById("btnEnd").click();
    //    }
</script>

</html>
