<%@ Page Language="C#" AutoEventWireup="true" CodeFile="laborder.aspx.cs" Inherits="system_Lab_laborder" %>

<!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">
    <title></title>
    <link href="/App_Themes/SystemCSS/css/core.css" rel="stylesheet" type="text/css" />
    <link href="/App_Themes/SystemCSS/css/base.css" rel="stylesheet" type="text/css" />
    <script src="/App_Themes/SystemCSS/js/jquery-1.4.3.min.js" type="text/javascript"></script>
</head>


<body>
    <form id="form1" runat="server">
    <div class="right" id="RightHighSet">
        <div class="r_tit">
            <h2>实验室预约--<%=dr["Title"] %></h2>
        </div>
        <div class="t_h48"></div>
        <!--留空48PX-->
        <div class="r_bd" id="testtab">
            <div style="margin: 20px 0px 20px 40px">
                <asp:Calendar ID="CalPlan" runat="server" BackColor="#BBCCFF" BorderColor="#0099CC"
                    CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="Larger"
                    ForeColor="Blue" Height="90%" OnDayRender="CalPlan_DayRender" BorderWidth="1px"
                    Font-Bold="True" NextMonthText="下月" PrevMonthText="上月" 
                    ShowGridLines="True" Title="实验室预约"
                    Width="98%">
                    <SelectedDayStyle BackColor="#FF99CC" />
                    <TodayDayStyle BackColor="#FFFFCC" />
                    <SelectorStyle BackColor="#66AA77" />
                    <WeekendDayStyle BackColor="#FFCCFF" Height="40px" />
                    <OtherMonthDayStyle BackColor="#CCFFCC" Height="40px" />
                    <NextPrevStyle ForeColor="#CCCCFF" />
                    <DayHeaderStyle BackColor="#99AABB" Height="40px" />
                    <TitleStyle BackColor="#66AA77" Height="40px" />
                </asp:Calendar>
            </div>
        </div>
    </div>

    <script language="javascript">

        var MS = "IE";
        if (navigator.userAgent.indexOf("Firefox") > 0) {
            MS = "FF";
        }
        if (document.getElementById("RightHighSet") != null) {
            if (document.documentElement.clientHeight > 200) {
                document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
            }
        }

        var t = 0;

        window.onresize = function() {
            var now = new Date();
            now = now.getTime();
            if (now - t > 30) {
                if (document.getElementById("RightHighSet") != null) {
                    if (document.documentElement.clientHeight > 200) {
                        document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
                    }
                    t = now;
                }
            }
        }
    </script>

    </form>
</body>
</html>
