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 java.io.*;
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.mallmgr.*;

public class man_cust_address_list_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_sipage_type_size_page_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_header;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_body;

  public man_cust_address_list_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_sipage_type_size_page_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_header = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_body = 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_sipage_type_size_page_id_collection.release();
    _jspx_tagPool_webshop_header.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_body.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 : mallmgr/cust/man_cust_address_list.jsp,v 1.0 2003/09/01 Exp $
 * @author      : Shionoya Yoshiaki
 * @Description : アドレス画面
 * @History
 * Author              Date        Reason
 * =================   ==========  ===========================
 * Shionoya Yoshiaki   2003/09/01  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");

/**
 * 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");

String webshopSite=SIHTMLUtil.getRootPath(request);
//ログ用のインスタンスの生成
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);

//データベースへのコネンクション
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
//データベースへのコネンクションの生成
Connection connection=databaseConnection.getConnection();

//7.2.0 ST1030 修正 ここから
String custCode = request.getParameter("cuc");
if (SIUtil.isNull(custCode)) {
  custCode = (String)request.getAttribute("cuc");
}

UIRegCust custEditID=new UIRegCust();
custEditID.setCustCode(custCode);
//custEditID.setCustCode(request.getParameter("cuc"));
custEditID.reset(connection);
//7.2.0 ST1030 修正 ここまで
//アドレス帳リスト
Collection addressColl=SICustAddress.getCollection(connection,custEditID.getCustCode());
//サイト
String addrSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.address");


      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("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction resetMode(n){\r\n  if(n==1){\r\n    sendAction('");
      out.print(SIConfig.SIACTION_NEW);
      out.write("');\r\n  }else if(n==2){\r\n    sendAction('");
      out.print(SIConfig.SIACTION_MODIFY);
      out.write("');\r\n  }\r\n  return true;\r\n}\r\nfunction goPopup(url,winName){\r\n  var win = window.open('',winName,'scrollbars=yes,width=820,height=460,status=yes,scrollbars=yes,resizable=yes');");
//7.1.1 ST1090 修正
      out.write("\r\n  win.focus();");
//7.1.1 ST1090 修正
      out.write("\r\n  win.location.href=url;");
//7.1.1 ST1090 修正
      out.write("\r\n}\r\ntitle=window.opener.document.title;\r\nfunction End(){\r\n  pre_title='新規受注登録（配送先選択）';\r\n  if(title==pre_title) window.opener.changeAmount('modify');\r\n  window.close()\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<form name=\"webshopForm\" 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 height=\"400\" 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("<table width=\"780\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\" summary=\"顧客\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"180\" class=\"Back_Edit_HeaderCell\">顧客名");
      out.write("</td>\r\n          ");
      out.write("<td width=\"250\" class=\"Back_Edit_HeaderCell\">顧客名カナ");
      out.write("</td>\r\n          ");
      out.write("\r\n          ");
      out.write("<td width=\"300\" class=\"Back_Edit_HeaderCell\" colspan=\"2\">メールアドレス");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td class=\"Back_Edit_DataCell\">");
      out.print(SIHTMLUtil.HTMLEncode(custEditID.getCustName()));
      out.write("</td>\r\n          ");
      out.write("<td class=\"Back_Edit_DataCell\">");
      out.print(SIHTMLUtil.HTMLEncode(custEditID.getCustPronName()));
      out.write("</td>\r\n          ");
      out.write("\r\n          ");
      out.write("<td class=\"Back_Edit_DataCell\">");
      out.print(SIHTMLUtil.HTMLEncode(custEditID.getEmail()));
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n      ");
      out.write("<br>");
      out.write("<br>\r\n      ");
      out.write("<table width=\"780\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\" summary=\"アドレス帳\">\r\n      ");
      /* ----  webshop:sipage ---- */
      jp.co.sint.taglib.SIPageTag _jspx_th_webshop_sipage_0 = (jp.co.sint.taglib.SIPageTag) _jspx_tagPool_webshop_sipage_type_size_page_id_collection.get(jp.co.sint.taglib.SIPageTag.class);
      _jspx_th_webshop_sipage_0.setPageContext(pageContext);
      _jspx_th_webshop_sipage_0.setParent(null);
      _jspx_th_webshop_sipage_0.setPage("pageNumberTxt");
      _jspx_th_webshop_sipage_0.setSize(9999);
      _jspx_th_webshop_sipage_0.setId("addressPage");
      _jspx_th_webshop_sipage_0.setType("jp.co.sint.basic.SICustAddress");
      _jspx_th_webshop_sipage_0.setCollection(addressColl);
      int _jspx_eval_webshop_sipage_0 = _jspx_th_webshop_sipage_0.doStartTag();
      if (_jspx_eval_webshop_sipage_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        java.lang.Integer index = null;
        java.lang.Integer indexOnPage = null;
        jp.co.sint.basic.SICustAddress addressPage = null;
        index = (java.lang.Integer) pageContext.findAttribute("index");
        indexOnPage = (java.lang.Integer) pageContext.findAttribute("indexOnPage");
        addressPage = (jp.co.sint.basic.SICustAddress) pageContext.findAttribute("addressPage");
        do {
          out.write("\r\n      ");
          /* ----  webshop:header ---- */
          jp.co.sint.taglib.SIHeaderTag _jspx_th_webshop_header_0 = (jp.co.sint.taglib.SIHeaderTag) _jspx_tagPool_webshop_header.get(jp.co.sint.taglib.SIHeaderTag.class);
          _jspx_th_webshop_header_0.setPageContext(pageContext);
          _jspx_th_webshop_header_0.setParent(_jspx_th_webshop_sipage_0);
          int _jspx_eval_webshop_header_0 = _jspx_th_webshop_header_0.doStartTag();
          if (_jspx_eval_webshop_header_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n        ");
              out.write("<tr>\r\n          ");
              out.write("<td width=\"100\" class=\"Back_Edit_HeaderCell\">配送先呼称");
              out.write("</td>\r\n          ");
              out.write("<td width=\"100\" class=\"Back_Edit_HeaderCell\">宛名");
              out.write("</td>\r\n          ");
              out.write("\r\n          ");
              out.write("<td width= \"60\" class=\"Back_Edit_HeaderCell\">郵便番号");
              out.write("</td>\r\n          ");
              out.write("<td width=\"220\" class=\"Back_Edit_HeaderCell\">住所");
              out.write("</td>\r\n          ");
              out.write("<td width=\"100\" class=\"Back_Edit_HeaderCell\">サロン名");
              out.write("</td>");
//7.3.0 PI-NES0501 修正
              out.write("\r\n          ");
              out.write("<td width= \"75\" class=\"Back_Edit_HeaderCell\">最終配送日");
              out.write("</td>\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(_jspx_th_webshop_header_0);
              _jspx_th_webshop_isTrue_0.setValue(SIUtil.notMatch(SIConfig.SIADMIN_MS_SS,manLogin.getAdminType()));
              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("<td width= \"40\" class=\"Back_Edit_HeaderCell\">&nbsp;");
                  out.write("</td>\r\n          ");
                  out.write("<td width= \"40\" class=\"Back_Edit_HeaderCell\">&nbsp;");
                  out.write("</td>\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("</tr>\r\n        ");
              int evalDoAfterBody = _jspx_th_webshop_header_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_header_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_header.reuse(_jspx_th_webshop_header_0);
          out.write("\r\n        ");
          /* ----  webshop:body ---- */
          jp.co.sint.taglib.SIBodyTag _jspx_th_webshop_body_0 = (jp.co.sint.taglib.SIBodyTag) _jspx_tagPool_webshop_body.get(jp.co.sint.taglib.SIBodyTag.class);
          _jspx_th_webshop_body_0.setPageContext(pageContext);
          _jspx_th_webshop_body_0.setParent(_jspx_th_webshop_sipage_0);
          int _jspx_eval_webshop_body_0 = _jspx_th_webshop_body_0.doStartTag();
          if (_jspx_eval_webshop_body_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n        ");
              out.write("<tr>\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getDeliveryName()));
              out.write("</td>\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getDeliveryAddressee()));
              out.write("</td>\r\n          ");
              out.write("\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getPostCode()));
              out.write("</td>\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getAddress()));
              out.write("</td>\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getCompanyName()));
              out.write("</td>\r\n          ");
              out.write("<td class=\"Back_Edit_DataCell\">");
              out.print(SIHTMLUtil.HTMLEncode(addressPage.getLastDeliveryDate()));
              out.write("</td>\r\n          ");
              /* ----  webshop:isTrue ---- */
              jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_1 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
              _jspx_th_webshop_isTrue_1.setPageContext(pageContext);
              _jspx_th_webshop_isTrue_1.setParent(_jspx_th_webshop_body_0);
              _jspx_th_webshop_isTrue_1.setValue(SIUtil.notMatch(SIConfig.SIADMIN_MS_SS,manLogin.getAdminType()) && !addressPage.getAddressCode().equals("0"));
              int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
              if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n          ");
                  out.write("<td class=\"Back_Edit_DataCell\">\r\n            ");
                  out.write("<a href=\"javascript:goPopup('");
                  out.print(addrSrvSite+"?a="+SIConfig.SIACTION_MODIFY+"&cuc="+custEditID.getCustCode()+"&ac="+addressPage.getAddressCode()+"&df="+custEditID.getDelFlg());
                  out.write("','editAddr')\">");
                  out.write("<img src=\"");
                  out.print(webshopSite);
                  out.write("/image/mallmgr/btn_S_Edit.gif\" alt=\"編集\" width=\"40\" height=\"20\" class=\"imgBtn\">");
                  out.write("</a>");
//7.1.1 ST1090 修正
//7.3.0 ST2027 修正
                  out.write("\r\n          ");
                  out.write("</td>\r\n          ");
                  out.write("<td class=\"Back_Edit_DataCell\">\r\n          ");
if ( custEditID.getDelFlg() != Integer.parseInt(SIConfig.SIDEL_FLG_DELETE) ) { //7.3.0 ST2027 追加 
                  out.write("\r\n            ");
                  out.write("<a href=\"javascript:sendUrlActionByData2('");
                  out.print(addrSrvSite);
                  out.write("','");
                  out.print(SIConfig.SIACTION_DELETE);
                  out.write("','cuc','");
                  out.print(custEditID.getCustCode());
                  out.write("','ac','");
                  out.print(addressPage.getAddressCode());
                  out.write("')\">");
                  out.write("<img src=\"");
                  out.print(webshopSite);
                  out.write("/image/mallmgr/btn_S_Delete.gif\" alt=\"削除\" width=\"40\" height=\"20\" class=\"imgBtn\">");
                  out.write("</a>");
//7.1.1 ST1090 修正
                  out.write("\r\n          ");
} //7.3.0 ST2027 追加 
                  out.write("\r\n          ");
                  out.write("</td>\r\n          ");
                  int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
//7.1.1 ST0225 修正
              out.write("\r\n          ");
              /* ----  webshop:isTrue ---- */
              jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_2 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
              _jspx_th_webshop_isTrue_2.setPageContext(pageContext);
              _jspx_th_webshop_isTrue_2.setParent(_jspx_th_webshop_body_0);
              _jspx_th_webshop_isTrue_2.setValue(SIUtil.notMatch(SIConfig.SIADMIN_MS_SS,manLogin.getAdminType()) && addressPage.getAddressCode().equals("0"));
              int _jspx_eval_webshop_isTrue_2 = _jspx_th_webshop_isTrue_2.doStartTag();
              if (_jspx_eval_webshop_isTrue_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n          ");
                  out.write("<td class=\"Back_Edit_DataCell\">&nbsp;");
                  out.write("</td>\r\n          ");
                  out.write("<td class=\"Back_Edit_DataCell\">&nbsp;");
                  out.write("</td>\r\n          ");
                  int evalDoAfterBody = _jspx_th_webshop_isTrue_2.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_webshop_isTrue_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_2);
//7.1.1 ST0225 修正
              out.write("\r\n        ");
              out.write("</tr>\r\n      ");
              int evalDoAfterBody = _jspx_th_webshop_body_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_body_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_body.reuse(_jspx_th_webshop_body_0);
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_sipage_0.doAfterBody();
          index = (java.lang.Integer) pageContext.findAttribute("index");
          indexOnPage = (java.lang.Integer) pageContext.findAttribute("indexOnPage");
          addressPage = (jp.co.sint.basic.SICustAddress) pageContext.findAttribute("addressPage");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_sipage_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sipage_type_size_page_id_collection.reuse(_jspx_th_webshop_sipage_0);
      out.write("\r\n      ");
      out.write("</table>\r\n      ");
      out.write("<table width=\"750\" summary=\"ボタン配置\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"500\" height=\"50\">");
      out.write("</td>\r\n          ");
      out.write("<td width=\"140\">\r\n            ");
      out.write("<a href=\"javascript:End()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Close.gif\" width=\"125\" height=\"30\" alt=\"閉じる\" class=\"imgBtn\">");
      out.write("</a>");
//7.1.1 ST1090 修正
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td width=\"140\">\r\n          ");
if ( custEditID.getDelFlg() != Integer.parseInt(SIConfig.SIDEL_FLG_DELETE) ) { //7.3.0 ST2027 追加 
      out.write("\r\n            ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_3 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_3.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_3.setParent(null);
      _jspx_th_webshop_isTrue_3.setValue(SIUtil.notMatch(SIConfig.SIADMIN_MS_SS,manLogin.getAdminType()));
      int _jspx_eval_webshop_isTrue_3 = _jspx_th_webshop_isTrue_3.doStartTag();
      if (_jspx_eval_webshop_isTrue_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n              ");
          out.write("<a href=\"javascript:goPopup('");
          out.print(addrSrvSite+"?a="+SIConfig.SIACTION_NEW+"&cuc="+custEditID.getCustCode());
          out.write("','newAddr')\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/btn_L_AddNew.gif\" alt=\"新規登録\" width=\"125\" height=\"30\" class=\"imgBtn\">");
          out.write("</a>");
//7.1.1 ST1090 修正
          out.write("\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_3);
      out.write("\r\n          ");
} //7.3.0 ST2027 追加 
      out.write("\r\n          ");
      out.write("</td>\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=\"actionNameTxt\" value=\"\">\r\n");
      out.write("<input type=\"hidden\" name=\"cuc\" value=\"\">\r\n");
      out.write("<input type=\"hidden\" name=\"ac\" value=\"\">\r\n");
      out.write("</table>\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);
    }
  }
}
