<!--#include file="../../include/jschedule/schedule.asp"-->
<%
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
'   ESMPRO/JMSS WebClient (JSchedule) Version 6.0
'   Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001
'   All rights reserved
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
' Path from root : jschedule/schedule/mainHeader.asp
 ' Last Update    : 2001.04.16
'**Start Encode**

    Dim datSrvDate  'w

    '*** JMSST[ot̎擾(l) ***
     datSrvDate = CDate(Session("jsch").JSchServerDate(Session("jserver")))

    '[h̕ϐ
    Session("nDispMode") = 1
    Session("nYear")  = Year(datSrvDate)
    Session("nMonth") = Month(datSrvDate)
    Session("nDay")   = Day(datSrvDate)
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>JMSS</title>
<link rel="stylesheet" type="text/css" href="../../include/jmss.css">
<script src="../../include/functions.js"></script>
<script type="text/javascript" src="../../include/jschedule/datefunc.js"></script>
<script language="JavaScript">
<!--
function initDate(){
    with (document.f){
        //initYMD(nYear,nMonth,nDay,<%=Year(datSrvDate)%>,<%=Month(datSrvDate)%>,<%=Day(datSrvDate)%>);
        nYear.selectedIndex = <%=Year(datSrvDate)%> - 1994;
        nMonth.selectedIndex = <%=Month(datSrvDate)%> - 1;
        nDay.selectedIndex = <%=Day(datSrvDate)%> - 1;
        ReMakeDays(nYear,nMonth,nDay);
    }
}


function onChangeDays(){

    with(document.f){
        ReMakeDays(nYear,nMonth,nDay);
        nDispMode[1].checked = true;
        submit();
    }
}
//-->
</script>
</head>

<!-- ////////////////////////////// main section ////////////////////////////// -->
<body class="dialog" onLoad="javascript:initDate();">

<form name="f" method="POST" action="main.asp" target="main">

  <!-- menu -->
  <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
      <td class="menu" width="100%">
        <table>
          <tr>
            <td valign="middle" nowrap>XPW[ꗗ</td>

            <td>&nbsp;&nbsp;</td>
            <td valign="top" nowrap><input type="radio" name="nDispMode" value="0" onClick="document.f.submit();">Sꗗ</td>
            <td>&nbsp;&nbsp;</td>

            <td valign="top" nowrap>
              <input type="radio" name="nDispMode" value="1" onClick="document.f.submit();" checked>w
                <select Size=1 Name="nYear" onChange="onChangeDays();">
                <script Language="JavaScript">
                <!--
                    drawYearOptions();
                //-->
                </script>
                </select>N
                <select Size=1 Name="nMonth" onChange="onChangeDays();">
                <script Language="JavaScript">
                <!--
                    drawMonthOptions();
                //-->
                </script>
                </select>
                <select Size=1 Name="nDay" onChange="nDispMode[1].checked=true;submit();">
                <script Language="JavaScript">
                <!--
                    drawDayOptions();
                //-->
                </script>
                </select>
            </td>

            <!--
            <td valign="middle" nowrap><input type="submit" value="\"></td>
            -->
            <td valign="top" nowrap>
                <%
'                   If (Session("schCountPerPage") < Session("nCurColumn")) Then
'                       Response.Write "Õy[W"
'                   Else
'                        Response.Write "<a href='main.asp?nDirPage=-1' target='main'>"
'                        Response.Write "Õy[W"
'                        Response.Write "</a>"
'                   End If
                %>
            </td>
            <td valign="top" nowrap>
                <%
'                   If (Session("nMaxColumn") > Session("nCurColumn")) Then
'                        Response.Write "<a href='main.asp?nDirPage=1' target='main'>"
'                        Response.Write "̃y[W"
'                        Response.Write "</a>"
'                   Else
'                       Response.Write "̃y[W"
'                   End If
                %>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

</form>

</body>

</html>
