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.*;
import java.net.*;

public class addr_list_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(9);
    _jspx_includes.add("/sp/customer/../include/chk_userinfo_inc.jsp");
    _jspx_includes.add("/sp/include/header_inc.jsp");
    _jspx_includes.add("/sp/include/global_inc.jsp");
    _jspx_includes.add("/sp/include/mypage_menu_inc.jsp");
    _jspx_includes.add("/sp/include/footer_inc.jsp");
    _jspx_includes.add("/sp/include/modal_brand_inc.jsp");
    _jspx_includes.add("/sp/include/modal_menu_inc.jsp");
    _jspx_includes.add("/sp/include/modal_search_inc.jsp");
    _jspx_includes.add("/sp/include/modal_addr_list_input_form.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_encodeRedirectUrl;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_session_type_name_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_defaultAlways_default_collection_nobody;

  public addr_list_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_encodeRedirectUrl = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_session_type_name_id = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = 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_response_sendRedirect.release();
    _jspx_tagPool_response_encodeRedirectUrl.release();
    _jspx_tagPool_webshop_session_type_name_id.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.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;

    jp.co.sint.basic.SINameValue _jspx_headID2_1 = 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;

      out.write("\r\n");

/**
 * Copyright (c) 2003-2009 System Integrator Corporation. & Beautygarage Inc.
 *                 All Rights Reserved.
 * @version $Id : addr_list.jsp,v 2.0 2009/04/24 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : アドレス帳
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Naotaka        2009/04/24  Original
 */

      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/chk_userinfo_inc.jsp,v 1.0 2003/10/07 Exp $
 * @author      : Jinwang Chen
 * @Description : フロント側に、ユーザーがログイン情報を確認します。
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/07/28  Original
 */

      out.write("\r\n");
      out.write("\r\n\r\n");
SIUserInfo lUserInfo=SIHTMLUtil.getUserInfo(request);
      out.write("\r\n");
if (lUserInfo.isNotLogin(request) && !SIConfig.SIWEBSHOP_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(null);
      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.write("\r\n    ");
          /* ----  response:encodeRedirectUrl ---- */
          org.apache.taglibs.response.EncodeRedirectURLTag _jspx_th_response_encodeRedirectUrl_0 = (org.apache.taglibs.response.EncodeRedirectURLTag) _jspx_tagPool_response_encodeRedirectUrl.get(org.apache.taglibs.response.EncodeRedirectURLTag.class);
          _jspx_th_response_encodeRedirectUrl_0.setPageContext(pageContext);
          _jspx_th_response_encodeRedirectUrl_0.setParent(_jspx_th_response_sendRedirect_0);
          int _jspx_eval_response_encodeRedirectUrl_0 = _jspx_th_response_encodeRedirectUrl_0.doStartTag();
          if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_encodeRedirectUrl_0.setBodyContent(_bc);
              _jspx_th_response_encodeRedirectUrl_0.doInitBody();
            }
            do {
              out.print(SIHTMLUtil.getRootPath(request));
              out.write("/sp/customer/login.jsp");
              int evalDoAfterBody = _jspx_th_response_encodeRedirectUrl_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_encodeRedirectUrl_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_encodeRedirectUrl.reuse(_jspx_th_response_encodeRedirectUrl_0);
          out.write("\r\n  ");
          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);
      out.write("\r\n");
}
      out.write("\r\n");
      out.write("\r\n");


//本画面に関わるbeansのデータ
SIUserInfo userLogin = SIHTMLUtil.getUserInfo(request);

UICustAddress custAddr=(UICustAddress)session.getAttribute(SIConfig.SISESSION_ADDR_EDIT_NAME);
if (custAddr == null) {
  custAddr = new UICustAddress();
}
//各サイトの設定(common)

String mypageSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.mypage");
String custDeliSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.customer.delivery");	
String popupURL=custDeliSrvSite+"?a="+SIConfig.SIACTION_DELIVERY +"&shc=0";
//ログ用のインスタンスの生成(common)
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
SIUserInfo userInfo=SIHTMLUtil.getUserInfo(request);
//本画面に関わるbeansのデータ
UIDeliveryList deliveryListID=(UIDeliveryList)session.getAttribute(SIConfig.SISESSION_DELIVERY_LIST_NAME);
if (deliveryListID==null)deliveryListID=new UIDeliveryList();

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

//アドレス帳リスト
Collection addressColl=SICustAddress.getCollection(connection,userInfo.getCustCode());

//各サイトの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String addrSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.address");
String custSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.customer.delivery");
String mainSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.bed");
String mainSrvSiteOrg=SIURLMap.getUrl(request,"webshop.servlet.front.main");


      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html lang=\"ja\">\r\n");
      out.write("<head>\r\n  ");
      out.write("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\"/>\r\n  ");
      out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=Shift_JIS\" />\r\n  ");
      out.write("<title>配送先の追加/確認/変更 | 理美容器具・エステ機器・美容用品の卸販売 BEAUTY GARAGE");
      out.write("</title>\r\n  ");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />\r\n  ");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/base.css\" media=\"all\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/common.css\" media=\"all\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/style.css\" media=\"all\" />\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/jquery-1.9.1.min.js\">");
      out.write("</script>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/common.js\">");
      out.write("</script>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/idangerous.swiper.min.js\">");
      out.write("</script>\r\n");
      out.write("</head>\r\n\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\n\r\n// モーダル画面に値をセットする\r\nfunction setDeliveryData(row) {\r\n  // エラーメッセージ初期化\r\n  $(\"#inputErr\").html(\"\");\r\n  $(\"#deliveryNameErr\").html(\"\");\r\n  $(\"#deliveryAddresseeErr\").html(\"\");\r\n  $(\"#postCode1Err\").html(\"\");\r\n  $(\"#postCodeFormatErr\").html(\"\");\r\n  $(\"#postCode2Err\").html(\"\");\r\n  $(\"#postCodeFormatErr\").html(\"\");\r\n  $(\"#address2Err\").html(\"\");\r\n  $(\"#address3Err\").html(\"\");\r\n  $(\"#companyNameErr\").html(\"\");\r\n  $(\"#corporationNameErr\").html(\"\");\r\n  $(\"#telErr\").html(\"\");\r\n\r\n  if (row == \"\") {\r\n    // 新規追加の場合 \r\n    $(\"#deliveryName\").val(\"\");\r\n    $(\"#deliveryAddressee\").val(\"\");\r\n    $(\"#postCode1\").val(\"\");\r\n    $(\"#postCode2\").val(\"\");\r\n    $(\"select[name='address1']\").val(\"\");\r\n    $(\"#address2\").val(\"\");\r\n    $(\"#address3\").val(\"\");\r\n    $(\"#companyName\").val(\"\");\r\n    $(\"#corporationName\").val(\"\");\r\n    $(\"#tel\").val(\"\");\r\n    \r\n    $(\"#sh\").val(\"\");\r\n    $(\"#cmc\").val(\"\");\r\n    $(\"#snc1\").val(\"\");\r\n    $(\"#ec1\").val(\"\");\r\n    $(\"#snc2\").val(\"\");\r\n    $(\"#ec2\").val(\"\");\r\n    $(\"#ac\").val(\"\");\r\n    $(\"#callflag\").val(\"\");\r\n");
      out.write("    $(\"#actionNameTxt\").val(\"\");\r\n    $(\"#editModeTxt\").val(\"");
      out.print( SIConfig.SIEDIT_MODE_INSERT );
      out.write("\");\r\n    \r\n    return;\r\n  }\r\n\r\n  // 変更の場合\r\n  $(\"#deliveryName\").val($(\"#deliveryName_\" + row).val());\r\n  $(\"#deliveryAddressee\").val($(\"#deliveryAddressee_\" + row).val());\r\n  $(\"#postCode1\").val($(\"#postCode1_\" + row).val());\r\n  $(\"#postCode2\").val($(\"#postCode2_\" + row).val());\r\n  $(\"select[name='address1']\").val($(\"#address1_\" + row).val());\r\n  $(\"#address2\").val($(\"#address2_\" + row).val());\r\n  $(\"#address3\").val($(\"#address3_\" + row).val());\r\n  $(\"#companyName\").val($(\"#companyName_\" + row).val());\r\n  $(\"#corporationName\").val($(\"#corporationName_\" + row).val());\r\n  $(\"#tel\").val($(\"#tel_\" + row).val());\r\n  \r\n  $(\"#sh\").val($(\"#shc_\" + row).val());\r\n  $(\"#cmc\").val($(\"#cmc_\" + row).val());\r\n  $(\"#snc1\").val($(\"#snc1_\" + row).val());\r\n  $(\"#ec1\").val($(\"#ec1_\" + row).val());\r\n  $(\"#snc2\").val($(\"#snc2_\" + row).val());\r\n  $(\"#ec2\").val($(\"#ec2_\" + row).val());\r\n  $(\"#ac\").val($(\"#ac_\" + row).val());\r\n  $(\"#callflag\").val($(\"#callflag_\" + row).val());\r\n  $(\"#actionNameTxt\").val($(\"#actionNameTxt_\" + row).val());\r\n");
      out.write("  $(\"#editModeTxt\").val(\"");
      out.print( SIConfig.SIEDIT_MODE_UPDATE );
      out.write("\");\r\n  \r\n}\r\n\r\n// 削除処理\r\nfunction del(val){\r\n  if (!window.confirm('削除しますか?')) {\r\n    return;\r\n  }\r\n  with(document.addressDelForm){\r\n    action='");
      out.print(addrSrvSite);
      out.write("';\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_DELETE);
      out.write("';\r\n    ac.value=val;\r\n    submit();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<body>\r\n    ");
      out.write("<form name=\"addressDelForm\" action=\"");
      out.print(custSrvSite);
      out.write("\" method=\"post\">\r\n      ");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"\"/>\r\n      ");
      out.write("<input type=\"hidden\" name=\"ac\" value=\"\"/>\r\n    ");
      out.write("</form>\r\n    ");
      out.write("<a id=\"pageTop\">");
      out.write("</a>\r\n    ");
      out.write("<!--▽ページ上部共通：ここから▽-->\r\n    ");
      out.write("<!--▼ヘッダ：ここから▼-->\r\n    ");

/**
 * Copyright (c) 2003-2009 System Integrator Corporation. & Beautygarage Inc.
 *                 All Rights Reserved.
 * @version $Id : include/header_inc.jsp,v 2.0 2009/04/03 Naotaka Ohsugi Exp $
 * @author      : Naotaka Ohsugi
 * @Description : 共通ヘッダー
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Naotaka        2009/04/03  Original
 */

      out.write("\r\n");
      out.write("<script type=\"text/javascript\">\r\n  var _gaq = _gaq || [];\r\n  var pluginUrl = \r\n  '//www.google-analytics.com/plugins/ga/inpage_linkid.js';\r\n  _gaq.push(['_require', 'inpage_linkid', pluginUrl]);\r\n  _gaq.push(['_setAccount', 'UA-1040584-1']);\r\n  ");
 if(SIHTMLUtil.getUserInfo(request).isLogin(request)){
      out.write("\r\n  _gaq.push(['_setCustomVar', 1, 'registered', 'true', 1]);\r\n  _gaq.push(['_setCustomVar', 2, 'sessionlogin', 'true', 2]);\r\n  _gaq.push(['_setCustomVar', 3, 'islogin', 'true', 3]);\r\n  ");
} else {
      out.write("\r\n  _gaq.push(['_setCustomVar', 3, 'islogin', 'false', 3]);\r\n  ");
}
      out.write("\r\n  _gaq.push(['_setCustomVar', 4, 'viewmode', 'SP', 3]);\r\n  _gaq.push(['_setVar',navigator.userAgent]);\r\n  _gaq.push(['_trackPageview']);\r\n  (function() {\r\n    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\r\n    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';\r\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\r\n  })();\r\n  \r\n\t//for Google Tag Manager\r\n\tdataLayer= [{\r\n\t\t//'page_type' : '#ページカテゴリ#',\r\n\t\t'site_type':'m',\r\n\t\t//'customer_id':'#顧客ID#',\r\n\t\t//'product_id':'商品ID',\r\n\t\t//'keyword':'#サイト内検索キーワード#',\r\n\t\t//'order_id':'test',\r\n\t\t//'items':\r\n\t\t//\t\t   [\r\n\t\t//\t\t   {'id':'#商品ID1#','price':'#単価1#','qty':'#数量1#'},\r\n\t\t//\t\t   {'id':'#商品ID2#','price':'#単価2#','qty':'#数量2#'},\r\n\t\t//\t\t   {'id':'#商品ID3#','price':'#単価3#','qty':'#数量3#'}\r\n\t\t//\t\t   ]\r\n\t}];\r\n    \r\n");
      out.write("</script>\r\n");
      out.write("<!-- Google Tag Manager -->\r\n");
      out.write("<noscript>");
      out.write("<iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-K5Q24Q\"\r\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\">");
      out.write("</iframe>");
      out.write("</noscript>\r\n");
      out.write("<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\r\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\r\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\r\n'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\r\n})(window,document,'script','dataLayer','GTM-K5Q24Q');");
      out.write("</script>\r\n");
      out.write("<!-- End Google Tag Manager -->\r\n\r\n");
      out.write("<a id=\"pageTop\">");
      out.write("</a>\r\n");
      out.write("<!--▽ページ上部共通：ここから▽-->\r\n\r\n");
 //▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<!--▼ヘッダ：ここから▼-->\r\n  ");
      out.write("<header id=\"header\">\r\n    ");
      out.write("<p>4,000円以上で");
      out.write("<strong>通常送料無料");
      out.write("</strong>　17：00迄のご注文で");
      out.write("<strong>当日出荷");
      out.write("</strong>");
      out.write("</p>\r\n    ");
      out.write("<div id=\"header-inner\">\r\n    ");
if("http://www.beautygarage.jp/ws/main".equals(request.getRequestURL().toString())){
      out.write("\r\n");
      out.write("<h1 id=\"logo\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.main"));
      out.write("\">BEAUTY GARAGE Online Shop for Salon Professionals");
      out.write("</a>");
      out.write("</h1>\r\n");
}else{
      out.write("\r\n");
      out.write("<div id=\"logo\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.main"));
      out.write("\">BEAUTY GARAGE Online Shop for Salon Professionals");
      out.write("</a>");
      out.write("</div>\r\n");
}
      out.write("\r\n\r\n      ");
      out.write("<dl id=\"siteinfo\">\r\n        ");
      out.write("<dt>会員数：");
      out.write("</dt>\r\n        ");
      out.write("<dd>");
      out.write("<span class=\"num salonCnt\">");
      JspRuntimeLibrary.include(request, response, "/other/cust_count.txt", out, true);
      out.write("</span>店");
      out.write("</dd>\r\n        ");
      out.write("<dt>商品数：");
      out.write("</dt>\r\n        ");
      out.write("<dd>");
      out.write("<span class=\"num itemCnt\">");
      JspRuntimeLibrary.include(request, response, "/other/item_count.txt", out, true);
      out.write("</span>品");
      out.write("</dd>\r\n      ");
      out.write("</dl>\r\n      ");
      out.write("<nav id=\"hdFunc\">\r\n        ");
      out.write("<ul id=\"hdFunc-list\" class=\"typeFlat\">\r\n          ");
      out.write("<li id=\"hdFunc-menu\">");
      out.write("<a href=\"#menuContents\">メニュー");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li id=\"hdFunc-search\">");
      out.write("<a href=\"#searchContents\">商品を探す");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("</ul>\r\n      ");
      out.write("</nav>\r\n    ");
      out.write("</div>\r\n");
      out.write("</header>\r\n");
      out.write("<!--▲ヘッダ：ここまで▲-->\r\n");
      out.write("<!--▽予約割り当て済：ここから▽-->\r\n");
      /* ----  webshop:session ---- */
      jp.co.sint.taglib.SISessionTag _jspx_th_webshop_session_0 = (jp.co.sint.taglib.SISessionTag) _jspx_tagPool_webshop_session_type_name_id.get(jp.co.sint.taglib.SISessionTag.class);
      _jspx_th_webshop_session_0.setPageContext(pageContext);
      _jspx_th_webshop_session_0.setParent(null);
      _jspx_th_webshop_session_0.setName(SIConfig.SISESSION_USERINFO_NAME);
      _jspx_th_webshop_session_0.setId("uidHeader");
      _jspx_th_webshop_session_0.setType("jp.co.sint.basic.SIUserInfo");
      int _jspx_eval_webshop_session_0 = _jspx_th_webshop_session_0.doStartTag();
      if (_jspx_eval_webshop_session_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SIUserInfo uidHeader = null;
        uidHeader = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uidHeader");
        do {
          out.write("\r\n");
if (SIUtil.isNotNull(uidHeader.getCustCode())&&SIDBUtil.hasData(connection,"SELECT * FROM reserveordertbl WHERE reserveflg=1 AND ShopName<>'EYELASHGARAGE' AND (shipmaildatetime IS NULL OR shipmaildatetime::date + '7 days'::interval >= current_date) AND custcode="+uidHeader.getCustCode())){
          out.write("\r\n");
          out.write("<div id=\"reserveinfo\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reservelist"));
          out.write("\">ご予約商品が入荷しましたので決済を完了して下さい ≫");
          out.write("</a>");
          out.write("</div>\r\n");
}
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_session_0.doAfterBody();
          uidHeader = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uidHeader");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_session_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_session_type_name_id.reuse(_jspx_th_webshop_session_0);
      out.write("\r\n");
      out.write("<!--▲予約割り当て済：ここまで▲-->\r\n");
} //▲アプリでは非表示：ここまで▲ 
      out.write("\r\n\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/vex.css\" media=\"all\" />\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/vex.combined.min.js\">");
      out.write("</script>");
      out.write("\r\n    ");
      out.write("<!--▲ヘッダ：ここまで▲-->\r\n    ");
      out.write("<!--▼グローバル：ここから▼-->\r\n    ");
      out.write("\r\n\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/global_inc.css\" media=\"all\" />\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.cookie.js\">");
      out.write("</script>\r\n");
      out.write("<!--¥O[oF±±©ç¥-->\r\n");
      out.write("<nav id=\"global\">\r\n  ");
      out.write("<ul class=\"clr\">\r\n    ");
      out.write("<li id=\"global-mypage\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.mypage"));
      out.write("\">}Cy[W");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li id=\"global-favorite\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.mypage"));
      out.print(SIHTMLUtil.HTMLEncode("/a/" + SIConfig.SIACTION_LIST));
      out.write("\">¨CÉüè");
      out.write("</a> ");
      out.write("<span id=\"global-mypage_count\" class=\"global_count\">");
      out.write("</span>");
      out.write("</li>\r\n    ");
      out.write("<li id=\"global-history\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage/a/list2\">Åß©½¤i");
      out.write("</a> ");
      out.write("<span id=\"global-checkhistory_count\" class=\"global_count\">");
      out.write("</span>");
      out.write("</li>\r\n    ");
      out.write("<li id=\"global-repeat\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage/a/list3\">æ­wü·é¤i");
      out.write("</a> ");
      out.write("<span id=\"global-favoriteitem_count\" class=\"global_count\">");
      out.write("</span>");
      out.write("</li>\r\n    ");
      out.write("<li id=\"global-cart\"> ");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.cart"));
      out.write("\">J[g");
      out.write("</a> ");
      out.write("<span id=\"global-cart_count\" class=\"global_count\">");
      out.write("</span>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</nav>\r\n");
      out.write("<!--£O[oF±±ÜÅ£-->\r\n\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/jquery.globalFavoriteCnt.js\">");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/jquery.globalCartCnt.js\">");
      out.write("</script>\r\n\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("<!-- \r\n//¨CÉüè\r\nvar favoriteStr = $.cookie(\"ws_favoriteBG\");\r\nif (favoriteStr == null) {\r\n  $(\"#global-mypage_count\").html(\"\");\r\n} else {\r\n  var favoriteArray = favoriteStr.split(\",\");\r\n  var favoriteCnt = favoriteArray.length;\r\n  if (favoriteCnt == 0) favoriteCnt = \"\";\r\n  $(\"#global-mypage_count\").html(favoriteCnt);\r\n}\r\n\r\n// Åß©½¤iÌJEg\r\nvar historyStr = $.cookie(\"ws_historyBG\");\r\nif (historyStr == null) {\r\n  $('#global-checkhistory_count').html(\"\");\r\n} else {\r\n  var historyArray = $.cookie(\"ws_historyBG\").split(\",\");\r\n  var history_count = historyArray.length;\r\n  if (history_count == 0) {\r\n    history_count = \"\";\r\n  }\r\n  $('#global-checkhistory_count').html(history_count);\r\n}\r\n\r\n\r\n-->\r\n");
      out.write("</script>\r\n\r\n");
 //¥AvÅÍñ\¦F±±©ç¥
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n\r\n");
} //£AvÅÍñ\¦F±±ÜÅ£
 else { //¥AvÅÌÝ\¦F±±©ç¥
 
    Cookie[] cookies = request.getCookies();
    Cookie cmdtyCookieOrgFavoriteBG = null;
    Cookie cmdtyCookieOrgHistoryBG  = null;
    
    if (cookies != null) {
      for (int i = 0; i < cookies.length; i++) {
        if (cookies[i].getName().equals(SIApiConf.COOKIE_NAME_WS_FAVORITEBG)){
          cmdtyCookieOrgFavoriteBG = cookies[i];
        }
        if (cookies[i].getName().equals(SIApiConf.COOKIE_NAME_WS_HISTORYBG)){
          cmdtyCookieOrgHistoryBG = cookies[i];
        }
        if (cmdtyCookieOrgFavoriteBG != null && cmdtyCookieOrgHistoryBG != null) {
          break;
        }
      }
    }
    
    // ¨CÉüè
    String mycatalogCnt = "0";
    if (cmdtyCookieOrgFavoriteBG != null) {
      String cookieStr = cmdtyCookieOrgFavoriteBG.getValue();
      if (SIUtil.isNotNull(cookieStr)) {
        String[] favoriteItems = URLDecoder.decode(cmdtyCookieOrgFavoriteBG.getValue(),"Shift_JIS").split(",");
        mycatalogCnt = String.valueOf(favoriteItems.length);
      }
    }
    // Åß©½¤i
    String historyCnt = "0";
    if (cmdtyCookieOrgHistoryBG != null) {
      String cookieStr = cmdtyCookieOrgHistoryBG.getValue();
      if (SIUtil.isNotNull(cookieStr)) {
        String[] historyItems = URLDecoder.decode(cmdtyCookieOrgHistoryBG.getValue(),"Shift_JIS").split(",");
        historyCnt = String.valueOf(historyItems.length);
      }
    }
   // æ­wü·é¤i
    Collection favoriteColl2 = null;
    if (SIHTMLUtil.getUserInfo(request).isNotLogin(request)) {
      favoriteColl2 = new ArrayList();
    }else {
      //Connection connection = databaseConnection.getConnection();
      favoriteColl2 = UICampaign.getFavoriteItems(connection,request,200);
      if (favoriteColl2 == null) favoriteColl2 = new ArrayList();
    }

    String favoriteCnt = String.valueOf(favoriteColl2.size());
    // J[gü
    SICartManager headerCart = (SICartManager) session.getAttribute(SIConfig.SISESSION_CART_INFO_NAME);
    if (headerCart == null) headerCart = new SICartManager();
    String cartCnt = headerCart.getAmount(); 

/*
    JSONObject obj = new JSONObject();
    obj.put("result",SIApiConf.RESULT_OK);
    obj.put("mypage_id","1");
    obj.put("mycatalog_id","2");
    obj.put("mycatalog_count",mycatalogCnt);
    obj.put("history_id","3");
    obj.put("history_count",historyCnt);
    obj.put("favorite_id","4");
    obj.put("favorite_count",favoriteCnt);
    obj.put("cart_id","5");
    obj.put("cart_count",cartCnt);
    
    log.debug("[end]getCommonFooter");
    return obj;
*/

      out.write("\r\n\r\n");
      out.write("<iframe src=\"app://setBadgeNumber?mycatalog_count=");
      out.print(mycatalogCnt);
      out.write("&history_count=");
      out.print(historyCnt);
      out.write("&favorite_count=");
      out.print(favoriteCnt);
      out.write("&cart_count=");
      out.print(cartCnt);
      out.write("\" width=\"1\" height=\"1\" style=\"position:absolute; z-index:-1; top:-9999px;\">");
      out.write("</iframe>\r\n\r\n");
      out.write("<style type=\"text/css\">nav#global{position:absolute; z-index:-1; width:1px; height:1px; top:-9999px; left:-9999px;}");
      out.write("</style>\r\n\r\n");
} //£AvÅÌÝ\¦F±±ÜÅ£ 
      out.write("\r\n");
      out.write("\r\n    ");
      out.write("<!--▲グローバル：ここまで▲-->\r\n    ");
      out.write("<!--△ページ上部共通：ここまで△-->\r\n    ");
      out.write("<!--▽メイン：ここから▽-->\r\n    ");
      out.write("<div id=\"container\">\r\n    ");
      out.write("<!--▼パンくず：ここから▼-->\r\n    ");
      out.write("<nav id=\"yrHere\" class=\"swiper-container\">\r\n      ");
      out.write("<div class=\"swiper-wrapper\">\r\n        ");
      out.write("<ul class=\"horizontal clr swiper-slide\">\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(mainSrvSiteOrg);
      out.write("\">HOME");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.mypage"));
      out.write("\">マイページ");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>配送先の追加/確認/変更");
      out.write("</li>\r\n        ");
      out.write("</ul>\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</nav>\r\n    ");
      out.write("<!--▲パンくず：ここまで▲-->\r\n    ");
      out.write("<h1>配送先の追加/確認/変更");
      out.write("</h1>\r\n    ");
      out.write("<div class=\"inner\">\r\n    ");
 if (!custAddr.getInsertUpdateFlg().equals(""))  {
      out.write("\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(custAddr.getInsertUpdateFlg().equals(SIConfig.SIEDIT_MODE_INSERT));
      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("<p class=\"note\">配送先を追加しました。");
          out.write("<span style=\"color:red;\">新規登録した配送先を選択するには、戻って「配送先設定」を変更ください。");
          out.write("</span>");
          out.write("</p>\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      ");
      /* ----  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(custAddr.getInsertUpdateFlg().equals(SIConfig.SIEDIT_MODE_INSERT));
      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        ");
          out.write("<p class=\"note\">配送先情報を変更しました。");
          out.write("</p>\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      ");
 
      custAddr.setInsertUpdateFlg("");
    }
      out.write("\r\n    ");
      out.write("<form>\r\n    ");
 int row = 0; 
      out.write("\r\n    ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setId("addressID");
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICustAddress");
      _jspx_th_webshop_siiterator_0.setCollection(addressColl);
      int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
      if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICustAddress addressID = null;
        addressID = (jp.co.sint.basic.SICustAddress) pageContext.findAttribute("addressID");
        do {
          out.write("\r\n    ");
 row++; 
          out.write("\r\n    ");
          out.write("<div class=\"cartInfo corner\">\r\n      ");
          out.write("<h3 class=\"titLv2\">");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getDeliveryName()));
          out.write("</h3>\r\n      ");
          out.write("<div class=\"inner flex\">\r\n        ");
          out.write("<div class=\"flexEnable\">\r\n          ");
          out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">宛名");
          out.write("</th>\r\n              ");
          out.write("<td>&nbsp;");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getDeliveryAddressee()));
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n            ");
          out.write("<!-- \r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">フリガナ");
          out.write("</th>\r\n              ");
          out.write("<td>マキノ セイト");
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n             -->\r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">郵便番号");
          out.write("</th>\r\n              ");
          out.write("<td>&nbsp;");
          out.print(addressID.getPostCode());
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">都道府県");
          out.write("</th>\r\n              ");
          out.write("<td>&nbsp;");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddress1()));
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">住所");
          out.write("</th>\r\n              ");
          out.write("<td>&nbsp;");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddress2()));
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n            ");
          out.write("<tr>\r\n              ");
          out.write("<th scope=\"row\">電話番号");
          out.write("</th>\r\n              ");
          out.write("<td>&nbsp;");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getTel()));
          out.write("</td>\r\n            ");
          out.write("</tr>\r\n          ");
          out.write("</table>\r\n        ");
          out.write("</div>\r\n        ");
if(!addressID.getAddressCode().equals("0")){
          out.write("\r\n        ");
          out.write("<div class=\"\">\r\n          ");
          out.write("<p class=\"btn btnBl arrow\">");
          out.write("<a href=\"#changeAddress\" onclick=\"setDeliveryData('");
          out.print( row );
          out.write("');\" class=\"openModal\">変更");
          out.write("</a>");
          out.write("</p>\r\n          ");
          out.write("<p class=\"btn arrow\">");
          out.write("<a href=\"javascript:del('");
          out.print(addressID.getAddressCode());
          out.write("')\">削除");
          out.write("</a>");
          out.write("</p>\r\n        ");
          out.write("</div>\r\n        ");
 } 
          out.write("\r\n      ");
          out.write("</div>\r\n    ");
          out.write("</div>\r\n    ");
          out.write("<input type=\"hidden\" id=\"deliveryName_");
          out.print( row );
          out.write("\" name=\"deliveryName_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getDeliveryName()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"deliveryAddressee_");
          out.print( row );
          out.write("\" name=\"deliveryAddressee_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getDeliveryAddressee()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"postCode1_");
          out.print( row );
          out.write("\" name=\"postCode1_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getPostCode1()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"postCode2_");
          out.print( row );
          out.write("\" name=\"postCode2_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getPostCode2()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"address1_");
          out.print( row );
          out.write("\" name=\"address1_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddress1()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"address2_");
          out.print( row );
          out.write("\" name=\"address2_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddress2()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"address3_");
          out.print( row );
          out.write("\" name=\"address3_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddress3()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"companyName_");
          out.print( row );
          out.write("\" name=\"companyName_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getCompanyName()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"corporationName_");
          out.print( row );
          out.write("\" name=\"corporationName_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getCorporationName()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"tel_");
          out.print( row );
          out.write("\" name=\"tel_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getTel()));
          out.write("\"/>\r\n\r\n    ");
          out.write("<input type=\"hidden\" id=\"shc_");
          out.print( row );
          out.write("\" name=\"shc_");
          out.print( row );
          out.write("\" value=\"0\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"cmc_");
          out.print( row );
          out.write("\" name=\"cmc_");
          out.print( row );
          out.write("\" value=\"\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"snc1_");
          out.print( row );
          out.write("\" name=\"snc1_");
          out.print( row );
          out.write("\" value=\"\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"ec1_");
          out.print( row );
          out.write("\" name=\"ec1_");
          out.print( row );
          out.write("\" value=\"\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"snc2_");
          out.print( row );
          out.write("\" name=\"snc2_");
          out.print( row );
          out.write("\" value=\"2\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"ec2_");
          out.print( row );
          out.write("\" name=\"ec2_");
          out.print( row );
          out.write("\" value=\"2\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"ac_");
          out.print( row );
          out.write("\" name=\"ac_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(addressID.getAddressCode()));
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"callflag_");
          out.print( row );
          out.write("\" name=\"callflag_");
          out.print( row );
          out.write("\" value=\"cust\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"actionNameTxt_");
          out.print( row );
          out.write("\" name=\"actionNameTxt_");
          out.print( row );
          out.write("\" value=\"");
          out.print(addressID.getActionNameTxt());
          out.write("\"/>\r\n    ");
          out.write("<input type=\"hidden\" id=\"editModeTxt_");
          out.print( row );
          out.write("\" name=\"editModeTxt_");
          out.print( row );
          out.write("\" value=\"");
          out.print(SIConfig.SIEDIT_MODE_UPDATE);
          out.write("\"/>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          addressID = (jp.co.sint.basic.SICustAddress) pageContext.findAttribute("addressID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_0);
      out.write("\r\n      ");
      out.write("<div class=\"inner\">\r\n        ");
      out.write("<p class=\"btn btnBl arrow\">");
      out.write("<a href=\"#changeAddress\"  onclick=\"setDeliveryData('');\" class=\"openModal\">配送先を追加");
      out.write("</a>");
      out.write("</p>\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</form>\r\n  ");
      out.write("</div>\r\n  ");

String custSrvSiteForMyPageMenuInc=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.customer");
String custDeliSrvSiteForMyPageMenuInc = SIURLMap.getHttpsUrl(request,"webshop.servlet.front.customer.delivery");
String popupURLForMyPageMenuInc = custDeliSrvSiteForMyPageMenuInc+"?a="+SIConfig.SIACTION_DELIVERY +"&shc=0";
String mypageSrvSiteForMyPageMenuInc=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.mypage");
SIUserInfo userLoginForMyPageMenuInc = SIHTMLUtil.getUserInfo(request);


      out.write("\r\n");
      out.write("<!--▽メニュー：ここから▽-->\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction passEdit(){\r\n  with(document.userEditFormForMenu){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_MAIL2);
      out.write("';\r\n    action='");
      out.print(mypageSrvSiteForMyPageMenuInc);
      out.write("';\r\n    submit();\r\n  }\r\n}\r\nfunction custEdit(){\r\n  with(document.userEditFormForMenu){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_UPDATE);
      out.write("';\r\n    action='");
      out.print(mypageSrvSiteForMyPageMenuInc);
      out.write("';\r\n    submit();\r\n  }\r\n}\r\nfunction goPopup(url){\r\n  var win = window.open('','cust_addr','scrollbars=yes,status=yes,width=350,height=400,resizable=yes');\r\n  win.focus();\r\n  win.location.href=url;\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<form name=\"userEditFormForMenu\" action=\"");
      out.print(custSrvSiteForMyPageMenuInc);
      out.write("\" method=\"post\">\r\n");
      out.write("<div class=\"my-menu\">\r\n  ");
      out.write("<div>\r\n    ");
      out.write("<div class=\"maypage-menu-title\">マイページメニュー");
      out.write("</div>\r\n    ");
      out.write("<ul class=\"maypage-menu\">\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reservelist"));
      out.write("\">ご予約商品");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.orderhistory"));
      out.write("\">ご注文状況/履歴");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage?actionNameTxt=");
      out.print(SIConfig.SIACTION_MAIL);
      out.write("\">登録メールアドレスの確認・変更 ");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"javascript:passEdit();\">パスワードの変更");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print( popupURLForMyPageMenuInc );
      out.write("\">配送先の確認・変更 ");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"javascript:custEdit();\">その他のお客様情報の確認・変更");
      out.write("</a>");
      out.write("</li>\r\n");
 //▼アプリでのみ表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")!=-1) {
	 if (SIHTMLUtil.getUserInfo(request).isLogin(request)){ 
      out.write("\r\n       ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.logout"));
      out.write("\">ログアウト");
      out.write("</a>");
      out.write("</li>\r\n");
 }
 } //▲アプリでのみ表示：ここまで▲
      out.write("\r\n    ");
      out.write("</ul>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" name=\"email\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(userLoginForMyPageMenuInc.getEmail()));
      out.write("\"/>\r\n");
      out.write("<input type=\"hidden\" name=\"custName\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(userLoginForMyPageMenuInc.getCustName()));
      out.write("\"/>\r\n");
      out.write("</form>\r\n");
      out.write("<!--△メニュー：ここまで△-->");
      out.write("\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△メイン：ここまで△-->\r\n\r\n  ");
      out.write("<!--▽ページ下部共通：ここから▽-->\r\n  ");
      out.write("<!--▼フッタ：ここから▼-->\r\n  ");

/**
 * Copyright (c) 2003-2009 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/footer_inc.jsp,v 2.0 2009/04/07 Naotaka Ohsugi Exp $
 * @author      : Naotaka Ohsugi
 * @Description : 共通フッター
 * @History
 * Author        Date        Reason
 * ============  ==========  ===========================
 * Naotaka       2009/04/07  Original
 */

      out.write("\r\n");
 //▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<!--▽ページ下部共通：ここから▽-->\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/footer_inc.css\" media=\"all\" />\r\n");
      out.write("<div id=\"internalLinks\">\r\n  ");
      out.write("<ul class=\"linkList topBorder\">\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/catalog",false));
      out.write("\">カタログ・商品コードからのご注文");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/index.html",false));
      out.write("\">ご利用ガイド");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/shipping.html",false));
      out.write("\">送料");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li class=\"opener open\">");
      out.write("<a href=\"javascript:void(0);\">各種サポート");
      out.write("</a>\r\n      ");
      out.write("<ul class=\"child col-2 clr\">\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/guarantee.html",false));
      out.write("\">保証/アフターフォロー");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.search"));
      out.write("\">商品お探しします");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/repair.html",false));
      out.write("\">レザー張替サービス");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/setting.html",false));
      out.write("\">器具取付設置サービス");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/catalog_request",false));
      out.write("\">カタログ無料プレゼント");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/kaitori.html",false));
      out.write("\">器具買取サービス");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/srent.html",false));
      out.write("\">中古理美容機器レンタル");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/overseas_shipping.html",false));
      out.write("\">海外発送サービス");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("</ul>\r\n    ");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/showroom/index.html",false));
      out.write("\">ショールーム");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/form/sp/contact/",true));
      out.write("\">お問い合わせ");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<div id=\"socialLinks\" class=\"topBorder\">\r\n  ");
      out.write("<ul class=\"typeFlat\">\r\n    ");
      out.write("<li>");
      out.write("<a href=\"http://www.facebook.com/beautygarage.jp\" target=\"_blank\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/sp/lib_image/common/logo_facebook.png\" width=\"55\" height=\"55\" alt=\"公式Facebook\"/>");
      out.write("<br>公式Facebook");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"http://ameblo.jp/bg-pr/\" target=\"_blank\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/sp/lib_image/common/logo_blog_bg.png\" width=\"55\" height=\"55\" alt=\"BG広報ブログ\"/>");
      out.write("<br>BG広報ブログ");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"http://bgstaff.blog46.fc2.com/\" target=\"_blank\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/sp/lib_image/common/logo_blog_staff.png\" width=\"55\" height=\"55\" alt=\"\"/>");
      out.write("<br>スタッフブログ");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<div id=\"externalLinks\" class=\"topBorder\">\r\n  ");
      out.write("<ul id=\"groupLinks\" class=\"linkList\">\r\n    ");
      out.write("<li class=\"opener open\">");
      out.write("<a href=\"javascript:void(0);\">BGグループ総合コンシェルジュサービス");
      out.write("</a>\r\n      ");
      out.write("<ul class=\"child col-2 clr\">\r\n        ");
      out.write("<li id=\"groupLinks-eg\">");
      out.write("<a href=\"http://www.eyelashgarage.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">まつげ商材の卸・通販なら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">アイラッシュガレージ");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-fudousan\">");
      out.write("<a href=\"http://www.salonfudousan.net/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">不動産のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロン不動産ネット");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-design\">");
      out.write("<a href=\"http://www.salondesign.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">内装・外装のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロン店舗設計デザイン");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-hoken\">");
      out.write("<a href=\"http://www.salonhoken.net/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">総合保険のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロン保険ネット");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-system\">");
      out.write("<a href=\"http://www.salonsystem.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">システム導入のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロンシステムナビ");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-card\">");
      out.write("<a href=\"http://www.saloncard.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">クレジット決済のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロン決済ナビ");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-career\">");
      out.write("<a href=\"http://www.s-career.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">人材紹介のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロンキャリア");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-seminar\">");
      out.write("<a href=\"http://www.bgacademy.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">セミナー・スクールなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">BGアカデミー");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-tv\">");
      out.write("<a href=\"http://www.beauty-tv.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">eラーニングなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">SAKURA Beauty TV");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-shukyaku\">");
      out.write("<a href=\"http://www.shukyaku.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">集客支援・HP制作なら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">サロン集客ナビ");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li id=\"groupLinks-kaitori\">");
      out.write("<a href=\"http://www.biyoukaitori.jp/\" target=\"_blank\">\r\n          ");
      out.write("<span class=\"groupLinks-desc\">器具買取のことなら");
      out.write("</span>\r\n          ");
      out.write("<span class=\"groupLinks-name\">美容機器総合買取センター");
      out.write("</span>\r\n        ");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("</ul>\r\n    ");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n  ");
      out.write("<ul class=\"linkList\">\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/agreement/index.php",false));
      out.write("\">総合利用規約");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/agreement/gl_ec.php",false));
      out.write("\">オンラインショップガイドライン");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!--▼フッタ：ここから▼-->\r\n");
      out.write("<footer id=\"footer\" class=\"topBorder\">\r\n  ");
      out.write("<ul id=\"siteGuideSP\" class=\"typeFlat\">\r\n    ");
      out.write("<li>");
      out.write("<a href=\"http://www.beautygarage.co.jp/\">会社案内");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/privacy.html",false));
      out.write("\">プライバシーポリシー");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/overseas.html",false));
      out.write("\">OVERSEAS");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"http://www.beautygarage.co.jp/recruit/\">採用情報");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/law.html",false));
      out.write("\">特定商取引法に基づく表示");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/law2.html",false));
      out.write("\">古物営業法に基づく表示");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/switch.js\">");
      out.write("</script>\r\n  ");
      out.write("<div class=\"inner\" id=\"toPc_btn\">\r\n  ");
      out.write("<p class=\"btn arrow withIcoL\">");
      out.write("<a href=\"javascript:void(0);\" onClick=\"switchPC();\">");
      out.write("<span class=\"ico\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/sp/lib_image/common/ico_mark_pcsite-32.png\" width=\"16\" height=\"16\" alt=\"\">");
      out.write("</span>PC版はこちら");
      out.write("</a>");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<p id=\"copyright\"> &copy; BEAUTY GARAGE INC.  All Rights Reserved. ");
      out.write("</p>\r\n");
      out.write("</footer>\r\n");
      out.write("<!--▲フッタ：ここまで▲-->\r\n");
      out.write("<!--△ページ下部共通：ここまで△-->\r\n");
} //▲アプリでは非表示：ここまで▲ 
      out.write("\r\n\r\n");
      out.write("<!-- microad_blade_track -->\r\n");
      out.write("<script type=\"text/javascript\" class=\"microad_blade_track\">\r\n");
      out.write("<!--\r\nvar microad_blade_jp = microad_blade_jp || { 'params' : new Array(), 'complete_map' : new Object() };\r\n(function() {\r\nvar param = {'co_account_id' : '6140', 'group_id' : '', 'country_id' : '1', 'ver' : '2.1.0'};\r\nmicroad_blade_jp.params.push(param);\r\n\r\nvar src = (location.protocol == 'https:')\r\n? 'https://d-track.send.microad.jp/js/blade_track_jp.js' : 'http://d-cache.microad.jp/js/blade_track_jp.js';\r\n\r\nvar bs = document.createElement('script');\r\nbs.type = 'text/javascript'; bs.async = true;\r\nbs.charset = 'utf-8'; bs.src = src;\r\n\r\nvar s = document.getElementsByTagName('script')[0];\r\ns.parentNode.insertBefore(bs, s);\r\n})();\r\n-->\r\n");
      out.write("</script>\r\n");
      out.write("<!-- /microad_blade_track -->\r\n\r\n");
      out.write("<!-- Google Code for &#9733;&#12473;&#12510;&#12540;&#12488;&#12500;&#12463;&#12475;&#12523;&#12479;&#12464;_&#36890;&#31216;&#12473;&#12510;&#12500; -->\r\n");
      out.write("<!-- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. For instructions on adding this tag and more information on the above requirements, read the setup guide: google.com/ads/remarketingsetup -->\r\n");
      out.write("<script type=\"text/javascript\">\r\n/* ");
      out.write("<![CDATA[ */\r\nvar google_conversion_id = 1039187569;\r\nvar google_conversion_label = \"wAH0CPnclAcQ8fzC7wM\";\r\nvar google_custom_params = window.google_tag_params;\r\nvar google_remarketing_only = true;\r\n/* ]]> */\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"//www.googleadservices.com/pagead/conversion.js\">\r\n");
      out.write("</script>\r\n");
      out.write("<noscript>\r\n");
      out.write("<div style=\"display:inline;\">\r\n");
      out.write("<img height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"//googleads.g.doubleclick.net/pagead/viewthroughconversion/1039187569/?value=0&amp;label=wAH0CPnclAcQ8fzC7wM&amp;guid=ON&amp;script=0\"/>\r\n");
      out.write("</div>\r\n");
      out.write("</noscript>\r\n");
      out.write("<!-- /Remarketing tags -->\r\n\r\n");
      out.write("<!-- YDN Site Retargeting -->\r\n");
      out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n/* ");
      out.write("<![CDATA[ */\r\nvar yahoo_retargeting_id = 'O6ZPCD7WI6';\r\nvar yahoo_retargeting_label = '';\r\n/* ]]> */\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\" language=\"javascript\" src=\"//b92.yahoo.co.jp/js/s_retargeting.js\">");
      out.write("</script>\r\n");
      out.write("<!-- /YDN Site Retargeting -->");
      out.write("\r\n  ");
      out.write("<!--▲フッタ：ここまで▲-->\r\n  ");
      out.write("<!--△ページ下部共通：ここまで△-->\r\n  ");
      out.write("<!--▽モーダル：ここから▽-->\r\n  ");
      out.write("<div id=\"modalContentsWrap\">\r\n  ");
      out.write("<!--▽モーダル用メーカー・ブランドで探す：ここから▽-->\r\n    ");
Collection ctgryList = UICtgryGroup.getSpCtgryListColl(connection);
      out.write("\r\n");
      out.write("<!--▽モーダル用メーカー・ブランドで探す：ここから▽-->\r\n");
      out.write("<div id=\"brandContents\" class=\"modalContents\">\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<h2>メーカー・ブランドで探す");
      out.write("</h2>\r\n    ");
      out.write("<ul class=\"linkList\">\r\n      ");
      out.write("<li id=\"categoryOption\" class=\"opener color2\">");
      out.write("<a href=\"#\">カテゴリで絞り込む");
      out.write("</a>\r\n        ");
      out.write("<ul class=\"child col-2 clr\">\r\n          ");
      out.write("<li id=\"allCtgry\" class=\"selected\">");
      out.write("<a href=\"javascript:changeCtgry('all');\">すべて");
      out.write("</a>");
      out.write("</li>\r\n          ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_1.setParent(null);
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_1.setCollection(ctgryList);
      _jspx_th_webshop_siiterator_1.setId("headID");
      int _jspx_eval_webshop_siiterator_1 = _jspx_th_webshop_siiterator_1.doStartTag();
      if (_jspx_eval_webshop_siiterator_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n            ");
 if ("/".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n              ");
          out.write("<li id=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("Ctgry\">");
          out.write("<a href=\"javascript:changeCtgry('");
          out.print(headID.getValue().split(",")[1]);
          out.write("');\">");
          out.print(headID.getName());
          out.write("</a>");
          out.write("</li>\r\n            ");
 } 
          out.write("\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_1);
      out.write("\r\n        ");
      out.write("</ul>\r\n      ");
      out.write("</li>\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_2 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_2.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_2.setParent(null);
      _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_2.setCollection(ctgryList);
      _jspx_th_webshop_siiterator_2.setId("headID");
      int _jspx_eval_webshop_siiterator_2 = _jspx_th_webshop_siiterator_2.doStartTag();
      if (_jspx_eval_webshop_siiterator_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n        ");
 if ("/".equals(headID.getValue().split(",")[0])) {
             int group = 0;
             if (headID.getValue().split(",")[1].equals("hair")) {
               group = SIConfig.CTGRYGROUP_INX_HAIR;
             } else if (headID.getValue().split(",")[1].equals("haircosme")) {
               group = SIConfig.CTGRYGROUP_INX_HAIRCOSME;
             } else if (headID.getValue().split(",")[1].equals("esthe")) {
               group = SIConfig.CTGRYGROUP_INX_ESTHE;
             } else if (headID.getValue().split(",")[1].equals("bed")) {
               group = SIConfig.CTGRYGROUP_INX_BED;
             } else if (headID.getValue().split(",")[1].equals("cosme")) {
               group = SIConfig.CTGRYGROUP_INX_COSME;
             } else if (headID.getValue().split(",")[1].equals("nail")) {
               group = SIConfig.CTGRYGROUP_INX_NAIL;
             } else if (headID.getValue().split(",")[1].equals("book")) {
               group = SIConfig.CTGRYGROUP_INX_BOOK;
             } else if (headID.getValue().split(",")[1].equals("eyelash")) {
               group = SIConfig.CTGRYGROUP_INX_EYELASH;
             } else {
               continue;
             }
          out.write("\r\n           ");
          out.write("<span id=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\" style=\"display:none;\">\r\n            ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_3 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_3.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_3.setParent(_jspx_th_webshop_siiterator_2);
          _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SINameValue");
          _jspx_th_webshop_siiterator_3.setCollection(UIRegMaker.getFrontSearchCollection(connection,"",group));
          _jspx_th_webshop_siiterator_3.setId("headID2");
          int _jspx_eval_webshop_siiterator_3 = _jspx_th_webshop_siiterator_3.doStartTag();
          if (_jspx_eval_webshop_siiterator_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SINameValue headID2 = null;
            headID2 = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID2");
            do {
              out.write("\r\n            ");
 if (SIUtil.isNotNull(headID2.getValue())) {
              out.write("\r\n            ");
              out.write("<li>");
              out.write("<a href=\"javascript:goToAdvanceSearch('");
              out.print(headID2.getValue());
              out.write("', '");
              out.print(headID2.getName());
              out.write("','");
              out.print(headID.getValue().split(",")[1]);
              out.write("');\">");
              out.print(headID2.getName());
              out.write("</a>");
              out.write("</li>\r\n            ");
 } 
              out.write("\r\n            ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_3.doAfterBody();
              headID2 = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID2");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_siiterator_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_3);
          out.write("\r\n           ");
          out.write("</span>\r\n        ");
 } 
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_2.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_2);
      out.write("\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<span id=\"all\">\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_4 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_4.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_4.setParent(null);
      _jspx_th_webshop_siiterator_4.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_4.setCollection(UIRegMaker.getFrontSearchCollection(connection,SIConfig.SICATEGORY_ROOT_CODE));
      _jspx_th_webshop_siiterator_4.setId("headID");
      int _jspx_eval_webshop_siiterator_4 = _jspx_th_webshop_siiterator_4.doStartTag();
      if (_jspx_eval_webshop_siiterator_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValue headID = null;
        headID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID");
        do {
          out.write("\r\n      ");
 if (SIUtil.isNotNull(headID.getValue())) {
          out.write("\r\n      ");
          out.write("<li>");
          out.write("<a href=\"javascript:goToAdvanceSearch('");
          out.print(headID.getValue());
          out.write("', '");
          out.print(headID.getName());
          out.write("','');\">");
          out.print(headID.getName());
          out.write("</a>");
          out.write("</li>\r\n      ");
 } 
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_4.doAfterBody();
          headID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_4);
      out.write("\r\n      ");
      out.write("</span>\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<form id=\"advancedSearch\" name=\"advancedSearch\" action=\"");
      out.print(webshopSite);
      out.write("/advancedsearch\" method=\"get\">\r\n  ");
      out.write("<input type=\"hidden\" id=\"maker\" name=\"maker\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" id=\"selectedBrand\" name=\"selectedBrand\"  value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" id=\"active\" name=\"active\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"srchWordTxt\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"ctc\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"selectDaiCtgry\" value=\"no\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"selectTyuCtgry\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"dispModeTxt\" value=\"2\"/>\r\n");
      out.write("</form>\r\n");
      out.write("<!--△モーダル用メーカー・ブランドで探す：ここまで△-->\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar goToAdvanceSearch = function(maker, selectedBrand, active) {\r\n  $(\"#maker\").val(maker);\r\n  $(\"#selectedBrand\").val(selectedBrand);\r\n  $(\"#active\").val(active);\r\n  $(\"#advancedSearch\").submit();\r\n};\r\nvar preCtgry = \"all\";\r\nvar changeCtgry = function(ctgry){\r\n  $(\"#\"+preCtgry).css(\"display\", \"none\");\r\n  $(\"#\"+preCtgry + \"Ctgry\").removeClass(\"selected\");\r\n  $(\"#\"+ctgry).css(\"display\", \"block\");\r\n  $(\"#\"+ctgry + \"Ctgry\").addClass(\"selected\");\r\n  preCtgry = ctgry;\r\n}\r\n//-->\r\n");
      out.write("</script>");
      out.write("\r\n  ");
      out.write("<!--△モーダル用メーカー・ブランドで探す：ここまで△-->\r\n  ");
      out.write("<!--▽メニュー：ここから▽-->\r\n    ");
 SIUserInfo userLoginForMenu = SIHTMLUtil.getUserInfo(request); 
   String[] urlForMenu = request.getRequestURL().toString().split(webshopSite);
   String nidForMenu = "";
   if (urlForMenu.length == 2) {
     nidForMenu= urlForMenu[1];
   }
   if (nidForMenu.indexOf("logout") != -1) {
     nidForMenu = "";
   }

      out.write("\r\n\r\n");
      out.write("<!--▽メニュー：ここから▽-->\r\n");
      out.write("<div id=\"menuContents\" class=\"modalContents\">\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<h2>メニュー");
      out.write("</h2>\r\n    ");
      out.write("<ul class=\"linkList\">\r\n      ");
      out.write("<span id=\"login_menu\">\r\n      ");
      out.write("<li>");
      out.write("<a id=\"check_url\" href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+nidForMenu);
      out.write("\">ログイン");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<span id=\"logout_menu\">\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.logout"));
      out.write("\">ログアウト");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.mypage"));
      out.write("\">マイページ");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print("http://"+request.getServerName()+webshopSite);
      out.write("/guide/first.html\">はじめてのお客様");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/showroom/index.html",false));
      out.write("\">ショールームのご案内");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/catalog",false));
      out.write("\">カタログ・商品コードからのご注文");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/index.html",false));
      out.write("\">ご利用ガイド");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"opener open\">");
      out.write("<a href=\"javascript:void(0);\">各種サポート");
      out.write("</a>\r\n        ");
      out.write("<ul class=\"child col-2 clr\">\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/guarantee.html",false));
      out.write("\">保証/アフターフォロー");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.search"));
      out.write("\">商品お探しします");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/repair.html",false));
      out.write("\">レザー張替サービス");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/setting.html",false));
      out.write("\">器具取付設置サービス");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/catalog_request",false));
      out.write("\">カタログ無料プレゼント");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/kaitori.html",false));
      out.write("\">器具買取サービス");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/srent.html",false));
      out.write("\">中古理美容機器レンタル");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/overseas_shipping.html",false));
      out.write("\">海外発送サービス");
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("</ul>\r\n      ");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/guide/faq.html\">Q＆A");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/form/sp/contact/",true));
      out.write("\">お問い合わせ");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<!--△メニュー：ここまで△-->\r\n\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/jquery.modalMenuLoginCheck.js\">");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n$(document).ready(function() {\r\n\t$('a#check_url').each(function() {\r\n\t\tvar targetUrl = null;\r\n\t\tvar targetUrl = $(this).attr('href');\r\n\t\tif(targetUrl.indexOf('Srv/param') != -1){\r\n\t\t\tvar targetUrl = $(this).attr('href').replace('Srv/param','').replace('+','/');\r\n\t\t}else return;\r\n\t\t$(this).attr('href',targetUrl);\r\n\t});\t\r\n\t$('input#check_value').each(function() {\r\n\t\tvar targetValue = null;\r\n\t\tvar targetValue = $(this).attr('value');\r\n\t\tif(targetValue.indexOf('Srv/param') != -1){\r\n\t\t\tvar targetValue = $(this).attr('value').replace('Srv/param','').replace('+','/');\r\n\t\t}else return;\r\n\t\t$(this).attr('value',targetValue);\r\n\t});\r\n});\r\n");
      out.write("</script>\r\n");
      out.write("\r\n  ");
      out.write("<!--△メニュー：ここまで△-->\r\n  ");
      out.write("<!--▽モーダル用商品を探す：ここから▽-->\r\n    ");
      out.write("<!--▽モーダル用商品を探す：ここから▽-->\r\n");
      out.write("<div id=\"searchContents\" class=\"modalContents\">\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<h2>商品を探す");
      out.write("</h2>\r\n      ");
      out.write("<div id=\"searchBox\">\r\n    ");
      out.write("<form name=\"headerSearch\" action=\"");
      out.print(SIHTMLUtil.consURL(request, webshopSite, true) + "/advancedsearch");
      out.write("\" method=\"get\">\r\n      ");
      out.write("<input type=\"text\" name=\"srchWordTxt\" id=\"textSearchBox\" onKeyPress=\"enterSearchHead(event);\" placeholder=\"キーワードを入力\" >\r\n      ");
      out.write("<input type=\"submit\" id=\"headerSearchBtn\" value=\"検索\" onClick=\"headsearch();\">\r\n      ");
      out.write("<input name=\"cmdtyFlagTxt\" type=\"hidden\" value=\"sr\">\r\n      ");
      out.write("<input name=\"dispModeTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.DEFAULT_DISPMODE);
      out.write("\">\r\n      ");
      out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.SIACTION_LIST);
      out.write("\">\r\n      ");
      out.write("<input name=\"cmdtySortSel\" type=\"hidden\" value=\"2\">\r\n      ");
      out.write("<input name=\"pass\" type=\"hidden\" value=\"advancedsearch\">\r\n      ");
      out.write("<input name=\"active\" type=\"hidden\" value=\"advancedsearch\">\r\n    ");
      out.write("</form>\r\n  ");
      out.write("</div>\r\n    ");
      out.write("<!-- デフォルト -->\r\n    ");
      out.write("<ul class=\"linkList2 child2 col-2 clr\">\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_5 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_5.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_5.setParent(null);
      _jspx_th_webshop_siiterator_5.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_5.setCollection(UICtgryGroup.getSpCtgryListColl(connection));
      _jspx_th_webshop_siiterator_5.setId("headID");
      int _jspx_eval_webshop_siiterator_5 = _jspx_th_webshop_siiterator_5.doStartTag();
      if (_jspx_eval_webshop_siiterator_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n        ");
 if ("/".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n          ");
          out.write("<li>");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/");
          out.print(headID.getValue().split(",")[1]);
          out.write("\">");
          out.print(headID.getName());
          out.write("</a>");
          out.write("</li>\r\n        ");
 } 
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_5.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_5);
      out.write("\r\n      ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/used\">中古品・アウトレット品");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("</ul>  \r\n    ");
      out.write("<ul class=\"linkList\">  \r\n      ");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.advancedsearch"));
      out.write("\">詳細検索");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"");
      out.print("http://"+request.getServerName()+webshopSite);
      out.write("/listpickup/listpickup.html\">キャンペーン・特集から探す");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/main?actionNameTxt=ranking&inx=0\">人気商品ランキングから探す");
      out.write("</a>");
      out.write("</li>      \r\n      ");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"");
      out.print(mainSrvSite+"?actionNameTxt="+SIConfig.SIACTION_RECOMMEND+"&inx="+SIConfig.CTGRYGROUP_INX_ALL);
      out.write("\">新着おすすめ商品から探す");
      out.write("</a>");
      out.write("</li>\r\n      ");
 //▼iPhoneWebでのみ表示：ここから▼
      if ( (request.getHeader("user-agent").indexOf("bg-webview-")==-1) && (request.getHeader("user-agent").indexOf("iPhone")>0) ) { 
      out.write("\r\n      \t\t");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"https://itunes.apple.com/jp/app/id973916219?mt=8\">");
      out.write("<span style=\"  background: #f00; border: none; color: #FFF; padding: 2px; -webkit-border-radius: 5px; border-radius: 5px; -webkit-appearance: none; appearance: none;\">NEW");
      out.write("</span> バーコードから注文（スマホアプリ）");
      out.write("</a>");
      out.write("</li>\r\n      ");
} //▲iPhoneWebでのみ表示：ここまで▲ 
      out.write("\r\n      ");
 //▼AndroidWebでのみ表示：ここから▼
      if ( (request.getHeader("user-agent").indexOf("bg-webview-")==-1) && (request.getHeader("user-agent").indexOf("Android")>0) ) { 
      out.write("\r\n      \t\t");
      out.write("<li class=\"color2\">");
      out.write("<a href=\"https://play.google.com/store/apps/details?id=jp.co.beautygarage.android.bgsmartorder\">");
      out.write("<span style=\"  background: #f00; border: none; color: #FFF; padding: 2px; -webkit-border-radius: 5px; border-radius: 5px; -webkit-appearance: none; appearance: none;\">NEW");
      out.write("</span> バーコードから注文（スマホアプリ）");
      out.write("</a>");
      out.write("</li>\r\n      ");
} //▲AndroidWebでのみ表示：ここまで▲ 
      out.write("\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<!--△モーダル用商品を探す：ここまで△-->");
      out.write("\r\n  ");
      out.write("<!--△モーダル用商品を探す：ここまで△-->\r\n\r\n  ");
      out.write("<!--▽モーダル用フォーム：ここから▽-->\r\n    ");

//本画面に関わるbeansのデータ
UICustAddress custAddrEditID=(UICustAddress)session.getAttribute(SIConfig.SISESSION_ADDR_EDIT_NAME);
if (custAddrEditID==null)custAddrEditID=new UICustAddress();

//都道府県
Collection prefectureColl=SIPrefecture.getNameCollection(connection);

String title = "新規配送先登録";
if (custAddrEditID.getEditModeTxt().equals(SIConfig.SIEDIT_MODE_UPDATE)) title="配送先編集";


      out.write("\r\n");
      out.write("<form name=\"addressForm\" action=\"");
      out.print(addrSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar clickFlg = 0;\r\nfunction zipdic(){\r\n  with(document.addressForm){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_ZIPDIC);
      out.write("';\r\n    address1.value = encodeURIComponent(document.addressForm.address1.value);\r\n    //submit();\r\n  }\r\n\r\n  var rootPath = location.pathname.split('/')[1]; \r\n  var sendURL = '/' + rootPath + '/addr';\r\n  \r\n  if (clickFlg == 0){\r\n    clickFlg = 1;\r\n    var param = $('form[name=addressForm]').serialize();\r\n  \r\n    $.ajax({\r\n      type:'POST',\r\n      scriptCharset:'utf-8',\r\n      url:sendURL,\r\n      data:param,\r\n      dataType: 'html',\r\n      \r\n      success:function(data){\r\n        var t = data;\r\n        clickFlg = 0;\r\n          $.ajax({\r\n              type:'POST',\r\n              scriptCharset:'utf-8',\r\n              url:'/' + rootPath +'/sp/include/modal_addr_list_Address.jsp',\r\n              success:function(data){\r\n                clickFlg = 0;\r\n                \r\n                var addrArray = data.trim().split(\"/\");\r\n                if (addrArray[0] != \"\") {\r\n                  $(\"select[name='address1']\").val(addrArray[0]);\r\n                  $(\"#address2\").val(addrArray[1]);\r\n                }\r\n              },\r\n");
      out.write("              onFailure: function(request) { \r\n                clickFlg = 0;\r\n              },\r\n              onException: function (request) {\r\n                clickFlg = 0;\r\n              },\r\n              error: function(XMLHttpRequest, textStatus, errorThrown){\r\n                clickFlg = 0;\r\n              }\r\n            });\r\n \r\n      },\r\n      onFailure: function(request) { \r\n      },\r\n      onException: function (request) { \r\n      },\r\n      error: function(XMLHttpRequest, textStatus, errorThrown){\r\n        //();//エラーがでた場合の処理\r\n      }\r\n    });\r\n    \r\n  }else{\r\n    return;\r\n  }\r\n\r\n}\r\n\r\n// 半角カナチェック\r\nfunction hankakuKanaCheck(val) {\r\n  var regFlg = true;\r\n  var regMatch = null;\r\n  \r\n  // 空文字の場合チェックしない（正常で返す）\r\n  if (val == \"\") {\r\n    return regFlg;\r\n  }\r\n  \r\n  // 半角カナを含むかチェックする\r\n  regMatch = val.match(/[ｧ-ﾝﾞﾟ]/);\r\n  \r\n  // 結果がｎｕｌｌでない=半角カナありのため、false（エラー）を返す\r\n  if (regMatch != null) {\r\n    regFlg = false;\r\n  }\r\n  \r\n  return regFlg;\r\n}\r\n\r\n// 半角数字チェック\r\n//　引数が半角数字のみかチェックする\r\nfunction hankakuSujiCheck(val) {\r\n  var regFlg = true;\r\n");
      out.write("  var regMatch = null;\r\n  \r\n  // 空文字の場合チェックしない（正常で返す）\r\n  if (val == \"\") {\r\n    return regFlg;\r\n  }\r\n  \r\n  // 半角数字のみであるかチェックする\r\n  regMatch = val.match(/^[0-9]*$/);\r\n  \r\n  // 結果がｎｕｌｌ=半角数字なしのため、false（エラー）を返す\r\n  if (regMatch == null) {\r\n    regFlg = false;\r\n  }\r\n  \r\n  return regFlg;\r\n}\r\n\r\n// バイト数チェック\r\n// 引数の文字列が、指定したバイト数以内かチェックする\r\nfunction byteLengthCheck(val, size) {\r\n  \r\n  var valByteSize = 0;\r\n  \r\n  for (var i = 0; i ");
      out.write("< val.length; i++) {\r\n    var c = val.charCodeAt(i);\r\n    \r\n    // 半角文字が含まれる場合、+1、それ以外（全角）は+２する。\r\n    if ( (c >= 0x0 && c ");
      out.write("< 0x81) || (c == 0xf8f0) || (c >= 0xff61 && c ");
      out.write("< 0xffa0) || (c >= 0xf8f1 && c ");
      out.write("< 0xf8f4)) {\r\n      valByteSize += 1;\r\n    } else {\r\n      valByteSize += 2;\r\n    }\r\n  }\r\n  \r\n  // 指定されたサイズより大きい場合、falseを返す\r\n  if (valByteSize > size) {\r\n    return false;\r\n  }\r\n  \r\n  return true;\r\n}\r\n\r\n");
      out.write("<!-- 以下、項目ごとの入力チェック -->\r\n\r\n// 配送先名称のチェック\r\nfunction chkDeliveryName(val, flg) {\r\n  var result = true;\r\n  var itemName = \"deliveryNameErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n  \r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「配送先名称」は、必須入力項目です。\";\r\n    result = false;\r\n  }\r\n\r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「配送先名称」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n    \r\n  // 入力文字数が40バイトを超えていないか\r\n  if (byteLengthCheck(val, 40) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「配送先名称」は、全角40文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// お名前のチェック\r\nfunction chkDeliveryAddressee(val, flg) {\r\n  var result = true;\r\n  var itemName = \"deliveryAddresseeErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n  \r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「宛名」は、必須入力項目です。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「宛名」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 入力文字数が50バイトを超えていないか\r\n  if (byteLengthCheck(val, 50) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「宛名」は、全角50文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n//　チェック結果フラグ（郵便番号(上3桁)）\r\nvar chkPostCode1Flg;\r\n\r\n//　チェック結果フラグ（郵便番号(下4桁)用）\r\nvar chkPostCode2Flg;\r\n\r\n// 郵便番号(上3桁)のチェック\r\nfunction chkPostCode1(val, flg) {\r\n  var result = true;\r\n  var itemName = \"postCode1Err\";\r\n  var itemName2 = \"postCodeFormatErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n    itemName2 = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n    document.getElementById(itemName2).innerHTML = \"\";\r\n  }\r\n\r\n  chkPostCode1Flg = true;\r\n\r\n\r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「郵便番号(上3桁)」は、必須入力項目です。\";\r\n    result = false;\r\n    chkPostCode1Flg = false;\r\n  }\r\n  \r\n  // 半角数字チェック\r\n  if (hankakuSujiCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「郵便番号(上3桁)」は、半角数字を入力してください。\";\r\n    result = false;\r\n    chkPostCode1Flg = false;\r\n  }\r\n  \r\n  var postCode1 = document.getElementsByName(\"postCode1\")[0].value\r\n  var postCode2 = document.getElementsByName(\"postCode2\")[0].value\r\n  \r\n  // 郵便番号のフォーマットチェック（入力されている内容が正しい場合に行う）\r\n  if ((chkPostCode1Flg == true && chkPostCode2Flg == true) && (postCode1.length != 3 || postCode2.length != 4)) {\r\n    document.getElementById(itemName2).innerHTML += \"");
      out.write("<br>郵便番号は「3桁の数値-(ハイフン)4桁の数値」となります。例) 999-9999\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// 郵便番号(下4桁)のチェック\r\nfunction chkPostCode2(val, flg) {\r\n  var result = true;\r\n  var itemName = \"postCode2Err\";\r\n  var itemName2 = \"postCodeFormatErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n    itemName2 = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n    document.getElementById(itemName2).innerHTML = \"\";\r\n  }\r\n\r\n  chkPostCode2Flg = true;\r\n\r\n\r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「郵便番号(下4桁)」は、必須入力項目です。\";\r\n    result = false;\r\n    chkPostCode2Flg = false;\r\n  }\r\n  \r\n  // 半角数字チェック\r\n  if (hankakuSujiCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「郵便番号(下4桁)」は、半角数字を入力してください。\";\r\n    result = false;\r\n    chkPostCode2Flg = false;\r\n  }\r\n  var postCode1 = document.getElementsByName(\"postCode1\")[0].value\r\n  var postCode2 = document.getElementsByName(\"postCode2\")[0].value\r\n  \r\n  // 郵便番号のフォーマットチェック（入力されている内容が正しい場合に行う）\r\n  if ((chkPostCode1Flg == true && chkPostCode2Flg == true) && (postCode1.length != 3 || postCode2.length != 4)) {\r\n    document.getElementById(itemName2).innerHTML += \"");
      out.write("<br>郵便番号は「3桁の数値-(ハイフン)4桁の数値」となります。例) 999-9999\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// ご住所（市区町村・番地）のチェック\r\nfunction chkAddress2(val, flg) {\r\n  var result = true;\r\n  var itemName = \"address2Err\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n  \r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「ご住所（市区町村・番地）」は、必須入力項目です。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「ご住所（市区町村・番地）」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 入力文字数が100バイトを超えていないか\r\n  if (byteLengthCheck(val, 100) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「ご住所（市区町村・番地）」は、100文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// ご住所（マンション名等）のチェック\r\nfunction chkAddress3(val, flg) {\r\n  var result = true;\r\n  var itemName = \"address3Err\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n\r\n  \r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「ご住所（ビル名等）」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 入力文字数が100バイトを超えていないか\r\n  if (byteLengthCheck(val, 100) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「ご住所（ビル名等）」は、100文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// サロン名のチェック\r\nfunction chkCompanyName(val, flg){\r\n  var result = true;\r\n  var itemName = \"companyNameErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n\r\n  \r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「配送先サロン名・店舗名」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 入力文字数が100バイトを超えていないか\r\n  if (byteLengthCheck(val, 100) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「配送先サロン名・店舗名」は、100文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// 会社名のチェック\r\nfunction chkCorporationName(val, flg){\r\n  var result = true;\r\n  var itemName = \"corporationNameErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n\r\n  \r\n  // 半角カナチェック\r\n  if (hankakuKanaCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「会社名」は、半角カナを含まないよう入力してください。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 入力文字数が100バイトを超えていないか\r\n  if (byteLengthCheck(val, 100) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「会社名」は、100文字(半角)以内で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\n// 連絡先電話番号1のチェック\r\nfunction chkTel(val, flg) {\r\n  var result = true;\r\n  var itemName = \"telErr\";\r\n  if (flg == \"1\") {\r\n    itemName = \"inputErr\";\r\n  } else {\r\n    // エラー情報のクリア\r\n    document.getElementById(itemName).innerHTML = \"\";\r\n  }\r\n\r\n  \r\n  // 必須チェック\r\n  if (val == \"\") {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「連絡先電話番号」は、必須入力項目です。\";\r\n    result = false;\r\n  }\r\n  \r\n  // 半角数字チェック\r\n  if (hankakuSujiCheck(val) == false) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「連絡先電話番号」は、半角数字をハイフンなしで入力してください。\";\r\n    result = false;\r\n\r\n  // 半角数字のみの場合、桁数チェックを行う  \r\n  } else if (val != \"\" && (val.length ");
      out.write("< 9 || val.length > 16)) {\r\n    document.getElementById(itemName).innerHTML += \"");
      out.write("<br>「連絡先電話番号」は、9桁から16桁までの半角数字で入力してください。\";\r\n    result = false;\r\n  }\r\n  return result;\r\n}\r\n\r\nfunction kakunin() {\r\n  \r\n  // エラーメッセージ初期化\r\n  document.getElementById(\"inputErr\").innerHTML = \"\";\r\n  document.getElementById(\"deliveryNameErr\").innerHTML = \"\";\r\n  document.getElementById(\"deliveryAddresseeErr\").innerHTML = \"\";\r\n  document.getElementById(\"postCode1Err\").innerHTML = \"\";\r\n  document.getElementById(\"postCodeFormatErr\").innerHTML = \"\";\r\n  document.getElementById(\"postCode2Err\").innerHTML = \"\";\r\n  document.getElementById(\"postCodeFormatErr\").innerHTML = \"\";\r\n  document.getElementById(\"address2Err\").innerHTML = \"\";\r\n  document.getElementById(\"address3Err\").innerHTML = \"\";\r\n  document.getElementById(\"companyNameErr\").innerHTML = \"\";\r\n  document.getElementById(\"telErr\").innerHTML = \"\";\r\n\r\n  // 入力値チェック\r\n  var inputFlg = true;\r\n  if (!chkDeliveryName($(\"#deliveryName\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (!chkDeliveryAddressee($(\"#deliveryAddressee\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (!chkPostCode1($(\"#postCode1\").val(), \"1\")) {\r\n");
      out.write("    inputFlg = false;\r\n  }\r\n  if (!chkPostCode2($(\"#postCode2\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if ($(\"select[name=address1]\").val() == \"\") {\r\n    document.getElementById(\"inputErr\").innerHTML += \"");
      out.write("<br>「住所1（都道府県）」は、必須入力項目です。 \";\r\n    inputFlg = false;\r\n  }\r\n  if (!chkAddress2($(\"#address2\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (!chkAddress3($(\"#address3\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (!chkCompanyName($(\"#companyName\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (!chkTel($(\"#tel\").val(), \"1\")) {\r\n    inputFlg = false;\r\n  }\r\n  if (inputFlg) {\r\n    regist();\r\n  } else {\r\n    var myDate = new Date();\r\n    var byo = myDate.getSeconds() + \"\";\r\n    if (byo.length == 1) {\r\n      byo = \"0\" + byo;\r\n    }\r\n    var nowDate = myDate.getFullYear() + \"/\" + (myDate.getMonth() + 1) + \"/\" + myDate.getDate() +\r\n     \" \" + myDate.getHours() + \":\" + myDate.getMinutes() + \":\" + byo;\r\n    $(\"#nowDate\").html(nowDate);\r\n    var errDate = \"下記のメッセージの発生日時は、\" + nowDate + \"です。 ");
      out.write("<p>\";\r\n    var errMsg = $(\"#inputErr\").html();\r\n    document.getElementById(\"inputErr\").innerHTML = errDate;\r\n    document.getElementById(\"inputErr\").innerHTML += errMsg;\r\n    window.location.hash = \"changeAddressTop\";\r\n  }\r\n}\r\n\r\nfunction regist(){\r\n  with(document.addressForm){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_REGIST);
      out.write("';\r\n    submit();\r\n  }\r\n}\r\n\r\n//-->\r\n");
      out.write("</script>\r\n\r\n");
      out.write("<div id=\"changeAddress\" class=\"modalContents\">\r\n");
      out.write("<div class=\"inner\">\r\n");
      out.write("<a id=\"changeAddressTop\">");
      out.write("</a>\r\n  ");
      out.write("<h2>お届け先情報を入力");
      out.write("</h2>\r\n");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>  \r\n");
      out.write("</div>\r\n  ");
      out.write("<div class=\"colorBox2\">\r\n  ");
      out.write("<span id=\"inputErr\" style=\"color:red;\">\r\n  ");
      out.write("</span>\r\n    ");
      out.write("<dl class=\"formTable\">\r\n      ");
      out.write("<dt class=\"required\">配送先名称");
      out.write("<span class=\"fsS\">（本項目は配送伝票には使用しません）");
      out.write("</span>");
      out.write("<span style=\"color:red;\">※");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"deliveryName\" name=\"deliveryName\" type=\"text\" class=\"w100\" value=\"\" maxlength=\"100\" onblur=\"chkDeliveryName(this.value);\"/>\r\n        ");
      out.write("<span id=\"deliveryNameErr\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt class=\"required\">宛名");
      out.write("<span class=\"fsS\">（配送伝票の宛名になります）");
      out.write("</span>");
      out.write("<span style=\"color:red;\">※");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"deliveryAddressee\" name=\"deliveryAddressee\" type=\"text\" class=\"w100\" value=\"\" size=\"35\" maxlength=\"100\" onblur=\"chkDeliveryAddressee(this.value);\"/>\r\n        ");
      out.write("<span id=\"deliveryAddresseeErr\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt class=\"required\">郵便番号");
      out.write("<span class=\"fsS\">（半角数字）");
      out.write("</span>");
      out.write("<span style=\"color:red;\">※");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"postCode1\" name=\"postCode1\" type=\"tel\" class=\"post1\" value=\"\" size=\"3\" maxlength=\"3\" onblur=\"chkPostCode1(this.value);\"/>-");
      out.write("<input id=\"postCode2\" name=\"postCode2\" type=\"tel\" class=\"post2\" value=\"\" size=\"4\" maxlength=\"4\" onblur=\"chkPostCode2(this.value);\"/>\r\n        ");
      out.write("<span class=\"btn btnInline\">");
      out.write("<a href=\"javascript:zipdic()\">住所自動入力");
      out.write("</a>");
      out.write("</span>");
      out.write("<br>\r\n        ");
      out.write("<p>");
      out.write("<a href=\"http://search.post.japanpost.jp/zipcode/index.html\" target=\"_blank\" style=\"color:red\">郵便番号がわからない方はこちら");
      out.write("</a>");
      out.write("</p>\r\n        ");
      out.write("<span id=\"postCode1Err\" style=\"color:red;\">");
      out.write("</span>\r\n        ");
      out.write("<span id=\"postCode2Err\" style=\"color:red;\">");
      out.write("</span>\r\n        ");
      out.write("<span id=\"postCodeFormatErr\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt class=\"required\">都道府県");
      out.write("<span style=\"color:red;\">※");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>");
      /* ----  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("");
      _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("</dd>\r\n      ");
      out.write("<dt class=\"required\">ご住所");
      out.write("<span class=\"fsS\">（市区町村・番）");
      out.write("</span>");
      out.write("<span style=\"color:red;\">※");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"address2\" name=\"address2\" type=\"text\" class=\"w100\" value=\"\" maxlength=\"100\" onblur=\"chkAddress2(this.value);\"/>\r\n        ");
      out.write("<span id=\"address2Err\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt>ご住所");
      out.write("<span class=\"fsS\">（ビル名）");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"address3\" name=\"address3\" type=\"text\" class=\"w100\" value=\"\"  maxlength=\"100\" onblur=\"chkAddress3(this.value);\"/>\r\n        ");
      out.write("<span id=\"address3Err\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt>配送先サロン名・店舗名");
      out.write("<span class=\"fsS\">（個人宅でない場合はご記入下さい）");
      out.write("</span>");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"companyName\" name=\"companyName\" type=\"text\" class=\"w100\" value=\"\"  maxlength=\"100\" onblur=\"chkCompanyName(this.value);\"/>\r\n        ");
      out.write("<span id=\"companyNameErr\" style=\"color:red;\">");
      out.write("</span>\r\n        ");
      out.write("<input id=\"corporationName\" name=\"corporationName\" type=\"hidden\" value=\"\" \"/>\r\n      ");
      out.write("</dd>\r\n      ");
      out.write("<dt class=\"required\">電話番号");
      out.write("<span class=\"fsS\">（半角数字・ハイフンなし）");
      out.write("</span>");
      out.write("<span style=\"color:red;\">※");
      out.write("</span> ");
      out.write("</dt>\r\n      ");
      out.write("<dd>\r\n        ");
      out.write("<input id=\"tel\" name=\"tel\" type=\"tel\" class=\"w100\" value=\"\" maxlength=\"16\" onblur=\"chkTel(this.value);\" placeholder=\"123456789\"/>\r\n        ");
      out.write("<span id=\"telErr\" style=\"color:red;\">");
      out.write("</span>\r\n      ");
      out.write("</dd>\r\n    ");
      out.write("</dl>\r\n    ");
      out.write("<input type=\"button\" class=\"btnBl btnFlat\" style=\"width:150px;\" value=\"この内容で決定する\" onClick=\"kakunin();\">\r\n  ");
      out.write("</div>\r\n  \r\n");
      out.write("</div>\r\n\r\n");
      out.write("<input type=\"hidden\" id=\"shc\" name=\"shc\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"cmc\" name=\"cmc\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"snc1\" name=\"snc1\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"ec1\" name=\"ec1\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"snc2\" name=\"snc2\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"ec2\" name=\"ec2\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"ac\" name=\"ac\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"callflag\" name=\"callflag\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"actionNameTxt\" name=\"actionNameTxt\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" id=\"editModeTxt\" name=\"editModeTxt\" value=\"\"/>\r\n\r\n");
      out.write("</form>");
      out.write("\r\n  ");
      out.write("<!--△モーダル用フォーム：ここまで△-->\r\n\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△モーダル：ここまで△-->\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

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

      out.write("\r\n");
    } 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);
    }
  }
}
