package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.util.*;
import java.sql.*;
import org.apache.log4j.Category;
import jp.co.sint.database.*;
import jp.co.sint.basic.*;
import jp.co.sint.tools.*;
import jp.co.sint.config.*;
import jp.co.sint.beans.front.*;
import jp.co.sint.beans.mallmgr.*;

public class man_cust_address_edit_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(4);
    _jspx_includes.add("/mallmgr/cust/../../include/man_chk_login_inc.jsp");
    _jspx_includes.add("/mallmgr/cust/../../include/man_meta_inc.jsp");
    _jspx_includes.add("/mallmgr/cust/../../include/man_header_popup_inc.jsp");
    _jspx_includes.add("/mallmgr/cust/../../include/man_footer_popup_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_actionErrors;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_format_pattern;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_currentTime_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody;

  public man_cust_address_edit_jsp() {
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_actionErrors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_format_pattern = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_currentTime_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_actionErrors.release();
    _jspx_tagPool_datetime_format_pattern.release();
    _jspx_tagPool_datetime_currentTime_nobody.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../../util/error.jsp", true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

//7.2.0 ST0325 追加
//7.4.0 ST2060 修正
      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : customer/addr_edit.jsp,v 1.0 2003/12/09 Exp $
 * @author      : Jinwang Chen
 * @Description : アドレス帳編集
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Jinwang Chen   2003/12/09  Original
 */

      out.write("\r\n");
//@ page contentType="text/html;charset=Shift_JIS" 
//7.2.0 ST0325 削除
      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**ユーザーログイン情報のチェックのセクション*/
      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_chk_login_inc.jsp,v 1.0 2003/10/01 Exp $
 * @author      : Jinwang Chen
 * @Description : 管理画面に管理者がログインでかどうかをチェックします。
 *                 ログインしなければ、自動的に管理のトップログイン画面への遷移
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/10/01  Original
 */

      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
SILogin manLogin=SIHTMLUtil.getLogin(request);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここから
      out.write("\r\n");
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(manLogin.isLogin(request));
      int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
      if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
          out.write("\r\n");
if (!SIConfig.SIWEBSHOP_MAN_DEVELOPING) {
          out.write("\r\n  ");
          /* ----  response:sendRedirect ---- */
          org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
          _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
          _jspx_th_response_sendRedirect_0.setParent(_jspx_th_webshop_isFalse_0);
          int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
          if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
              _jspx_th_response_sendRedirect_0.doInitBody();
            }
            do {
              out.print(SIURLMap.getHttpsUrl(request,"webshop.jsp.manager.login"));
              int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
//7.1.1 ST0174 修正
          out.write("\r\n");
}
          out.write("\r\n");
//7.3.0 ST2022 修正 ここから
          out.write("\r\n");
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
      out.write("\r\n");
      out.write("\r\n");

//ログ用のインスタンスの生成(common)
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
//本画面に関わるbeansのデータ
UICustAddress custAddrEditID=(UICustAddress)session.getAttribute(SIConfig.SISESSION_ADDR_EDIT_NAME);
if (custAddrEditID==null)custAddrEditID=new UICustAddress();

//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
//都道府県
Collection prefectureColl=SIPrefecture.getNameCollection(connection);

//各サイトの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String addrSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.address");
int spaceNum=18;

//7.3.0 ST2027 追加 ここから
String strDelFlg = request.getParameter("df");
if (SIUtil.isNull(strDelFlg)) {
  //strDelFlg = (String)request.getAttribute("df");
  strDelFlg = SIConfig.SIDEL_FLG_NORMAL;
}
//7.3.0 ST2027 追加 ここまで

      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<html LANG=\"ja-JP\">\r\n");
      out.write("<head>\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_meta_inc.jsp,v 1.0 2003/10/14 R.Tosaka Exp $
 * @author      : R.Tosaka
 * @Description : 管理画面共通で使用するmetaタグ用スクリプト
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * R.Tosaka       2003/10/14  Original
 */

      out.write("\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\">\r\n");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">");
      out.write("\r\n  ");
      out.write("<title>アドレス帳編集");
      out.write("</title>\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/style/SuperCSS.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\" SRC=\"");
      out.print(webshopSite);
      out.write("/script/SIAppCommon.js\">");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body onload=\"focusElement()\">\r\n");
      out.write("<form name=\"webshopFrm\" action=\"");
      out.print(addrSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<table width=\"800\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" summary=\"LayoutTable\">\r\n  ");
      out.write("<tr>");
      out.write("<td>");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_header_popup_inc.jsp,v 1.0 2003/07/28 jwchen Exp $
 * @author      : Shionoya Yoshiaki
 * @Description : 管理画面（ポップアップウィンドウ）に共通のヘッダ部分を表示するようのスクリプト
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Shionoya Yoshiaki      2004/01/30  Original
 */

      out.write("\r\n");
      out.write("<img src=\"");
      out.print(SIHTMLUtil.getRootPath(request));
      out.write("/image/mallmgr/WS_Title800.gif\" alt=\"Title\" width=\"100%\" height=\"30\">");
      out.write("</td>");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td width=\"100%\" valign=\"top\" class=\"Back_Edit_ScreenBG\">\r\n      ");
      out.write("<span class=\"Back_Edit_TitleText\">アドレス帳編集");
      out.write("</span>\r\n      ");
      out.write("<br>");
      out.write("<br>\r\n      ");
      out.write("<span class=\"Text_ErrorMessage\">\r\n      ");
      out.write("<ul>\r\n      ");
      if (_jspx_meth_webshop_actionErrors_0(pageContext))
        return;
      out.write("\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<span class=\"Text_Red_Small_Bold\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">・・・必須項目");
      out.write("</span>\r\n      ");
      out.write("<table width=\"760\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\" summary=\"入力欄\">\r\n        ");
      out.write("<tr class=\"Back_Edit_ScreenBG\">\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_HeaderCell\">項目");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_HeaderCell\">値");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            配送先呼称\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n              ");
      out.write("<input name=\"deliveryName\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getDeliveryName()));
      out.write("\" size=\"70\" maxlength=\"40\">");
//7.2.0 ST0670 修正
      out.write("\r\n              ");
      out.write("<span class=\"Text_UserMessage\">（例）親戚の家");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            宛名\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"deliveryAddressee\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getDeliveryAddressee()));
      out.write("\" size=\"70\" maxlength=\"50\">\r\n              ");
      out.write("<span class=\"Text_UserMessage\">（例）山田　太郎");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            郵便番号\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_HanSuuji.gif\" alt=\"半角数字\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"postCode1\" type=\"text\" class=\"Form_TextBox_imeInactive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getPostCode1()));
      out.write("\" size=\"5\" maxlength=\"3\">\r\n            -\r\n            ");
      out.write("<input name=\"postCode2\" type=\"text\" class=\"Form_TextBox_imeInactive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getPostCode2()));
      out.write("\" size=\"10\" maxlength=\"4\">\r\n            ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(SIZipConf.isExist());
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n            ");
          out.write("<INPUT TYPE=\"BUTTON\" NAME=\"zipBtn\" VALUE=\"住所検索\" OnClick=\"sendAction('");
          out.print(SIConfig.SIACTION_ZIPDIC);
          out.write("')\">\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n            ");
      out.write("<span class=\"Text_UserMessage\">（例）888-8888");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            住所１（都道府県）\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Tanitu.gif\" alt=\"単一選択\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_0.setPageContext(pageContext);
      _jspx_th_webshop_siselect_0.setParent(null);
      _jspx_th_webshop_siselect_0.setDefaultAlways("true");
      _jspx_th_webshop_siselect_0.setName("address1");
      _jspx_th_webshop_siselect_0.setDefault(custAddrEditID.getAddress1());
      _jspx_th_webshop_siselect_0.setCollection(prefectureColl);
      int _jspx_eval_webshop_siselect_0 = _jspx_th_webshop_siselect_0.doStartTag();
      if (_jspx_th_webshop_siselect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody.reuse(_jspx_th_webshop_siselect_0);
      out.write("\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            住所２（市区町村・番地）\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"address2\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getAddress2()));
      out.write("\" size=\"70\" maxlength=\"100\">\r\n            ");
      out.write("<span class=\"Text_UserMessage\">（例）××市××町1-11-11");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Space.gif\" alt=\"\" width=\"14\" height=\"1\">\r\n            住所３（ビル名・階など）\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"address3\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getAddress3()));
      out.write("\" size=\"70\" maxlength=\"100\">\r\n            ");
      out.write("<span class=\"Text_UserMessage\">（例）□□ビル");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Space.gif\" alt=\"\" width=\"14\" height=\"1\">\r\n            サロン名");
//7.3.0 PI-NES0501 修正
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"companyName\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getCompanyName()));
      out.write("\" size=\"70\" maxlength=\"100\">\r\n            ");
      out.write("<span class=\"Text_UserMessage\">（例）サロンビューティー");
      out.write("</span>");
//7.3.0 PI-NES0501 修正
      out.write("\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Space.gif\" alt=\"\" width=\"14\" height=\"1\">\r\n            会社名\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Zen.gif\" alt=\"全角\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"corporationName\" type=\"text\" class=\"Form_TextBox_imeActive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getCorporationName()));
      out.write("\" size=\"70\" maxlength=\"100\">\r\n            ");
      out.write("<span class=\"Text_UserMessage\">（例）株式会社ビューティー");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell_Label\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_Hissu.gif\" alt=\"必須\" width=\"14\" height=\"14\">\r\n            連絡先電話番号\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td valign=\"middle\" class=\"Back_Edit_DataCell\">\r\n            ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/lbl_HanSuuji.gif\" alt=\"半角数字\" width=\"60\" height=\"16\" align=\"middle\">\r\n            ");
      out.write("<input name=\"tel\" type=\"text\" class=\"Form_TextBox_imeInactive\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(custAddrEditID.getTel()));
      out.write("\" size=\"70\" maxlength=\"16\">\r\n              ");
      out.write("<span class=\"Text_UserMessage\">（例）0123456789");
      out.write("</span>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n      ");
      out.write("<br>\r\n      ");
      out.write("<table width=\"100%\" summary=\"ボタン\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"380\">&nbsp;");
      out.write("</td>\r\n          ");
if ( Integer.parseInt(strDelFlg) != Integer.parseInt(SIConfig.SIDEL_FLG_DELETE) ) { //7.3.0 ST2027 追加 
      out.write("\r\n          ");
      out.write("<td width=\"140\" align=\"right\">");
      out.write("<a href=\"javascript:sendAction('");
      out.print(SIConfig.SIACTION_RESET);
      out.write("')\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Reset.gif\" alt=\"リセット\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>");
//7.1.1 ST1090 修正
//7.2.0 ST0249 修正
      out.write("\r\n          ");
}  //7.3.0 ST2027 追加
      out.write("\r\n          ");
      out.write("<td width=\"140\" align=\"right\">");
      out.write("<a href=\"javascript:window.close()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Close.gif\" alt=\"閉じる\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>");
//7.1.1 ST1090 修正
      out.write("\r\n          ");
if ( Integer.parseInt(strDelFlg) != Integer.parseInt(SIConfig.SIDEL_FLG_DELETE) ) { //7.3.0 ST2027 追加 
      out.write("\r\n          ");
      out.write("<td width=\"140\" align=\"right\">");
      out.write("<a href=\"javascript:sendAction('");
      out.print(SIConfig.SIACTION_CONFIRM);
      out.write("')\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Confirm.gif\" alt=\"登録\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>");
//7.1.1 ST1090 修正
      out.write("\r\n          ");
}  //7.3.0 ST2027 追加
      out.write("\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>");
      out.write("<td width=\"100%\" height=\"20\">");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_footer_popup_inc.jsp,v 1.0 2004/01/30 Shionoya Exp $
 * @author      : Shionoya Yoshiaki
 * @Description : 管理画面（ポップアップ）に共通のフッタ部分を表示するようのスクリプト
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2004/01/30  Original
 */

      out.write("\r\n");
      out.write("<img src=\"");
      out.print(SIHTMLUtil.getRootPath(request));
      out.write("/image/mallmgr/WS_Footer800.gif\" alt=\"Footer\" width=\"100%\" height=\"20\">");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("<input type=\"hidden\" name=\"shc\" value=\"");
      out.print(custAddrEditID.getShopCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"cmc\" value=\"");
      out.print(custAddrEditID.getCmdtyCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"snc1\" value=\"");
      out.print(custAddrEditID.getStndrdCode1());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"ec1\" value=\"");
      out.print(custAddrEditID.getElementCode1());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"snc2\" value=\"");
      out.print(custAddrEditID.getStndrdCode2());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"ec2\" value=\"");
      out.print(custAddrEditID.getElementCode2());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"cuc\" value=\"");
      out.print(custAddrEditID.getCustCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"ac\" value=\"");
      out.print(custAddrEditID.getAddressCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"callflag\" value=\"");
      out.print(custAddrEditID.getCallFlag());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"");
      out.print(custAddrEditID.getActionNameTxt());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"editModeTxt\" value=\"");
      out.print(custAddrEditID.getEditModeTxt());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"custCompanyFlg\" value=\"0\">");
      out.write("<!-- 7.3.0 PI-NES5051 追加 -->\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

}catch(Exception e){
  e.printStackTrace();
  throw new ServletException();
}finally{
  databaseConnection.close();
}

    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_webshop_actionErrors_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:actionErrors ---- */
    jp.co.sint.taglib.SIActionErrorsTag _jspx_th_webshop_actionErrors_0 = (jp.co.sint.taglib.SIActionErrorsTag) _jspx_tagPool_webshop_actionErrors.get(jp.co.sint.taglib.SIActionErrorsTag.class);
    _jspx_th_webshop_actionErrors_0.setPageContext(pageContext);
    _jspx_th_webshop_actionErrors_0.setParent(null);
    int _jspx_eval_webshop_actionErrors_0 = _jspx_th_webshop_actionErrors_0.doStartTag();
    if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_webshop_actionErrors_0.setBodyContent(_bc);
        _jspx_th_webshop_actionErrors_0.doInitBody();
      }
      do {
        out.write("\r\n      下記のメッセージの発生日時は、");
        if (_jspx_meth_datetime_format_0(_jspx_th_webshop_actionErrors_0, pageContext))
          return true;
        out.write("です。\r\n      ");
        int evalDoAfterBody = _jspx_th_webshop_actionErrors_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_webshop_actionErrors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_actionErrors.reuse(_jspx_th_webshop_actionErrors_0);
    return false;
  }

  private boolean _jspx_meth_datetime_format_0(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_actionErrors_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:format ---- */
    org.apache.taglibs.datetime.FormatTag _jspx_th_datetime_format_0 = (org.apache.taglibs.datetime.FormatTag) _jspx_tagPool_datetime_format_pattern.get(org.apache.taglibs.datetime.FormatTag.class);
    _jspx_th_datetime_format_0.setPageContext(pageContext);
    _jspx_th_datetime_format_0.setParent(_jspx_th_webshop_actionErrors_0);
    _jspx_th_datetime_format_0.setPattern("yyyy/MM/dd HH:mm:ss");
    int _jspx_eval_datetime_format_0 = _jspx_th_datetime_format_0.doStartTag();
    if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_datetime_format_0.setBodyContent(_bc);
        _jspx_th_datetime_format_0.doInitBody();
      }
      do {
        if (_jspx_meth_datetime_currentTime_0(_jspx_th_datetime_format_0, pageContext))
          return true;
        int evalDoAfterBody = _jspx_th_datetime_format_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_datetime_format_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_format_pattern.reuse(_jspx_th_datetime_format_0);
    return false;
  }

  private boolean _jspx_meth_datetime_currentTime_0(javax.servlet.jsp.tagext.Tag _jspx_th_datetime_format_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:currentTime ---- */
    org.apache.taglibs.datetime.CurrentTimeTag _jspx_th_datetime_currentTime_0 = (org.apache.taglibs.datetime.CurrentTimeTag) _jspx_tagPool_datetime_currentTime_nobody.get(org.apache.taglibs.datetime.CurrentTimeTag.class);
    _jspx_th_datetime_currentTime_0.setPageContext(pageContext);
    _jspx_th_datetime_currentTime_0.setParent(_jspx_th_datetime_format_0);
    int _jspx_eval_datetime_currentTime_0 = _jspx_th_datetime_currentTime_0.doStartTag();
    if (_jspx_th_datetime_currentTime_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_currentTime_nobody.reuse(_jspx_th_datetime_currentTime_0);
    return false;
  }
}
