<!--#include file="../../Include/jschedule/calendar.asp"-->
<%
'jschedule/calendar/propFooter.asp  (Last Update 2001.02.19)
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
'   ESMPRO/JMSS WebClient (JSchedule) Version 6.0
'   Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001
'   All rights reserved
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
'**Start Encode**

    Dim nCalID
    '*** J_hc ***
    nCalID = Request.QueryString("nCalID")
%>
<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>
<!-- ///////////////////////// client script section ////////////////////////// -->
<script language="JavaScript">
<!--
var varFlgClose = null;
function onClick_Ok(){
    if (varFlgClose != true){
        varFlgClose = true;
//      top.opener.document.location.href = "main.asp?szRet=OK&nCalID=" + <% =nCalID %>;
        top.opener.document.location.replace("main.asp?szRet=OK&nCalID=" + <% =nCalID %>);
//      top.close();
    }
}

function onClick_Cancel(){
//  alert(top.opener.name);
    if (varFlgClose != true){
        varFlgClose = true;
      //top.opener.document.location.href = "main.asp?szRet=CANCEL&nCalID=" + <% =nCalID %>;
        top.opener.document.location.replace("main.asp?szRet=CANCEL&nCalID=" + <% =nCalID %>);
      //top.close();
    }
}

function onClick_Delete(){
    if (varFlgClose != true){
        if (<% =nCalID %> != 0){
            varRet = confirm("̃J_[폜܂B\n(폜ƌɂ͖߂܂B)\n\n낵łH\n");
            if (varRet){
                varFlgClose = true;
              //top.opener.document.location.href = "main.asp?szRet=DEL&nCalID=" + <% =nCalID %>;
                top.opener.document.location.replace("main.asp?szRet=DEL&nCalID=" + <% =nCalID %>);
              //top.close();
            }
        }
    }
}
//-->
</script>
</head>

<!-- ////////////////////////////// main section ////////////////////////////// -->
<body class="title">

<!-- menu -->
<!--<form method="POST" action="main.asp">-->
<form>
  <table border="0" cellspacing="1" align="right">
    <tr>
      <%
          If Session("nEditMode") = 1 Then
              '** XV[h **
              Response.Write "<td><input type='button' value='@n@j@' name='B1' onClick='onClick_Ok();'>    &nbsp;</td>"
              Response.Write "<td><input type='button' value='LZ' name='B2' onClick='onClick_Cancel();'>&nbsp;</td>"
              Response.Write "<td><input type='button' value='@@@' name='B3' onClick='onClick_Delete();'>&nbsp;</td>"
          Else
              '** Qƃ[h **
              Response.Write "<td><input type='button' value='@@' name='B2' onClick='top.close();'>&nbsp;</td>"
          End If
      %>
      <td><input type="button" value="w@@v" name="B4" onClick="popUpHelp('../../help/jschedule/propCalendar.htm');">&nbsp;</td>
    </tr>
  </table>
</form>

</body>

</html>
