package org.apache.jsp;

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

public class cmdty_book_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(16);
    _jspx_includes.add("/sp/include/header_inc.jsp");
    _jspx_includes.add("/sp/include/global_inc.jsp");
    _jspx_includes.add("/sp/include/cmdty_inc.jsp");
    _jspx_includes.add("/sp/include/cmdty_favorite.jsp");
    _jspx_includes.add("/sp/include/cmdty_set_inc.jsp");
    _jspx_includes.add("/sp/include/cmdty_favorite.jsp");
    _jspx_includes.add("/sp/include/social_button.jsp");
    _jspx_includes.add("/sp/commodity/cmdty_expansion_comment.jsp");
    _jspx_includes.add("/sp/commodity/cmdty_relationItem.jsp");
    _jspx_includes.add("/sp/commodity/cmdty_recommendItem1.jsp");
    _jspx_includes.add("/sp/commodity/cmdty_recommendItem2.jsp");
    _jspx_includes.add("/sp/include/recent_item_inc.jsp");
    _jspx_includes.add("/sp/include/footer_inc.jsp");
    _jspx_includes.add("/sp/include/modal_menu_inc.jsp");
    _jspx_includes.add("/sp/include/modal_search_inc.jsp");
    _jspx_includes.add("/sp/commodity/cmdty_addcartContents.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_session_type_name_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_default_collection_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_size_id_collection;

  public cmdty_book_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_session_type_name_id = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_session_type_name_id.release();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
    _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.release();
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection.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.SICmdtyCompositionGroupDetail _jspx_compositionGroupDetailID_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-2014 System Integrator Corporation. & BeautyGarage Inc.
 *                 All Rights Reserved.
 * @version $Id : cmdty_book.jsp,v 1.0 2014/10/27 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : 書籍館の商品詳細画面
 * @History
 * Author        Date        Reason
 * ============  ==========  ===========================
 * Naotaka       2014-10-27  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");
      out.write("\r\n");
      out.write("\r\n");

//ログ用のインスタンスの生成(common)
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
//本画面に関わるbeansのデータ
UICmdtyInfo cmdtyInfoID=(UICmdtyInfo)session.getAttribute(SIConfig.SISESSION_CMDTY_LIST_NAME);
if (cmdtyInfoID==null)cmdtyInfoID=new UICmdtyInfo();
//各フロント画面に共通(common)
SISrchKey srchKeyList=cmdtyInfoID.getSrchKey();
String currCtgryCode=cmdtyInfoID.getCtgryCodeTxt();
//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
//商品詳細のデータの取得
SICmdty cmdty=new SICmdty(cmdtyInfoID.getShopCodeTxt(),cmdtyInfoID.getCmdtyCodeTxt(),cmdtyInfoID.getIndividualCodeTxt());
boolean dispEnable=cmdty.reset(connection,true,true);

SIUserInfo userLogin=SIHTMLUtil.getUserInfo(request);
//契約ブランド情報をセット
cmdty.setContractFlg(cmdty.isContract(connection,request));
if(cmdty.isHairCosme(request)) cmdty.setContractFlg(true);
if(userLogin.isLogin(request)){
  cmdty.setMemberDiscountRate(userLogin.getDiscountRate());
}else{
  //dispEnable = dispEnable && !cmdty.isContractFlg();
}
//商品情報が存在しない時はtopに戻る。
if(SIUtil.isNull(cmdty.getCmdtyName())||!dispEnable){
      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.print(SIURLMap.getUrl(request,"webshop.servlet.front.book"));
          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");
}
//各サイトの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String mainSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.book");
String mainSrvSiteOrg=SIURLMap.getUrl(request,"webshop.servlet.front.main");
String cmdtySrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.commodity.book");
String searchSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.advancedsearch");
if (request.isSecure()) cmdtySrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.commodity.book");
String loginSite="/book_cmdty";
String loginAdd="/"+cmdtyInfoID.getCmdtyCodeTxt()+"/"+cmdtyInfoID.getIndividualCodeTxt();
if (SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) loginAdd=loginAdd+"/"+currCtgryCode;
String ctgryTitleName = cmdtyInfoID.getCtgryTitle(connection,"/book");
String ctgrySrvSite=mainSrvSite+"/ctgry/"+currCtgryCode;
String ctgryTitleCode = cmdtyInfoID.getCtgryTitleCode(connection,"/book");
String currCtgryName = cmdtyInfoID.getCtgryNameTxt(connection);
String ctgryTitleCodeURL = mainSrvSite+"/ctgry/"+ctgryTitleCode;

int spaceNum=18;

String makerName1 = "";
String makerName2 = "";
String makerNameBase = cmdty.getMakerName().trim();
if ("　".equals(makerNameBase)) makerNameBase = "";
String makerNameFull = makerNameBase;
String makerNameFullk = makerNameBase;
makerName1 = SIDBUtil.getFirstData(connection,"SELECT othername1 FROM makertbl WHERE makercode="+SIDBUtil.SQL2Str(cmdty.getMakerCode()));
makerName2 = SIDBUtil.getFirstData(connection,"SELECT othername2 FROM makertbl WHERE makercode="+SIDBUtil.SQL2Str(cmdty.getMakerCode()));

if (SIUtil.isNotNull(makerName1)&&SIUtil.isNotNull(makerName2)){
  makerNameFull = makerNameFull + "(" + makerName1 + "," + makerName2 + ")";
  makerNameFullk = makerNameFullk + "," + makerName1 + "," + makerName2;
}else if (SIUtil.isNotNull(makerName1)){
  makerNameFull = makerNameFull + "(" + makerName1 + ")";
  makerNameFullk = makerNameFullk + "," + makerName1;
}else if (SIUtil.isNotNull(makerName2)){
  makerNameFull = makerNameFull + "(" + makerName2 + ")";
  makerNameFullk = makerNameFullk + "," + makerName2;
}
if (SIUtil.isNotNull(makerNameFull)) makerNameFull = "[" + makerNameFull + "]";
if (cmdty.getUsedNewFlg()==3||cmdty.getUsedNewFlg()==0){
  makerNameFull = makerNameFull + "[中古]";
  if (SIUtil.isNotNull(makerNameFullk)) makerNameFullk = makerNameFullk + ",";
  makerNameFullk = makerNameFullk + "中古,激安,格安";
}else if (cmdty.getUsedNewFlg()==2||cmdty.getUsedNewFlg()==4){
  makerNameFull = makerNameFull + "[アウトレット]";
  if (SIUtil.isNotNull(makerNameFullk)) makerNameFullk = makerNameFullk + ",";
  makerNameFullk = makerNameFullk + "アウトレット,激安,格安";
}
if (SIUtil.isNotNull(makerNameFullk)) makerNameFullk = "," + makerNameFullk;
String canonicalURL = UICtgryGroup.getCanonicalURL(connection,cmdty.getIndividualCode(),webshopSite);

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html LANG=\"ja-JP\" xmlns:og=\"http://ogp.me/ns#\" xmlns:fb=\"http://www.facebook.com/2008/fbml\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\r\n");
      out.write("<meta property=\"og:url\" content=\"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/search_cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("\">\r\n");
      out.write("<meta property=\"og:type\" content=\"product\">\r\n");
      out.write("<meta property=\"og:image\" content=\"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_1.jpg\" />\r\n");
      out.write("<meta property=\"og:title\" content=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
      out.write("\" />\r\n");
      out.write("<meta property=\"og:description\" content=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getDescription()));
      out.write("\" />\r\n");
      out.write("<meta property=\"fb:admins\" content=\"100002857610777\" />\r\n");
      out.write("<meta property=\"fb:page_id\" content=\"113055595462781\" />\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\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("<meta name=\"description\" content=\"");
      out.print(cmdty.getCmdtyName());
      out.print(makerNameFull);
      out.write("の詳細情報です。");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getDescription()));
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("の卸・通販サイト BEAUTY GARAGE（ビューティガレージ）。\">\r\n");
      out.write("<meta name=\"keywords\" content=\"");
      out.print(cmdty.getCmdtyName());
      out.print(makerNameFullk);
      out.write(",卸,通販,BEAUTY GARAGE,ビューティガレージ\">\r\n");
if(SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)){
      out.write("\r\n");
      out.write("<title>");
      out.print(cmdty.getCmdtyName());
      out.print(makerNameFull);
      out.write(" - ");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("の卸・通販はBEAUTY GARAGE（ビューティガレージ）");
      out.write("</title>\r\n");
}else if(ctgryTitleCode.equals(currCtgryCode)){
      out.write("\r\n");
      out.write("<title>");
      out.print(cmdty.getCmdtyName());
      out.print(makerNameFull);
      out.write(" | ");
      out.print(currCtgryName);
      out.write(" - ");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("の卸・通販はBEAUTY GARAGE（ビューティガレージ）");
      out.write("</title>\r\n");
}else{
      out.write("\r\n");
      out.write("<title>");
      out.print(cmdty.getCmdtyName());
      out.print(makerNameFull);
      out.write(" | ");
      out.print(currCtgryName);
      out.write(" | ");
      out.print(SIHTMLUtil.HTMLEncode(ctgryTitleName));
      out.write(" - ");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("の卸・通販はBEAUTY GARAGE（ビューティガレージ）");
      out.write("</title>\r\n");
}
      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(SIUtil.isNotNull(canonicalURL));
      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("<link rel=\"canonical\" href=\"");
          out.print(canonicalURL);
          out.write("\">");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n");
      out.write("<link rel=\"shortcut icon\" href=\"/favicon.ico\" type=\"image/vnd.microsoft.icon\">\r\n");
      out.write("<link rel=\"icon\" href=\"/favicon.ico\" type=\"image/vnd.microsoft.icon\">\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/colorbox.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\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/jquery.colorbox-min.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("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/jquery.cmdtyaddCart.js?=20140711\">");
      out.write("</script>\r\n");
      out.write("</head>\r\n\r\n");
      out.write("<body id=\"book\" class=\"style2 cartLabel1\">\r\n");
      out.write("<div id=\"wrapper\">\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      ");
if(SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)){
      out.write("\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(mainSrvSite);
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</li>\r\n      ");
}else if(ctgryTitleCode.equals(currCtgryCode)){
      out.write("\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(mainSrvSite);
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(ctgrySrvSite);
      out.write("\">");
      out.print(currCtgryName);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</li>\r\n      ");
}else{
      out.write("\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(mainSrvSite);
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(ctgryTitleCodeURL);
      out.write("\">");
      out.print(SIHTMLUtil.HTMLEncode(ctgryTitleName));
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(ctgrySrvSite);
      out.write("\">");
      out.print(currCtgryName);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</li>\r\n      ");
}
      out.write("\r\n      ");
      out.write("</ul>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</nav>\r\n  ");
      out.write("<!--▲パンくず：ここまで▲-->\r\n  \r\n  ");
      out.write("<div id=\"itemDetailName\">\r\n    ");
      out.write("<h1>");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
      out.write("</h1>\r\n  ");
      out.write("</div>\r\n    ");
 if (!cmdty.isCmdtyComposition()) { 
      out.write("\r\n    ");
      out.write("<form name=\"cartForm\" action =\"");
      out.print(cmdtySrvSite);
      out.write("\" method=\"post\">\r\n\r\n");
      out.write("<script type=\"text/javascript\">\r\ndocument.write(unescape(\"%3Cscript src='\" + document.location.protocol + \"//rc.kotoha.co.jp/js/rmd.js' type='text/javascript' %3E%3C/script%3E\"));\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\nKotohacoRecommend.Request.sendItem({\r\naccountid: \"beautygarage\",\r\nitemid: \"");
      out.print(cmdty.getIndividualCode());
      out.write("\",\r\nfloor:\"\",\r\nmode:\"send\"});\r\n  \r\nfunction addRsrv(){\r\n    with(document.cartForm){\r\n      actionNameTxt.value='");
      out.print(SIConfig.SIACTION_NEW);
      out.write("';\r\n      action='");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reserve"));
      out.write("';\r\n      submit();\r\n    }\r\n  }\r\n");
      out.write("</script>\r\n\r\n");
      out.write("<input name=\"cartShopCodeTxt\" type=\"hidden\" value=\"0\">\r\n");
      out.write("<input name=\"cartCmdtyCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCode());
      out.write("\">\r\n");
      out.write("<input id=\"cartIndividualCodeTxt\"  name=\"cartIndividualCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getIndividualCode());
      out.write("\">\r\n");
      out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.SIACTION_CART2);
      out.write("\">\r\n");
      out.write("<input name=\"rsrvShopCodeTxt\" type=\"hidden\" value=\"0\">\r\n");
      out.write("<input name=\"rsrvCmdtyCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCode());
      out.write("\">\r\n");
      out.write("<input name=\"rsrvIndividualCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getIndividualCode());
      out.write("\">\r\n");
      out.write("<input name=\"rsrvStndrdCodeTxt1\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvStndrdCodeTxt2\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvElementCodeTxt1\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvElementCodeTxt2\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"cmdtyCompositionFlg\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCompositionFlg());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"CartClickFlg\" value=\"1\"/>\r\n\r\n");
String cartBtnType = "";
if(cmdty.isHairCosme(request)) cartBtnType = "contract1";
else if(cmdty.isContractFlg()&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)) cartBtnType = "contract2";
else if(cmdty.isContractFlg() && cmdty.isMailContract(connection)) cartBtnType = "contract3";
else if(cmdty.isContractFlg()) cartBtnType = "contract4";
else if(cmdty.getInquiryFlg().equals("1")) cartBtnType = "inquiry";
else if(cmdty.getAmountFlg().equals("0")) cartBtnType = "cart";
else if(!cmdty.getAmount().equals("0")) cartBtnType = "cart";
else if(cmdty.getRsrvEnableFlg().equals("1")&&!cmdty.getRsrvAmount().equals("0")) cartBtnType = "reserve";
else cartBtnType = "soldout";

      out.write("\r\n  ");
      out.write("<ul class=\"iconList typeFlat\">\r\n  ");
if (cmdty.getUsedNewFlg()==3){
      out.write("<li class=\"ico icon_limited\">BG認定中古");
      out.write("</li>\r\n  ");
}else if (cmdty.getUsedNewFlg()==2||cmdty.getUsedNewFlg()==4){
      out.write("<li class=\"ico icon_outlet\">アウトレット");
      out.write("</li>\r\n  ");
}else if (cmdty.getUsedNewFlg()==1||cmdty.getUsedNewFlg()==6||cmdty.getUsedNewFlg()==7){
      out.write("\r\n  ");
}else{
      out.write("<li class=\"ico icon_used\">中古");
      out.write("</li>");
}
      out.write("\r\n  ");
if(cmdty.getCampaignPriceFlg().equals("1")&&"cart".equals(cartBtnType)){
      out.write("<li class=\"ico icon_samedaydeliv\">当日出荷");
      out.write("</li>");
}
      out.write("\r\n  ");
      out.write("</ul>\r\n\r\n  ");
      out.write("<div id=\"itemDetailThumb\" class=\"swipeBox col-1\">\r\n    ");
      out.write("<div class=\"swiper-container\">\r\n      ");
      out.write("<ul class=\"swiper-wrapper itemList horizontal clr\">\r\n        ");
      out.write("<!--▼個別アイテム：ここから▼-->\r\n          ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_1.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_1.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
if(SIUtil.isNotNull(cmdty.getImageName2())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_2.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_2.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName3())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_3.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_3.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName4())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_4.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_4.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName5())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_5.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_5.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName6())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_6.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_6.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName7())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_7.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_7.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName8())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_8.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_8.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName9())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_9.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_9.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName10())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_10.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_10.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}
      out.write("\r\n        ");
      out.write("<!--▲個別アイテム：ここまで▲-->\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("<p class=\"pagination taC\">");
      out.write("<span class=\"num-now\">1");
      out.write("</span>/");
      out.write("<span class=\"num-total\">4");
      out.write("</span>");
      out.write("</p>\r\n      ");
      out.write("<a class=\"btnPrev\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n      ");
      out.write("<a class=\"btnNext\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<div id=\"itemDetailData\" class=\"inner\">\r\n    ");
      out.write("<div class=\"colorBox2\">\r\n      ");
      out.write("<div class=\"itemDetail-data priceData clr\">\r\n        ");
      out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"price-tbl\">\r\n        ");
 String price = ""; 
      out.write("\r\n        ");
if(SIUtil.isNotNull(cmdty.getNewFixedPrice())&&!cmdty.getNewFixedPrice().equals("0")){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">M価");
      out.write("</th>\r\n            ");
      out.write("<td>：￥");
      out.print(SIUtil.NumberFormat(cmdty.getNewFixedPriceIncTax()));
      out.write("<span class=\"tax\">(税別)");
      out.write("</span> ");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n        ");
if(cmdty.isContractFlg()){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>契約後表示");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getBGPriceDispFlg().equals("2")){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>お問い合わせ下さい");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>ログイン表示");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getFinalUnitPriceWithoutTax().equals(cmdty.getUnitPriceWithoutTax())){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<span class=\"price\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
 price = cmdty.getUnitPriceWithoutTax(); 
      out.write("\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th>");
      out.write("</th>\r\n            ");
      out.write("<td class=\"taxin\"> [￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPrice()));
      out.write("<span class=\"tax\">(税込)");
      out.write("</span>]");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else{
      out.write("\r\n          ");
      out.write("<tr class=\"invalid\">\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th scope=\"row\">VIP特価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<span class=\"price\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("</span>");
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
 price = cmdty.getFinalUnitPriceWithoutTax(); 
      out.write("\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th>");
      out.write("</th>\r\n            ");
      out.write("<td class=\"taxin\"> [￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPrice()));
      out.write("<span class=\"tax\">(税込)");
      out.write("</span>]");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n        ");
      out.write("</table>\r\n        ");
      out.write("<dl class=\"itemDetail-point pointInfo\">");
      out.print(cmdty.getPointTxtSP(request));
      out.write("</dl>\r\n      ");
      out.write("</div>\r\n      ");
      out.write("<hr>\r\n      ");
String cmdtyMakerCodeTxt = cmdty.getMakerCode(); if ("1231".equals(cmdtyMakerCodeTxt) || "1232".equals(cmdtyMakerCodeTxt)) cmdtyMakerCodeTxt = "1230";
      out.write("\r\n      ");
      out.write("<div class=\"itemDetail-data\">\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>：");
      out.print(cmdty.getIndividualCode());
      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          ");
if (!"".equals(SIStringUtil.rightTrim(cmdty.getMakerName()))){
      out.write("\r\n          ");
      out.write("<td>：");
      out.write("<a href=\"");
      out.print(webshopSite+"/advancedsearch/actionNameTxt/list/dispModeTxt/"+SIConfig.DEFAULT_DISPMODE+"/maker/"+cmdtyMakerCodeTxt);
      out.write("\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("</a>");
      out.write("</td>\r\n          ");
}else{
      out.write("\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
}
      out.write("\r\n        ");
      out.write("</tr>\r\n        ");
if (SIUtil.isNotNull(cmdty.getColorName())){
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">カラー");
      out.write("</th>\r\n          ");
      out.write("<td>：");
      out.print(cmdty.getColorName());
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n        ");
if (cmdty.getUsedNewFlg()!=1&&cmdty.getUsedNewFlg()!=6&&cmdty.getUsedNewFlg()!=7){
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">使用年数");
      out.write("</th>\r\n          ");
      out.write("<td>：");
if(cmdty.getTenureOfUse()==999){
      out.write("不明");
}else if(cmdty.getTenureOfUse()==998){
      out.write("再生品");
}else if(SIUtil.isNull(cmdty.getYTenureOfUse())){
      out.write("未使用");
}else{
      out.print(cmdty.getYTenureOfUse());
}if(SIUtil.isNotNull(cmdty.getYGuaranteedTerm())){
      out.write("/保証");
      out.print(cmdty.getYGuaranteedTerm());
}
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
}else if(SIUtil.isNotNull(cmdty.getYGuaranteedTerm())){
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">保証期間");
      out.write("</th>\r\n          ");
      out.write("<td>：");
      out.print(cmdty.getYGuaranteedTerm());
      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>：");
if(!cmdty.getInquiryFlg().equals("0")){
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,cmdty.getInquiryFlg()));
      out.write("\r\n            ");
}else if(cmdty.getAmountFlg().equals("0")||SICheckUtil.isGreater(cmdty.getAmount(),"49")){
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
      out.write("\r\n            ");
}else{
      out.print(cmdty.getAmount());
}
      out.write("\r\n            ");
if(cmdty.getAmountFlg().equals("1")&&!cmdty.getAmount().equals("0")&&cmdty.getInquiryFlg().equals("0")&&SICheckUtil.isLess(cmdty.getAmount(),"50")){
      out.write("\r\n            ");
      out.write("<span class=\"attention\" style=\"font-size:80%;\">(");
      out.print(cmdty.getBranchStockTxt(connection));
      out.write(")");
      out.write("</span>\r\n            ");
}
      out.write("\r\n            ");
if(cmdty.getAmountFlg().equals("0")){
      out.write("\r\n            ");
      out.write("<span class=\"attention\" style=\"font-size:80%;\">(");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/guide/delivery.html#direct\" target=\"_blank\">メーカー直送品・返品不可");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" />");
      out.write("</a>)");
      out.write("</span>\r\n            ");
}
      out.write("\r\n          ");
      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>：");
if(cmdty.getDeliveryTypeCode().equals("1")){
      out.write("4,000円(税別)以上ご購入で無料");
      out.write("<br>");
}else{
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_CMDTYSIZE_FLG_INX,cmdty.getCmdtySize()));
}
      out.write("\r\n          ");
      out.write("<span class=\"attention\" style=\"font-size:80%;\">(");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/guide/shipping.html\" target=\"_blank\">送料ルール・配送におけるご注意事項");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" />");
      out.write("</a>)");
      out.write("</span>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
if(!cmdty.getInquiryFlg().equals("1") && cmdty.getAmountFlg().equals("1") && cmdty.getAmount().equals("0") && cmdty.getRsrvEnableFlg().equals("1") && !cmdty.getRsrvAmount().equals("0") && SIUtil.isNotNull(cmdty.getArrivalScheduleMsg())){
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">入荷予定");
      out.write("</th>\r\n          ");
      out.write("<td>：");
      out.print(SIUtil.HTMLEncode(cmdty.getArrivalScheduleMsg()));
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n      ");
      out.write("</table>\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<div id=\"itemDetailCart\" class=\"colorBox1\">\r\n      ");
 Collection amountColl = SIUtil.getAmountNumber(); 
      out.write("\r\n        ");
      out.write("<dl id=\"itemDetailCart-select\">\r\n          ");
      out.write("<span id=\"amountPrice\" >\r\n          ");
      out.write("<dt>数量：");
      out.write("</dt>\r\n          ");
      out.write("<dd>\r\n          ");
 if(cmdty.getAmountFlg().equals("0")) { 
      out.write("\r\n            ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_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.setName("cartAmountTxt");
      _jspx_th_webshop_siselect_0.setDefault("");
      _jspx_th_webshop_siselect_0.setCollection(amountColl);
      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_default_collection_nobody.reuse(_jspx_th_webshop_siselect_0);
      out.write("\r\n          ");
 } else if(!cmdty.getAmount().equals("0")) { 
      out.write("\r\n            ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_1 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_1.setPageContext(pageContext);
      _jspx_th_webshop_siselect_1.setParent(null);
      _jspx_th_webshop_siselect_1.setName("cartAmountTxt");
      _jspx_th_webshop_siselect_1.setDefault("");
      _jspx_th_webshop_siselect_1.setCollection(amountColl);
      int _jspx_eval_webshop_siselect_1 = _jspx_th_webshop_siselect_1.doStartTag();
      if (_jspx_th_webshop_siselect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_1);
      out.write("\r\n          ");
 } else if(cmdty.getRsrvEnableFlg().equals("1")&&!cmdty.getRsrvAmount().equals("0")) { 
      out.write("\r\n            ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_2 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_2.setPageContext(pageContext);
      _jspx_th_webshop_siselect_2.setParent(null);
      _jspx_th_webshop_siselect_2.setName("amountTxt");
      _jspx_th_webshop_siselect_2.setDefault("");
      _jspx_th_webshop_siselect_2.setCollection(amountColl);
      int _jspx_eval_webshop_siselect_2 = _jspx_th_webshop_siselect_2.doStartTag();
      if (_jspx_th_webshop_siselect_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_2);
      out.write("\r\n          ");
}
      out.write("\r\n          ");
      out.write("</dd>\r\n          ");
 if (!"".equals(price)) {
      out.write("\r\n          ");
      out.write("<dt>商品合計：");
      out.write("</dt>\r\n          ");
      out.write("<dd>\r\n            ");
      out.write("<!--  TODO: 数量変更時アニメーションで金額変更 -->\r\n            ");
      out.write("<span id=\"shohinGokei\" class=\"price\">￥- ");
      out.write("</span>");
      out.write("<span class=\"fcRed tax\">(税別)");
      out.write("</span>\r\n          ");
      out.write("</dd>\r\n          ");
}
      out.write("\r\n          ");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n          ");
      out.write("<!--\r\n          var itemName = \"\";\r\n          ");
 if(cmdty.getAmountFlg().equals("0")) { 
      out.write("\r\n            itemName=\"cartAmountTxt\";\r\n          ");
 } else if(!cmdty.getAmount().equals("0")) { 
      out.write("\r\n            itemName=\"cartAmountTxt\";\r\n          ");
 } else if(cmdty.getRsrvEnableFlg().equals("1")&&!cmdty.getRsrvAmount().equals("0")) { 
      out.write("\r\n            itemName=\"amountTxt\";\r\n          ");
}
      out.write("\r\n          $(\"select[name='\"+itemName+\"']\").change(function (){\r\n            chgSelectBox();\r\n            });\r\n          var sum = \"\";\r\n          function chgSelectBox() {\r\n              var price = \"");
      out.print( price );
      out.write("\";\r\n              if (price != \"\") {\r\n                  var kosu = $(\"select[name='\"+itemName+\"']\").val();\r\n                  var sum = price * kosu;\r\n                  $(\"#shohinGokei\").html(\"\");\r\n                  $(\"#shohinGokei\").html(\"￥\" + String(sum).replace( /(\\d)(?=(\\d\\d\\d)+(?!\\d))/g, '$1,'));\r\n                  \r\n              }\r\n          }\r\n          chgSelectBox();\r\n          \r\n          function addCartView2() {\r\n            addCartView(sum);\r\n          }\r\n          //-->\r\n          ");
      out.write("</script>\r\n          ");
      out.write("</span>\r\n        ");
      out.write("</dl>\r\n        ");
if("contract1".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<p class=\"btn btnContact\">\r\n          ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.haircosme"));
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n        ");
      out.write("</p>\r\n        ");
}else if("contract2".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<p class=\"btn btnContact\">\r\n          ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd);
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>ログインはこちら");
      out.write("</a>\r\n        ");
      out.write("</p>\r\n        ");
}else if("contract3".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<p class=\"btn btnContact\">\r\n          ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.contract_peachpeau")+"?contractMaker="+cmdty.getMakerCode());
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n        ");
      out.write("</p>\r\n        ");
}else if("contract4".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<p class=\"btn btnContact\">\r\n          ");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/license.html",false));
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n        ");
      out.write("</p>\r\n        ");
}else if("inquiry".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<p class=\"btn btnContact\">\r\n          ");
      out.write("<a href=\"tel:0120974554\">お問い合わせください");
      out.write("<br>0120-974-554");
      out.write("</a>\r\n        ");
      out.write("</p>\r\n        ");
}else if("cart".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<button class=\"btnAddCart btnYl\" onClick=\"initCartBtn();addCartForSP();return false;\">\r\n          ");
      out.write("<span>カートに入れる");
      out.write("</span>\r\n        ");
      out.write("</button>\r\n        ");
}else if("reserve".equals(cartBtnType)){
      out.write("\r\n        ");
      out.write("<button class=\"btnBook btnYl\" onClick=\"addRsrv();\">\r\n          ");
      out.write("<span>予約する");
      out.write("</span>\r\n        ");
      out.write("</button>\r\n        ");
}else{
      out.write("\r\n        ");
      out.write("<p class=\"btn soldout\">\r\n          ");
      out.write("<span class=\"fcRed\">SOLD OUT");
      out.write("</span>\r\n        ");
      out.write("</p>\r\n        ");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n        ");
      out.write("<!--\r\n        $(\"#amountPrice\").css(\"display\",\"none\")\r\n        //-->\r\n        ");
      out.write("</script>\r\n        ");
}
      out.write("\r\n        ");
      out.write("<p class=\"taC fwB fcBlue\">4,000円以上のご購入で通常送料・手数料無料！");
      out.write("</p>\r\n        ");
      out.write("<script type=\"text/javascript\">\r\n\r\nfunction initAddMyCatalog() {\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    return;\r\n  }\r\n  if (favoriteStr.indexOf($(\"#cartIndividualCodeTxt\").val()) != -1) {\r\n        $(\"#tuika\").css(\"display\", \"none\");\r\n        $(\"#torokuzumi\").css(\"display\", \"block\");\r\n        return false;\r\n  }\r\n}\r\n\r\nfunction setCookie(cartIndividualCode) {\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null || favoriteStr== \"\") {\r\n    favoriteStr = cartIndividualCode;\r\n  }else {\r\n    if (favoriteStr.indexOf(cartIndividualCode) == -1) {\r\n        favoriteStr += \",\" + cartIndividualCode;\r\n    }\r\n  }\r\n  \r\n  $.cookie(\"ws_favoriteBG\", favoriteStr, {expires:30, path: \"");
      out.print(webshopSite);
      out.write("\" });\r\n  // フッターの件更新\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    $(\"#global-mypage_count\").html(\"\");\r\n\t\r\n\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count=0&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t}\t\r\n\t\r\n    return;\r\n  }\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\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count='+(favoriteCnt) + '&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t}  \r\n  \r\n  $(\"#tuika\").css(\"display\", \"none\");\r\n");
      out.write("  $(\"#torokuzumi\").css(\"display\", \"block\");\r\n}\r\n\r\nfunction addMyCatalogForLogin() {\r\n  setCookie($(\"#cartIndividualCodeTxt\").val());\r\n  addMyCatalog();\r\n}\r\n\r\nfunction addMyCatalogForNoLogin() {\r\n  setCookie($(\"#cartIndividualCodeTxt\").val());\r\n}\r\n\r\nfunction addMyCatalog() {\r\n  var url=\"");
      out.print(SIHTMLUtil.getRootPath(request)+"/search_cmdty");
      out.write("\";\r\n  document.cartForm.actionNameTxt.value='");
      out.print(SIConfig.SIACTION_ADD2);
      out.write("';\r\n  \r\n  var str = $('form[name=cartForm]').serialize();\r\n    jQuery.ajax({\r\n    url:url,\r\n    type:'POST',\r\n    data:str,\r\n    success:function(request){\r\n    }\r\n  });\r\n  with(document.cartForm){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_CART2);
      out.write("';\r\n  }\r\n}\r\n");
      out.write("</script>\r\n\r\n");
if(SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n  ");
      out.write("<span id=\"tuika\">");
      out.write("<p class=\"btn addFav\">");
      out.write("<a href=\"javascript:addMyCatalogForNoLogin();\">お気に入りに追加");
      out.write("</a>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<span id=\"torokuzumi\" style=\"display:none\" >");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<script type=\"text/javascript\">\r\n    initAddMyCatalog();\r\n  ");
      out.write("</script>\r\n");
}else if(SIDBUtil.hasData(connection,"SELECT * FROM mycatalogtbl WHERE individualcode="+SIDBUtil.SQL2Str(cmdty.getIndividualCode())+" AND custcode="+SIDBUtil.SQL2Str(SIHTMLUtil.getUserInfo(request).getCustCode()))){
      out.write("\r\n  ");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>\r\n");
}else{
      out.write("\r\n  ");
      out.write("<span id=\"tuika\">");
      out.write("<p class=\"btn addFav\">");
      out.write("<a href=\"javascript:addMyCatalogForLogin();\">お気に入りに追加");
      out.write("</a>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<span id=\"torokuzumi\" style=\"display:none\" >");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>");
      out.write("</span>\r\n");
}
      out.write("\r\n        ");
      out.write("\r\n    ");
      out.write("</div>\r\n\r\n");
      out.write("</form>\r\n");
      out.write("\r\n    ");
 } else { 
      out.write("\r\n    ");
      out.write("<form name=\"cartForm\" action =\"");
      out.print(cmdtySrvSite);
      out.write("\" method=\"post\">\r\n\r\n");

// セット商品親情報の取得
SICmdtyComposition cmdtyComposition = cmdty.getCmdtyComposition(connection);
int compositionOrderCount = 0;
int compositionGroupCount = 0;
Collection amountColl = SIUtil.getAmountNumber();
Collection optionColl = cmdty.getCmdtyCompositionOption(connection);
// EDBTG003-00 [不具合管理票-No23] 2013/03/14 nagayoshi add start
boolean fixedSetSoldOut = false;
// EDBTG003-00 [不具合管理票-No23] 2013/03/14 nagayoshi add end
//通常送料チェック
boolean komonoflg = false;
komonoflg = !SIDBUtil.hasData(connection,"SELECT d.* FROM compositiongroupdetailtbl d,cmdtymtbl c WHERE c.cmdtycode=d.detailcmdtycode AND c.deliverytypecode=0 AND d.individualcode=" + SIDBUtil.SQL2Str(cmdty.getIndividualCode()));

      out.write("\r\n\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\nfunction addYoridoriAmount() {\r\n  var totalAmount = 0;\r\n  for (var i = 0; i ");
      out.write("< document.getElementById('compositionGroupCount').value; i++) {\r\n    var select = document.getElementById('compositionGroupDetailAmount_' + i);\r\n    var option = document.getElementById('compositionGroupDetailAmount_' + i).options;\r\n    totalAmount = totalAmount + Number(option.item(select.selectedIndex).value);\r\n  }\r\n  //document.getElementById('totalAmountLabel').innerHTML = totalAmount + '点';\r\n}\r\n\r\nfunction addYoridoriCart() {\r\n  var totalAmount = 0;\r\n  for (var i = 0; i ");
      out.write("< document.getElementById('compositionGroupCount').value; i++) {\r\n    var select = document.getElementById('compositionGroupDetailAmount_' + i);\r\n    var option = document.getElementById('compositionGroupDetailAmount_' + i).options;\r\n    totalAmount = totalAmount + Number(option.item(select.selectedIndex).value);\r\n  }\r\n  if (Number(totalAmount) ");
      out.write("< Number(");
      out.print(cmdtyComposition.getSectionCount());
      out.write(") || Number(totalAmount) > Number(");
      out.print(cmdtyComposition.getSectionCount());
      out.write(")) {\r\n    vex.dialog.alert('数量合計が");
      out.print(SIStringUtil.numberFormat(cmdtyComposition.getSectionCount()));
      out.write("点となるよう指定ください。');\r\n  } else if (Number(totalAmount) == Number(");
      out.print(cmdtyComposition.getSectionCount());
      out.write(")) {\r\n    // 等しいケースの場合カート投入\r\n    addCartForSP();\r\n    //addCartView2();\r\n  } else {\r\n    // その他の場合は、処理なし（画面遷移なし）\r\n  }\r\n}\r\n  \r\n");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\nfunction rsrvCartCheck(value, key) {\r\n  with(document.cartForm) {\r\n    if (value == '9') {\r\n      var tmp = checkedType.value;\r\n      if (tmp == '') {\r\n        return;\r\n      }\r\n      value = checkedType.value;\r\n    }\r\n    if (value == '1') {\r\n      amountCart.style.display = 'none';\r\n      amountRsrv.style.display = '';\r\n      bouttonCart.style.display = 'none';\r\n      bouttonRsrv.style.display = '';\r\n      optionArea.style.display = 'none';\r\n      appendedArea.style.display = 'none';\r\n      rervMsg.style.display = 'block';\r\n      rsrvTempValue.value = key;\r\n");
 if (optionColl.size() > 0) { 
      out.write("\r\n      option.checked = '';\r\n      option.disabled = 'disabled';\r\n");
 } 
      out.write("\r\n    } else if (value == '0') {\r\n      amountCart.style.display = '';\r\n      amountRsrv.style.display = 'none';\r\n      bouttonCart.style.display = '';\r\n      bouttonRsrv.style.display = 'none';\r\n      optionArea.style.display = '';\r\n      appendedArea.style.display = '';\r\n      rervMsg.style.display = 'none';\r\n");
 if (optionColl.size() > 0) { 
      out.write("\r\n      option.disabled = '';\r\n");
 } 
      out.write("\r\n    } else if (value == '2') {\r\n      rervMsg.style.display = 'none';\r\n    } else {\r\n    }\r\n  }\r\n}\r\nfunction addRsrv(){\r\n  with(document.cartForm){\r\n    var tmpValue = rsrvTempValue.value;\r\n    if (tmpValue != '') {\r\n      cmdtyInfo = tmpValue.split(\"~\");\r\n      rsrvCmdtyCodeTxt.value=cmdtyInfo[1];\r\n      rsrvIndividualCodeTxt.value=cmdtyInfo[2];\r\n      rsrvCompositionCountTxt.value=cmdtyInfo[3];\r\n    }\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_NEW);
      out.write("';\r\n    action='");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reserve"));
      out.write("';\r\n    submit();\r\n  }\r\n}\r\n");
 } 
      out.write("\r\n\r\n");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_VARIATION_SET)
       || cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\nfunction defaultSetting(name) {\r\n\r\n  if (name != \"\") {\r\n    document.getElementsByName(name)[0].value = \"0\";\r\n\r\n    with(document.cartForm){\r\n      if (groupCount_1 != undefined && groupCount_1.value >= 10) {\r\n        bouttonCart.style.display = '';\r\n        bouttonRsrv.style.display = 'none';\r\n        var viewString = \"\";\r\n        if (specificationName_1.value != \"\") {\r\n          viewString = specificationName_1.value + \"を選択してください\";\r\n        } else {\r\n          viewString = \"選択してください\";\r\n        }\r\n        bouttonCart.getElementsByTagName(\"a\")[0].href = \"javascript:vex.dialog.alert('\" + viewString + \"')\";\r\n      }\r\n    }\r\n  }\r\n}\r\n\r\nvar cartVal = \"0\";\r\nvar defalutName = \"\";\r\nfunction changeSetting(name, val) {\r\n  cartVal = val;\r\n  if (val != \"0\") {\r\n    defalutName = name;\r\n  } else {\r\n    defalutName = \"\";\r\n  }\r\n}\r\n\r\n");
 } 
      out.write("\r\nfunction addCartCheck() {\r\n\r\n");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_VARIATION_SET)
       || cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\n  with(document.cartForm){\r\n    if (groupCount_1 != undefined && groupCount_1.value >= 10) {\r\n      var viewString = \"\";\r\n      if (cartVal == \"0\") {\r\n        if (defalutName != \"\") {\r\n          viewString = defalutName + \"を選択してください\";\r\n        } else {\r\n          viewString = \"選択してください\";\r\n        }\r\n        vex.dialog.alert(viewString);\r\n        return;\r\n      }\r\n    }\r\n  }\r\n");
 } 
      out.write("\r\n\r\naddCartForSP();\r\n//addCartView2();\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n\r\n");
      out.write("<script type=\"text/javascript\">\r\ndocument.write(unescape(\"%3Cscript src='\" + document.location.protocol + \"//rc.kotoha.co.jp/js/rmd.js' type='text/javascript' %3E%3C/script%3E\"));\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\nKotohacoRecommend.Request.sendItem({\r\naccountid: \"beautygarage\",\r\nitemid: \"");
      out.print(cmdty.getIndividualCode());
      out.write("\",\r\nfloor:\"\",\r\nmode:\"send\"});\r\n");
      out.write("</script>\r\n    \r\n  ");
      out.write("<ul class=\"iconList typeFlat\">\r\n  ");
if (cmdty.getUsedNewFlg()==3){
      out.write("<li class=\"ico icon_limited\">BG認定中古");
      out.write("</li>\r\n  ");
}else if (cmdty.getUsedNewFlg()==2||cmdty.getUsedNewFlg()==4){
      out.write("<li class=\"ico icon_outlet\">アウトレット");
      out.write("</li>\r\n  ");
}else if (cmdty.getUsedNewFlg()==1||cmdty.getUsedNewFlg()==6||cmdty.getUsedNewFlg()==7){
      out.write("\r\n  ");
}else{
      out.write("<li class=\"ico icon_used\">中古");
      out.write("</li>");
}
      out.write("\r\n  ");
if(cmdty.getCampaignPriceFlg().equals("1")){
      out.write("<li class=\"ico icon_samedaydeliv\">当日出荷");
      out.write("</li>");
}
      out.write("\r\n  ");
      out.write("</ul>\r\n\r\n  ");
      out.write("<div id=\"itemDetailThumb\" class=\"swipeBox col-1\">\r\n    ");
      out.write("<div class=\"swiper-container\">\r\n      ");
      out.write("<ul class=\"swiper-wrapper itemList horizontal clr\">\r\n        ");
      out.write("<!--▼個別アイテム：ここから▼-->\r\n          ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_1.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_1.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
if(SIUtil.isNotNull(cmdty.getImageName2())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_2.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_2.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName3())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_3.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_3.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName4())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_4.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_4.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName5())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_5.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_5.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName6())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_6.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_6.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName7())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_7.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_7.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName8())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_8.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_8.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName9())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_9.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_9.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}if(SIUtil.isNotNull(cmdty.getImageName10())){
      out.write("\r\n            ");
      out.write("<li class=\"itemList-item swiper-slide\">");
      out.write("<span class=\"thumb\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_10.jpg\" class=\"zoom\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/cmdty/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("/");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyCode()));
      out.write("_");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("_10.jpg\" width=\"190\" height=\"190\">");
      out.write("</a>");
      out.write("</span>");
      out.write("</li>\r\n          ");
}
      out.write("\r\n        ");
      out.write("<!--▲個別アイテム：ここまで▲-->\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("<p class=\"pagination taC\">");
      out.write("<span class=\"num-now\">1");
      out.write("</span>/");
      out.write("<span class=\"num-total\">4");
      out.write("</span>");
      out.write("</p>\r\n      ");
      out.write("<a class=\"btnPrev\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n      ");
      out.write("<a class=\"btnNext\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<div id=\"itemDetailData\" class=\"inner\">\r\n    ");
      out.write("<div class=\"colorBox2\">\r\n      ");
      out.write("<div class=\"itemDetail-data priceData clr\">\r\n        ");
      out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"price-tbl\">\r\n        ");
 String price = ""; 
      out.write("\r\n        ");
if(SIUtil.isNotNull(cmdty.getNewFixedPrice())&&!cmdty.getNewFixedPrice().equals("0")){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">M価");
      out.write("</th>\r\n            ");
      out.write("<td>：￥");
      out.print(SIUtil.NumberFormat(cmdty.getNewFixedPriceIncTax()));
      out.write("<span class=\"tax\">(税別)");
      out.write("</span> ");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n        ");
if(cmdty.isContractFlg()){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>契約後表示");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getBGPriceDispFlg().equals("2")){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>お問い合わせ下さい");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<strong>ログイン表示");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else if(cmdty.getFinalUnitPriceWithoutTax().equals(cmdty.getUnitPriceWithoutTax())){
      out.write("\r\n          ");
      out.write("<tr>\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<span class=\"price\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
 price = cmdty.getUnitPriceWithoutTax(); 
      out.write("\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th>");
      out.write("</th>\r\n            ");
      out.write("<td class=\"taxin\"> [￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPrice()));
      out.write("<span class=\"tax\">(税込)");
      out.write("</span>]");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}else{
      out.write("\r\n          ");
      out.write("<tr class=\"invalid\">\r\n            ");
      out.write("<th scope=\"row\">BG卸価");
      out.write("</th>\r\n            ");
      out.write("<td>：￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th scope=\"row\">VIP特価");
      out.write("</th>\r\n            ");
      out.write("<td>：");
      out.write("<span class=\"price\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("</span>");
      out.write("<span class=\"tax\">(税別)");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
 price = cmdty.getFinalUnitPriceWithoutTax(); 
      out.write("\r\n          ");
      out.write("<tr class=\"price\">\r\n            ");
      out.write("<th>");
      out.write("</th>\r\n            ");
      out.write("<td class=\"taxin\"> [￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPrice()));
      out.write("<span class=\"tax\">(税込)");
      out.write("</span>]");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n        ");
}
      out.write("\r\n        ");
      out.write("</table>\r\n        ");
      out.write("<dl class=\"itemDetail-point pointInfo\">");
      out.print(cmdty.getPointTxtSP(request));
      out.write("</dl>\r\n      ");
      out.write("</div>\r\n      ");
      out.write("<hr>\r\n      ");
String cmdtyMakerCodeTxt = cmdty.getMakerCode(); if ("1231".equals(cmdtyMakerCodeTxt) || "1232".equals(cmdtyMakerCodeTxt)) cmdtyMakerCodeTxt = "1230";
      out.write("\r\n      ");
      out.write("<div class=\"itemDetail-data\">\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>：");
      out.print(cmdty.getIndividualCode());
      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          ");
if (!"".equals(SIStringUtil.rightTrim(cmdty.getMakerName()))){
      out.write("\r\n          ");
      out.write("<td>：");
      out.write("<a href=\"");
      out.print(webshopSite+"/advancedsearch/actionNameTxt/list/dispModeTxt/"+SIConfig.DEFAULT_DISPMODE+"/maker/"+cmdtyMakerCodeTxt);
      out.write("\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("</a>");
      out.write("</td>\r\n          ");
}else{
      out.write("\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
}
      out.write("\r\n        ");
      out.write("</tr>\r\n        ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_FIXED_SET)) { 
      out.write("\r\n        ");
 int fixedAmount = cmdty.getFixedSetAmount(connection);
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">在庫数量");
      out.write("</th>\r\n          ");
      out.write("<td>：\r\n          ");
if(!cmdty.getInquiryFlg().equals("0")){
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,cmdty.getInquiryFlg()));
      out.write("\r\n            ");
}else if(fixedAmount >= 50||fixedAmount == -1){
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
      out.write("\r\n            ");
}else{
      out.print(fixedAmount);
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getUnitQuantity()));
}
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
 if (fixedAmount == 0) {
      out.write("\r\n          ");
 fixedSetSoldOut = true; 
      out.write("\r\n          ");
 } 
      out.write("\r\n          ");
 } 
      out.write("\r\n        ");
      out.write("</tr>\r\n        ");
boolean noStockFlg = !SIDBUtil.hasData(connection,"SELECT * FROM compositiongroupdetailtbl d,individualtbl i WHERE d.detailindividualcode=i.individualcode AND i.amountflg=1 AND d.individualcode="+SIDBUtil.SQL2Str(cmdty.getIndividualCode())); 
      out.write("\r\n          ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_1 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_1.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_1.setParent(null);
      _jspx_th_webshop_isTrue_1.setValue(noStockFlg);
      int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
      if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n          ");
          out.write("<tr>");
          out.write("<th scope=\"row\">在庫数量");
          out.write("</th>");
          out.write("<td>：常時あり");
          out.write("<span class=\"attention\" style=\"font-size:80%;\">(");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/guide/delivery.html#direct\">メーカー直送品・返品不可");
          out.write("</a>)");
          out.write("</span>");
          out.write("</td>");
          out.write("</tr>\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
      out.write("\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<th scope=\"row\">送料");
      out.write("</th>\r\n          ");
      out.write("<td>：\r\n            ");
if(komonoflg){
      out.write("4,000円(税別)以上ご購入で無料");
      out.write("<br>");
}
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/guide/shipping.html\">（送料ルール・配送におけるご注意事項）");
      out.write("</a>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</div>\r\n  \r\n    ");
      out.write("<div id=\"itemDetailCart\" class=\"colorBox1\">\r\n      ");
 if (cmdty.isSet()) { 
      out.write("\r\n        ");
      out.write("\r\n        ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)) { 
      out.write("\r\n          ");
      out.write("<p class=\"price-feature\">よりどり");
      out.write("<strong>");
      out.print(SIStringUtil.numberFormat(cmdtyComposition.getSectionCount()));
      out.write("点");
      out.write("</strong>");
if(SIUtil.isNotNull(cmdtyComposition.getSetDiscount())&&!cmdtyComposition.getSetDiscount().equals("0")&&cmdtyComposition.getDiscountDispFlg().equals("1")){
      out.write("で、");
      out.write("<br/>単品購入より");
      out.write("<strong>");
      out.print(SIStringUtil.numberFormat(cmdty.getSetDiscountPrice(cmdtyComposition.getSetDiscount())));
      out.write("円");
      out.write("</strong>お得！");
}
      out.write("</p>\r\n          ");
      out.write("<input type=\"hidden\" name=\"sectionCount\" value=\"");
      out.print(cmdtyComposition.getSectionCount());
      out.write("\" />\r\n        ");
 } else { 
      out.write("\r\n          ");
if (SIUtil.isNotNull(cmdtyComposition.getSetDiscount()) && !cmdtyComposition.getSetDiscount().equals("0") && cmdtyComposition.getDiscountDispFlg().equals("1")) { 
      out.write("\r\n            ");
      out.write("<p class=\"price-feature\">単品購入より");
      out.write("<strong>");
      out.print(SIStringUtil.numberFormat(cmdty.getSetDiscountPrice(cmdtyComposition.getSetDiscount())));
      out.write("円");
      out.write("</strong>お得！");
      out.write("</p>\r\n          ");
 } 
      out.write("\r\n        ");
 } 
      out.write("\r\n      ");
 } 
      out.write("\r\n      \r\n      ");
      out.write("<dl id=\"itemDetailCart-val\">\r\n      ");
 String defaultCheckedValue = ""; 
      out.write("\r\n      ");
 String selectName = ""; 
      out.write("\r\n      ");
      out.write("\r\n      ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_VARIATION_SET)) { 
      out.write("\r\n        ");
 Collection groupColl = cmdty.getCmdtyCompositionGroupData(connection);
      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("compositionGroupID");
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_0.setCollection(groupColl);
      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.SICmdtyCompositionGroupData compositionGroupID = null;
        compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
        do {
          out.write("\r\n          ");
 int groupAmountCount = 0;
          out.write("\r\n          ");
 int groupCount = compositionGroupID.getCompositionGroupDetail().size(); 
          out.write("\r\n          ");
 boolean defaultValueFlg = false; 
          out.write("\r\n          ");
 boolean compPulldownFlg = false; 
          out.write("\r\n          ");
 String subPrice = "";
          out.write("\r\n          ");
          out.write("<input type=\"hidden\" name=\"groupCount_");
          out.print(compositionGroupID.getGroupCode());
          out.write("\" value=\"");
          out.print( groupCount );
          out.write("\" />\r\n          ");
          out.write("<input type=\"hidden\" name=\"specificationName_");
          out.print(compositionGroupID.getGroupCode());
          out.write("\" value=\"");
          out.print(compositionGroupID.getSpecificationName());
          out.write("\" />\r\n          ");
 if (groupCount >= 10) { 
          out.write("\r\n            ");
 compPulldownFlg = true; 
          out.write("\r\n          ");
 } 
          out.write("\r\n            ");
          out.write("<dt>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</dt>\r\n              ");
          out.write("<dd>\r\n              ");
          out.write("<ul>\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(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_siiterator_1.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_1.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.SICmdtyCompositionGroupDetail compositionGroupDetailID = null;
            compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
            do {
              out.write("\r\n                  ");
 String defaultValue = "";
              out.write("\r\n                  ");
 String lDisabled = "";
              out.write("\r\n                  ");
 compositionGroupDetailID.setMemberDiscountRate(cmdty.getMemberDiscountRate()); 
              out.write("\r\n                  ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                    ");
 lDisabled = "disabled"; 
              out.write("\r\n                  ");
 } else { 
              out.write("\r\n                    ");
 if (!defaultValueFlg) { 
              out.write("\r\n                      ");
 defaultValue = "checked"; 
              out.write("\r\n                      ");
 defaultValueFlg = true; 
              out.write("\r\n                      ");
 if (compPulldownFlg) { 
              out.write("\r\n                        ");
 selectName = "compositionGroupDetail_" + compositionGroupID.getGroupCode(); 
              out.write("\r\n                        ");
              out.write("<select name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" onChange=\"changeSetting('");
              out.print( selectName );
              out.write("', this.value);\">\r\n                        ");
              out.write("<option value=\"0\" selected>選択してください");
              out.write("</option>\r\n                      ");
 } 
              out.write("\r\n                    ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                  ");
 String detailValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount(); 
              out.write("\r\n                  ");
 if (!compPulldownFlg) { 
              out.write("\r\n                    ");
              out.write("<li>");
              out.write("<label>");
              out.write("<input type=\"radio\" name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(detailValue);
              out.write("\"  ");
              out.print(defaultValue);
              out.write(" ");
              out.print( lDisabled );
              out.write("/>");
              out.print(compositionGroupDetailID.getDetailIndividualName());
              out.write("\r\n                  ");
 } else if (!lDisabled.equals("disabled")) { 
              out.write("\r\n                    ");
              out.write("<option value=\"");
              out.print(detailValue);
              out.write("\">");
              out.print(compositionGroupDetailID.getDetailIndividualName());
              out.write("\r\n                  ");
 } 
              out.write("\r\n                  ");
 if (SIUtil.isNotNull(subPrice) && (!compPulldownFlg || (compPulldownFlg && !lDisabled.equals("disabled")))) { 
              out.write("\r\n                     ");
 String dispSubPrice = SIUtil.sub_LL(SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount()),subPrice);
              out.write("\r\n                     ");
 if (Integer.parseInt(dispSubPrice) > 0) { 
              out.write("\r\n                       ");
              out.write("<em>[+￥");
              out.print(SIHTMLUtil.HTMLEncode(SIStringUtil.numberFormat(dispSubPrice)));
              out.write("]");
              out.write("</em>\r\n                     ");
 } else if (Integer.parseInt(dispSubPrice) < 0) { 
              out.write("\r\n                       ");
 dispSubPrice = SIUtil.sub_LL(subPrice, SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount()));
              out.write("\r\n                       ");
              out.write("<em>[-￥");
              out.print(SIHTMLUtil.HTMLEncode(SIStringUtil.numberFormat(dispSubPrice)));
              out.write("]");
              out.write("</em>\r\n                     ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                  ");
 if (!compPulldownFlg || (compPulldownFlg && !lDisabled.equals("disabled"))) { 
              out.write("\r\n                    /\r\n                  ");
 } 
              out.write("\r\n                  ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && compositionGroupDetailID.getAmount().equals("0")) { 
              out.write("\r\n                    ");
 if (!compPulldownFlg) { 
              out.write("\r\n                      ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                    ");
 } 
              out.write("\r\n                  ");
 } else { 
              out.write("\r\n                    ");
 if(compositionGroupDetailID.getAmountFlg().equals("0")
                          || (!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) >= Integer.parseInt(compositionGroupDetailID.getCompositionCount())
                              && SICheckUtil.isGreater(compositionGroupDetailID.getAmount(),"49"))){ 
              out.write("\r\n                      ");
              out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
              out.write("\r\n                      ");
 groupAmountCount++; 
              out.write("\r\n                    ");
 } else { 
              out.write("\r\n                      ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                        ");
 if (!compPulldownFlg) { 
              out.write("\r\n                          ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                        ");
 } 
              out.write("\r\n                      ");
 } else { 
              out.write("\r\n                        在庫：");
              out.print(SIStringUtil.numberFormat(compositionGroupDetailID.getAmount()));
              out.write("\r\n                        ");
 groupAmountCount++; 
              out.write("\r\n                      ");
 } 
              out.write("\r\n                    ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                  ");
 if (!compPulldownFlg) { 
              out.write("\r\n                    ");
              out.write("</label>");
              out.write("</li>\r\n                  ");
 } else if (compPulldownFlg && !lDisabled.equals("disabled")) { 
              out.write("\r\n                    ");
              out.write("</option>\r\n                  ");
 } 
              out.write("\r\n                  ");
 defaultValue = ""; 
              out.write("\r\n                  ");
 if (SIUtil.isNull(subPrice)) { 
              out.write("\r\n                    ");
 subPrice = SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount());
              out.write("\r\n                  ");
 } 
              out.write("\r\n                ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
              compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
              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                ");
 if (compPulldownFlg) { 
          out.write("\r\n                  ");
          out.write("</select>\r\n                  ");
          out.write("<div id=\"selectAlert\" style=\"display:none;\">");
          out.write("<em>選択してください");
          out.write("</em>");
          out.write("</div>\r\n                ");
 } 
          out.write("\r\n        ");
          out.write("</ul>\r\n          ");
 if (groupAmountCount <= 0) { 
          out.write("\r\n            ");
 compositionOrderCount++; 
          out.write("\r\n          ");
 } 
          out.write("\r\n          ");
 compositionGroupCount++; 
          out.write("\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
          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("</dd>\r\n      \r\n      ");
 } else if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)) { 
      out.write("\r\n        ");
      out.write("\r\n        ");
 Collection groupColl = cmdty.getCmdtyCompositionGroupData(connection);
      out.write("\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.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_2.setCollection(groupColl);
      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.SICmdtyCompositionGroupData compositionGroupID = null;
        compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
        do {
          out.write("\r\n          ");
 int groupAmountCount = 0;
          out.write("\r\n          ");
          out.write("<dt>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</dt>\r\n          ");
          out.write("<dd>");
          out.write("<table class=\"box_yoridori\">\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.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_3.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.SICmdtyCompositionGroupDetail compositionGroupDetailID = null;
            compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
            do {
              out.write("\r\n            ");
 String lDisabled = "";
              out.write("\r\n            ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n              ");
 lDisabled = "disabled"; 
              out.write("\r\n            ");
 } 
              out.write("\r\n            ");
 String detailValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount(); 
              out.write("\r\n            ");
              out.write("<tr>\r\n              ");
              out.write("<th>");
              out.print(compositionGroupDetailID.getDetailIndividualName());
              out.write(" /\r\n                ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && compositionGroupDetailID.getAmount().equals("0")) { 
              out.write("\r\n                  ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                ");
 } else { 
              out.write("\r\n                  ");
 if(compositionGroupDetailID.getAmountFlg().equals("0")
                        || (!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) >= Integer.parseInt(compositionGroupDetailID.getCompositionCount())
                            && SICheckUtil.isGreater(compositionGroupDetailID.getAmount(),"49"))){ 
              out.write("\r\n                    ");
              out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
              out.write("\r\n                    ");
 groupAmountCount++; 
              out.write("\r\n                  ");
 } else { 
              out.write("\r\n                    ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                      ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                    ");
 } else { 
              out.write("\r\n                      在庫：");
              out.print(SIStringUtil.numberFormat(compositionGroupDetailID.getAmount()));
              out.write("\r\n                      ");
 groupAmountCount++; 
              out.write("\r\n                    ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                ");
 } 
              out.write("\r\n                ");
              out.write("<input type=\"hidden\" name=\"compositionGroupDetail\" value=\"");
              out.print(detailValue);
              out.write("\" />\r\n              ");
              out.write("</th>\r\n              ");
              out.write("<td>\r\n                ");

                  Collection yoridoriAmountColl = SIUtil.getAmountNumber();
                  yoridoriAmountColl = SIUtil.insertColl(yoridoriAmountColl,new SINameValue("--","0"));
                
              out.write("\r\n                ");
 String amountName = "compositionGroupDetailAmount_" + detailValue;
              out.write("\r\n                ");
 String chenge = "id=\"compositionGroupDetailAmount_" + compositionGroupCount + "\" onChange='addYoridoriAmount()' " + lDisabled;
              out.write("\r\n                数量：");
              /* ----  webshop:siselect ---- */
              jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_3 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
              _jspx_th_webshop_siselect_3.setPageContext(pageContext);
              _jspx_th_webshop_siselect_3.setParent(_jspx_th_webshop_siiterator_3);
              _jspx_th_webshop_siselect_3.setName(amountName);
              _jspx_th_webshop_siselect_3.setDefault("");
              _jspx_th_webshop_siselect_3.setCollection(yoridoriAmountColl);
              _jspx_th_webshop_siselect_3.setAttributesText(chenge );
              int _jspx_eval_webshop_siselect_3 = _jspx_th_webshop_siselect_3.doStartTag();
              if (_jspx_th_webshop_siselect_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_3);
              out.write("\r\n              ");
              out.write("</td>\r\n            ");
              out.write("</tr>\r\n            ");
 compositionGroupCount++; 
              out.write("\r\n          ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_3.doAfterBody();
              compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
              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("</tbody>");
          out.write("</table>");
          out.write("</dd>\r\n        ");
 if (groupAmountCount <= 0) { 
          out.write("\r\n          ");
 compositionOrderCount++; 
          out.write("\r\n        ");
 } 
          out.write("\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_2.doAfterBody();
          compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
          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("</dl>\r\n      ");
 } else if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_FIXED_SET)) { 
      out.write("\r\n      ");
      out.write("\r\n        ");
 Collection groupColl = cmdty.getCmdtyCompositionGroupData(connection);
      out.write("\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.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_4.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_4.setCollection(groupColl);
      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.SICmdtyCompositionGroupData compositionGroupID = null;
        compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
        do {
          out.write("\r\n        ");
 int groupAmountCount = 0;
          out.write("\r\n              ");
          out.write("<dt>構成商品");
          out.write("</dt>\r\n                ");
          out.write("<dd>");
          out.write("<ul>\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(_jspx_th_webshop_siiterator_4);
          _jspx_th_webshop_siiterator_5.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_5.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_5.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.SICmdtyCompositionGroupDetail compositionGroupDetailID = null;
            compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
            do {
              out.write("\r\n                  ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                    ");
 groupAmountCount++; 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                  ");
 String detailValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount(); 
              out.write("\r\n                  ");
              out.write("<li>・");
              out.print(SIHTMLUtil.HTMLEncode(compositionGroupDetailID.getDetailIndividualName()));
              out.write(" × ");
              out.print(compositionGroupDetailID.getCompositionCount());
              out.write("</li>\r\n                  ");
              out.write("<input type=\"hidden\" name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(detailValue);
              out.write("\" />\r\n                ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_5.doAfterBody();
              compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
              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("</ul>");
          out.write("</dd>\r\n          ");
 if (groupAmountCount > 0) { 
          out.write("\r\n            ");
 compositionOrderCount++; 
          out.write("\r\n          ");
 } 
          out.write("\r\n          ");
 compositionGroupCount++; 
          out.write("\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_4.doAfterBody();
          compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
          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      ");
 } else if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\n      ");
      out.write("\r\n        ");
 Collection groupColl = cmdty.getCmdtyCompositionGroupData(connection);
      out.write("\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_6 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_6.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_6.setParent(null);
      _jspx_th_webshop_siiterator_6.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_6.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_6.setCollection(groupColl);
      int _jspx_eval_webshop_siiterator_6 = _jspx_th_webshop_siiterator_6.doStartTag();
      if (_jspx_eval_webshop_siiterator_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionGroupData compositionGroupID = null;
        compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
        do {
          out.write("\r\n          ");
 int groupAmountCount = 0;
          out.write("\r\n          ");
          out.write("<dt>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</dt>\r\n          ");
          out.write("<dd>\r\n            ");
          out.write("<ul>\r\n              ");
 boolean defaultValueFlg = false; 
          out.write("\r\n              ");
 String subPrice = ""; 
          out.write("\r\n              ");
 int orderCount = 0; 
          out.write("\r\n              ");
 int groupCount = compositionGroupID.getCompositionGroupDetail().size(); 
          out.write("\r\n              ");
 boolean compPulldownFlg = false; 
          out.write("\r\n              ");
          out.write("<input type=\"hidden\" name=\"groupCount_");
          out.print(compositionGroupID.getGroupCode());
          out.write("\" value=\"");
          out.print( groupCount );
          out.write("\" />\r\n              ");
          out.write("<input type=\"hidden\" name=\"specificationName_");
          out.print(compositionGroupID.getGroupCode());
          out.write("\" value=\"");
          out.print(compositionGroupID.getSpecificationName());
          out.write("\" />\r\n              ");
 if (groupCount >= 10) { 
          out.write("\r\n                ");
 compPulldownFlg = true; 
          out.write("\r\n              ");
 } 
          out.write("\r\n              ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_7 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_7.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_7.setParent(_jspx_th_webshop_siiterator_6);
          _jspx_th_webshop_siiterator_7.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_7.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_7.setCollection(compositionGroupID.getCompositionGroupDetail());
          int _jspx_eval_webshop_siiterator_7 = _jspx_th_webshop_siiterator_7.doStartTag();
          if (_jspx_eval_webshop_siiterator_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SICmdtyCompositionGroupDetail compositionGroupDetailID = null;
            compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
            do {
              out.write("\r\n                ");
 String defaultValue = "";
              out.write("\r\n                ");
 String lRsrvValue = "0";
              out.write("\r\n                ");
 String lDisabled = "";
              out.write("\r\n                ");
 compositionGroupDetailID.setMemberDiscountRate(cmdty.getMemberDiscountRate()); 
              out.write("\r\n                ");
 if (!compositionGroupDetailID.getAmountFlg().equals("0") && compositionGroupDetailID.getAmount().equals("0") && compositionGroupDetailID.getRsrvEnableFlg().equals("1") && !compositionGroupDetailID.getRsrvAmount().equals("0")) { 
              out.write("\r\n                  ");
 lDisabled = ""; 
              out.write("\r\n                  ");
 lRsrvValue = "1";
              out.write("\r\n                  ");
 orderCount++; 
              out.write("\r\n                  ");
 if (!defaultValueFlg) { 
              out.write("\r\n                    ");
 defaultValue = "checked"; 
              out.write("\r\n                    ");
 defaultValueFlg = true; 
              out.write("\r\n                    ");
              out.write("<input type=\"hidden\" name=\"checkedType\" value=\"1\"/>\r\n                    ");
 if (compPulldownFlg) { 
              out.write("\r\n                      ");
 selectName = "compositionGroupDetail_" + compositionGroupID.getGroupCode(); 
              out.write("\r\n                      ");
              out.write("<select name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" onChange=\"changeSetting('");
              out.print( selectName );
              out.write("', this.value); rsrvCartCheck(this.options[this.selectedIndex].id, this.value);\">\r\n                      ");
              out.write("<option value=\"0\" selected>選択してください");
              out.write("</option>\r\n                    ");
 } 
              out.write("\r\n                    ");
 defaultCheckedValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount();
              out.write("\r\n                  ");
 } 
              out.write("\r\n                ");
 } else if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                  ");
 lDisabled = "disabled"; 
              out.write("\r\n                ");
 } else { 
              out.write("\r\n                  ");
 orderCount++; 
              out.write("\r\n                  ");
 if (!defaultValueFlg) { 
              out.write("\r\n                    ");
 defaultValue = "checked"; 
              out.write("\r\n                    ");
 defaultValueFlg = true; 
              out.write("\r\n                    ");
 defaultCheckedValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount();
              out.write("\r\n                    ");
              out.write("<input type=\"hidden\" name=\"checkedType\" value=\"0\"/>\r\n                    ");
 if (compPulldownFlg) { 
              out.write("\r\n                      ");
 selectName = "compositionGroupDetail_" + compositionGroupID.getGroupCode(); 
              out.write("\r\n                      ");
              out.write("<select name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" onChange=\"changeSetting('");
              out.print( selectName );
              out.write("', this.value); rsrvCartCheck(this.options[this.selectedIndex].id, this.value);\">\r\n                      ");
              out.write("<option value=\"0\" selected>選択してください");
              out.write("</option>\r\n                    ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                ");
 } 
              out.write("\r\n                ");
 String detailValue = compositionGroupDetailID.getShopCode() + "~" + compositionGroupDetailID.getDetailCmdtyCode() + "~" + compositionGroupDetailID.getDetailIndividualCode() + "~" + compositionGroupDetailID.getCompositionCount(); 
              out.write("\r\n                ");
 if (!compPulldownFlg) { 
              out.write("\r\n                  ");
              out.write("<li>");
              out.write("<label>");
              out.write("<input type=\"radio\" name=\"compositionGroupDetail_");
              out.print(compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(detailValue);
              out.write("\"  onClick=\"rsrvCartCheck('");
              out.print(lRsrvValue);
              out.write("','");
              out.print(detailValue);
              out.write("');\" ");
              out.print(defaultValue);
              out.write(" ");
              out.print( lDisabled );
              out.write("/>");
              out.print(compositionGroupDetailID.getDetailIndividualName());
              out.write("\r\n                ");
 } else if (!lDisabled.equals("disabled")) { 
              out.write("\r\n                  ");
              out.write("<option value=\"");
              out.print(detailValue);
              out.write("\" id=\"");
              out.print(lRsrvValue);
              out.write("\">");
              out.print(compositionGroupDetailID.getDetailIndividualName());
              out.write("\r\n                ");
 } 
              out.write("\r\n                ");
 if (SIUtil.isNotNull(subPrice) && (!compPulldownFlg || (compPulldownFlg && !lDisabled.equals("disabled")))) { 
              out.write("\r\n                  ");
 String dispSubPrice = SIUtil.sub_LL(SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount()),subPrice);
              out.write("\r\n                  ");
 if (Integer.parseInt(dispSubPrice) > 0) { 
              out.write("\r\n                    ");
              out.write("<em>[+￥");
              out.print(SIHTMLUtil.HTMLEncode(SIStringUtil.numberFormat(dispSubPrice)));
              out.write("]");
              out.write("</em>\r\n                  ");
 } else if (Integer.parseInt(dispSubPrice) < 0) { 
              out.write("\r\n                    ");
 dispSubPrice = SIUtil.sub_LL(subPrice, SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount()));
              out.write("\r\n                    ");
              out.write("<em>[-￥");
              out.print(SIHTMLUtil.HTMLEncode(SIStringUtil.numberFormat(dispSubPrice)));
              out.write("]");
              out.write("</em>\r\n                  ");
 } 
              out.write("\r\n                ");
 } 
              out.write("\r\n                ");
 if (!compPulldownFlg || (compPulldownFlg && !lDisabled.equals("disabled"))) { 
              out.write("\r\n                  /\r\n                ");
 } 
              out.write("\r\n                ");
 if (!compositionGroupDetailID.getAmountFlg().equals("0")&&compositionGroupDetailID.getAmount().equals("0")&&compositionGroupDetailID.getRsrvEnableFlg().equals("1")&&!compositionGroupDetailID.getRsrvAmount().equals("0")) { 
              out.write("\r\n                  予約可\r\n                  ");
 if(SIUtil.isNotNull(compositionGroupDetailID.getArrivalScheduleMsg())) { 
              out.write("\r\n                    （入荷予定：");
              out.print(SIUtil.HTMLEncode(compositionGroupDetailID.getArrivalScheduleMsg()));
              out.write("）\r\n                  ");
 } 
              out.write("\r\n                  ");
 groupAmountCount++; 
              out.write("\r\n                ");
 } else if(!compositionGroupDetailID.getAmountFlg().equals("0") && compositionGroupDetailID.getAmount().equals("0")) { 
              out.write("\r\n                  ");
 if (!compPulldownFlg) { 
              out.write("\r\n                    ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                  ");
 } 
              out.write("\r\n                ");
 } else { 
              out.write("\r\n                  ");
 if(compositionGroupDetailID.getAmountFlg().equals("0") || (Integer.parseInt(compositionGroupDetailID.getAmount()) >= Integer.parseInt(compositionGroupDetailID.getCompositionCount()) && SICheckUtil.isGreater(compositionGroupDetailID.getAmount(),"49"))){ 
              out.write("\r\n                    ");
              out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
              out.write("\r\n                    ");
 groupAmountCount++; 
              out.write("\r\n                  ");
 } else { 
              out.write("\r\n                    ");
 if(!compositionGroupDetailID.getAmountFlg().equals("0") && Integer.parseInt(compositionGroupDetailID.getAmount()) < Integer.parseInt(compositionGroupDetailID.getCompositionCount())) { 
              out.write("\r\n                      ");
 if (!compPulldownFlg) { 
              out.write("\r\n                        ");
              out.write("<em>SOLD OUT");
              out.write("</em>\r\n                      ");
 } 
              out.write("\r\n                    ");
 } else { 
              out.write("\r\n                      在庫：");
              out.print(SIStringUtil.numberFormat(compositionGroupDetailID.getAmount()));
              out.write("\r\n                      ");
 groupAmountCount++; 
              out.write("\r\n                    ");
 } 
              out.write("\r\n                  ");
 } 
              out.write("\r\n                ");
 } 
              out.write("\r\n                ");
 if (!compPulldownFlg) { 
              out.write("\r\n                  ");
              out.write("</label>");
              out.write("</li>\r\n                ");
 } else if (compPulldownFlg && !lDisabled.equals("disabled")) { 
              out.write("\r\n                  ");
              out.write("</option>\r\n                ");
 } 
              out.write("\r\n                ");
 defaultValue = ""; 
              out.write("\r\n                ");
 if (SIUtil.isNull(subPrice)) { 
              out.write("\r\n                  ");
 subPrice = SIUtil.multi_LL(compositionGroupDetailID.getFinalUnitPriceWithoutTax(), compositionGroupDetailID.getCompositionCount());
              out.write("\r\n                ");
 } 
              out.write("\r\n              ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_7.doAfterBody();
              compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_siiterator_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_7);
          out.write("\r\n              ");
 if (compPulldownFlg) { 
          out.write("\r\n                ");
          out.write("</select>\r\n                ");
          out.write("<div id=\"selectAlert\" style=\"display:none;\">");
          out.write("<em>選択してください");
          out.write("</em>");
          out.write("</div>\r\n              ");
 } 
          out.write("\r\n              ");
 if (orderCount == 0) { 
          out.write("\r\n                ");
          out.write("<input type=\"hidden\" name=\"checkedType\" value=\"2\"/>\r\n              ");
 } 
          out.write("\r\n            ");
          out.write("</ul>\r\n          ");
          out.write("</dd>\r\n         ");
 if (groupAmountCount <= 0) { 
          out.write("\r\n           ");
 compositionOrderCount++; 
          out.write("\r\n         ");
 } 
          out.write("\r\n         ");
 compositionGroupCount++; 
          out.write("\r\n       ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_6.doAfterBody();
          compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_6);
      out.write("\r\n      ");
 } 
      out.write("\r\n      ");
      out.write("<span id=\"optionArea\">\r\n        ");
 if (optionColl.size() > 0) { 
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"top\">\r\n            ");
      out.write("<dt>オプション");
      out.write("</dt>\r\n            ");
      out.write("<dd>\r\n              ");
      out.write("<ul>\r\n                ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_8 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_8.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_8.setParent(null);
      _jspx_th_webshop_siiterator_8.setId("compositionOptionID");
      _jspx_th_webshop_siiterator_8.setType("jp.co.sint.basic.SICmdtyCompositionOption");
      _jspx_th_webshop_siiterator_8.setCollection(optionColl);
      int _jspx_eval_webshop_siiterator_8 = _jspx_th_webshop_siiterator_8.doStartTag();
      if (_jspx_eval_webshop_siiterator_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionOption compositionOptionID = null;
        compositionOptionID = (jp.co.sint.basic.SICmdtyCompositionOption) pageContext.findAttribute("compositionOptionID");
        do {
          out.write("\r\n                  ");
 String detailValue = compositionOptionID.getShopCode() + "~" + compositionOptionID.getDetailCmdtyCode() + "~" + compositionOptionID.getDetailIndividualCode() + "~" + compositionOptionID.getCompositionCount(); 
          out.write("\r\n                  ");
 compositionOptionID.setMemberDiscountRate(cmdty.getMemberDiscountRate()); 
          out.write("\r\n                  ");
          out.write("<li>");
          out.write("<label>");
          out.write("<input type=\"checkbox\" name=\"option\" value=\"");
          out.print(detailValue);
          out.write("\" /> ");
          out.print(compositionOptionID.getCmdtyName());
          out.write("<em>[+￥");
          out.print(SIUtil.NumberFormat(SIUtil.multi_LL(compositionOptionID.getFinalUnitPriceWithoutTax(), compositionOptionID.getCompositionCount())));
          out.write("]");
          out.write("</em>");
          out.write("</label>");
          out.write("<br>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(compositionOptionID.getNotices()));
          out.write("</li>\r\n                ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_8.doAfterBody();
          compositionOptionID = (jp.co.sint.basic.SICmdtyCompositionOption) pageContext.findAttribute("compositionOptionID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_8);
      out.write("\r\n              ");
      out.write("</ul>\r\n            ");
      out.write("</dd>\r\n          ");
      out.write("</tr>\r\n        ");
 } 
      out.write("\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<span id=\"appendedArea\">\r\n        ");
 Collection appendedColl = cmdty.getCmdtyCompositionAppended(connection); 
      out.write("\r\n        ");
 if (appendedColl.size() > 0) { 
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"top\">\r\n            ");
      out.write("<dt>添付品");
      out.write("</dt>\r\n            ");
      out.write("<dd>\r\n              ");
      out.write("<ul>\r\n                ");
 int groupAmountCount = 0;
      out.write("\r\n                ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_9 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_9.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_9.setParent(null);
      _jspx_th_webshop_siiterator_9.setId("compositionAppendedID");
      _jspx_th_webshop_siiterator_9.setType("jp.co.sint.basic.SICmdtyCompositionAppended");
      _jspx_th_webshop_siiterator_9.setCollection(appendedColl);
      int _jspx_eval_webshop_siiterator_9 = _jspx_th_webshop_siiterator_9.doStartTag();
      if (_jspx_eval_webshop_siiterator_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionAppended compositionAppendedID = null;
        compositionAppendedID = (jp.co.sint.basic.SICmdtyCompositionAppended) pageContext.findAttribute("compositionAppendedID");
        do {
          out.write("\r\n                  ");
 if (!compositionAppendedID.getAmountFlg().equals("0") && compositionAppendedID.getSetCount().equals("1")
                          && Integer.parseInt(compositionAppendedID.getAmount()) < Integer.parseInt(compositionAppendedID.getAppendedCount())) { 
          out.write("\r\n                    ");
 groupAmountCount++; 
          out.write("\r\n                  ");
 } 
          out.write("\r\n                    ");
 String detailValue = compositionAppendedID.getShopCode() + "~" + compositionAppendedID.getDetailCmdtyCode() + "~" + compositionAppendedID.getDetailIndividualCode() + "~" + compositionAppendedID.getSetCount() + "~" + compositionAppendedID.getAppendedCount(); 
          out.write("\r\n                    ");
          out.write("<li>・");
          out.print(compositionAppendedID.getCmdtyName());
          out.write("（");
          out.print(compositionAppendedID.getSetCount());
          out.write("セットご購入毎に");
          out.print(compositionAppendedID.getAppendedCount());
          out.write("個添付）");
          out.write("</li>\r\n                    ");
          out.write("<input type=\"hidden\" name=\"appended\" value=\"");
          out.print(detailValue );
          out.write("\" >\r\n                  ");
 if (groupAmountCount > 0) { 
          out.write("\r\n                    ");
 compositionOrderCount++; 
          out.write("\r\n                  ");
 } 
          out.write("\r\n               ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_9.doAfterBody();
          compositionAppendedID = (jp.co.sint.basic.SICmdtyCompositionAppended) pageContext.findAttribute("compositionAppendedID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_9);
      out.write("\r\n              ");
      out.write("</ul>\r\n            ");
      out.write("</dd>\r\n          ");
      out.write("</tr>\r\n        ");
 } 
      out.write("\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<span id=\"rervMsg\">\r\n        ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION) && (optionColl.size() > 0) && (appendedColl.size() > 0)) { 
      out.write("\r\n          ※予約商品に限り「オプション」はご指定いただけません。");
      out.write("<br/>\r\n          ※予約商品に限り「添付品」の添付はございません。\r\n        ");
 }else if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION) && (optionColl.size() > 0)) { 
      out.write("\r\n          ※予約商品に限り「オプション」はご指定いただけません。");
      out.write("<br/>\r\n        ");
 }else if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION) && (appendedColl.size() > 0)) { 
      out.write("\r\n          ※予約商品に限り「添付品」の添付はございません。");
      out.write("<br/>\r\n        ");
 } 
      out.write("\r\n      ");
      out.write("</span>\r\n       ");
      out.write("\r\n       ");
      out.write("</dl>\r\n       ");
      out.write("<dl id=\"itemDetailCart-select\">\r\n       ");
      out.write("<span id=\"amountPrice\" >\r\n         ");
 if (!cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET) && compositionOrderCount <= 0) { 
      out.write("\r\n           ");
      out.write("<div id=\"amountCart\">");
      out.write("<dt>数量：");
      out.write("</dt>");
      out.write("<dd>");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_4 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_4.setPageContext(pageContext);
      _jspx_th_webshop_siselect_4.setParent(null);
      _jspx_th_webshop_siselect_4.setName("cartAmountTxt");
      _jspx_th_webshop_siselect_4.setDefault("");
      _jspx_th_webshop_siselect_4.setCollection(amountColl);
      int _jspx_eval_webshop_siselect_4 = _jspx_th_webshop_siselect_4.doStartTag();
      if (_jspx_th_webshop_siselect_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_4);
      out.write("</dd>");
      out.write("</div>\r\n           ");
      out.write("<div id=\"amountRsrv\" style=\"display:none\">");
      out.write("<dt>数量：");
      out.write("</dt>");
      out.write("<dd>");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_5 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_5.setPageContext(pageContext);
      _jspx_th_webshop_siselect_5.setParent(null);
      _jspx_th_webshop_siselect_5.setName("amountTxt");
      _jspx_th_webshop_siselect_5.setDefault("");
      _jspx_th_webshop_siselect_5.setCollection(amountColl);
      int _jspx_eval_webshop_siselect_5 = _jspx_th_webshop_siselect_5.doStartTag();
      if (_jspx_th_webshop_siselect_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_5);
      out.write("</dd>");
      out.write("</div>\r\n         ");
 } 
      out.write("\r\n         ");
      out.write("<dt>商品合計：");
      out.write("</dt>\r\n         ");
      out.write("<dd>\r\n           ");
      out.write("<!--  TODO: 数量変更時アニメーションで金額変更 -->\r\n           ");
      out.write("<span id=\"shohinGokei\" class=\"price\">￥- ");
      out.write("</span>");
      out.write("<span class=\"fcRed tax\">(税別)");
      out.write("</span>\r\n         ");
      out.write("</dd>\r\n       ");
      out.write("</span>\r\n       ");
      out.write("</dl>\r\n\r\n          ");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n          ");
      out.write("<!--\r\n          ");
 if (!cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET) && compositionOrderCount <= 0) { 
      out.write("\r\n          var itemNameCart = \"cartAmountTxt\";\r\n          var itemNameRsrv = \"amountTxt\";\r\n\r\n          $(\"select[name='\"+itemNameCart+\"']\").change(function (){\r\n            chgSelectBox();\r\n            });\r\n          $(\"select[name='\"+itemNameRsrv+\"']\").change(function (){\r\n              chgSelectBox();\r\n              });\r\n          ");
 } 
      out.write("\r\n          var sum = \"\";\r\n          function chgSelectBox() {\r\n              var price = \"");
      out.print( price );
      out.write("\";\r\n              ");
 if (!cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET) && compositionOrderCount <= 0) { 
      out.write("\r\n              var itemName = \"\";\r\n              if ($(\"select[name='cartAmountTxt']\").css('display') == 'none') {\r\n                itemName = \"amountTxt\";\r\n              } else {\r\n                itemName = \"cartAmountTxt\";\r\n              }\r\n              var kosu = $(\"select[name='\"+itemName+\"']\").val();\r\n              ");
 } else {
      out.write("\r\n              var kosu = \"1\";\r\n              ");
 } 
      out.write("\r\n              \r\n              if (price != \"\") {\r\n                  sum = price * kosu;\r\n                  $(\"#shohinGokei\").html(\"\");\r\n                  $(\"#shohinGokei\").html(\"￥\" + String(sum).replace( /(\\d)(?=(\\d\\d\\d)+(?!\\d))/g, '$1,'));\r\n              }\r\n          }\r\n          chgSelectBox();\r\n          \r\n          function addCartView2() {\r\n            addCartView(sum);\r\n          }\r\n          //-->\r\n          ");
      out.write("</script>\r\n          \r\n        ");
 if (cmdty.isHairCosme(request)) { 
      out.write("\r\n          ");
      out.write("<p class=\"btn btnContact\">\r\n            ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.haircosme"));
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n          ");
      out.write("</p>\r\n        ");
 } else if (cmdty.isContractFlg()&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)) { 
      out.write("\r\n          ");
      out.write("<p class=\"btn btnContact\">\r\n            ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd);
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>ログインはこちら");
      out.write("</a>\r\n          ");
      out.write("</p>\r\n        ");
 } else if (cmdty.isContractFlg() && cmdty.isMailContract(connection)) { 
      out.write("\r\n          ");
      out.write("<p class=\"btn btnContact\">\r\n            ");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.contract_peachpeau")+"?contractMaker="+cmdty.getMakerCode());
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n          ");
      out.write("</p>\r\n        ");
 } else if (cmdty.isContractFlg()) { 
      out.write("\r\n          ");
      out.write("<p class=\"btn btnContact\">\r\n            ");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/license.html",false));
      out.write("\">");
      out.write("<span class=\"fcRed\">契約顧客様限定");
      out.write("</span>");
      out.write("<br>お取引申込はこちら");
      out.write("</a>\r\n          ");
      out.write("</p>\r\n        ");
 } else if (cmdty.getInquiryFlg().equals("1")) { 
      out.write("\r\n          ");
      out.write("<p class=\"btn btnContact\">\r\n            ");
      out.write("<a href=\"tel:0120974554\">お問い合わせください");
      out.write("<br>0120-974-554");
      out.write("</a>\r\n          ");
      out.write("</p>\r\n        ");
 } else if (compositionOrderCount <= 0 && !fixedSetSoldOut) { 
      out.write("\r\n          ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)) { 
      out.write("\r\n            ");
      out.write("<button id=\"bouttonCart\" class=\"btnAddCart btnYl\" onClick=\"initCartBtn();addYoridoriCart(); return false;\">\r\n              ");
      out.write("<span>カートに入れる");
      out.write("</span>\r\n            ");
      out.write("</button>\r\n          ");
 } else { 
      out.write("\r\n            ");
      out.write("<button id=\"bouttonCart\" class=\"btnAddCart btnYl\" onClick=\"initCartBtn();addCartCheck(); return false;\">\r\n              ");
      out.write("<span>カートに入れる");
      out.write("</span>\r\n            ");
      out.write("</button>\r\n          ");
 } 
      out.write("\r\n          ");
      out.write("<button id=\"bouttonRsrv\" class=\"btnBook btnYl\"  style=\"display:none\" onClick=\"addRsrv();\">\r\n            ");
      out.write("<span>予約する");
      out.write("</span>\r\n          ");
      out.write("</button>\r\n        ");
 } else { 
      out.write("\r\n          ");
      out.write("<p class=\"btn soldout\">\r\n            ");
      out.write("<span class=\"fcRed\">SOLD OUT");
      out.write("</span>\r\n          ");
      out.write("</p>\r\n          ");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n          ");
      out.write("<!--\r\n          $(\"#amountPrice\").css(\"display\",\"none\")\r\n          //-->\r\n          ");
      out.write("</script>\r\n        ");
 } 
      out.write("\r\n          \r\n        ");
      out.write("<p class=\"taC fwB fcBlue\">4,000円以上のご購入で通常送料・手数料無料！");
      out.write("</p>\r\n        ");
      out.write("<script type=\"text/javascript\">\r\n\r\nfunction initAddMyCatalog() {\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    return;\r\n  }\r\n  if (favoriteStr.indexOf($(\"#cartIndividualCodeTxt\").val()) != -1) {\r\n        $(\"#tuika\").css(\"display\", \"none\");\r\n        $(\"#torokuzumi\").css(\"display\", \"block\");\r\n        return false;\r\n  }\r\n}\r\n\r\nfunction setCookie(cartIndividualCode) {\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null || favoriteStr== \"\") {\r\n    favoriteStr = cartIndividualCode;\r\n  }else {\r\n    if (favoriteStr.indexOf(cartIndividualCode) == -1) {\r\n        favoriteStr += \",\" + cartIndividualCode;\r\n    }\r\n  }\r\n  \r\n  $.cookie(\"ws_favoriteBG\", favoriteStr, {expires:30, path: \"");
      out.print(webshopSite);
      out.write("\" });\r\n  // フッターの件更新\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    $(\"#global-mypage_count\").html(\"\");\r\n\t\r\n\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count=0&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t}\t\r\n\t\r\n    return;\r\n  }\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\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count='+(favoriteCnt) + '&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t}  \r\n  \r\n  $(\"#tuika\").css(\"display\", \"none\");\r\n");
      out.write("  $(\"#torokuzumi\").css(\"display\", \"block\");\r\n}\r\n\r\nfunction addMyCatalogForLogin() {\r\n  setCookie($(\"#cartIndividualCodeTxt\").val());\r\n  addMyCatalog();\r\n}\r\n\r\nfunction addMyCatalogForNoLogin() {\r\n  setCookie($(\"#cartIndividualCodeTxt\").val());\r\n}\r\n\r\nfunction addMyCatalog() {\r\n  var url=\"");
      out.print(SIHTMLUtil.getRootPath(request)+"/search_cmdty");
      out.write("\";\r\n  document.cartForm.actionNameTxt.value='");
      out.print(SIConfig.SIACTION_ADD2);
      out.write("';\r\n  \r\n  var str = $('form[name=cartForm]').serialize();\r\n    jQuery.ajax({\r\n    url:url,\r\n    type:'POST',\r\n    data:str,\r\n    success:function(request){\r\n    }\r\n  });\r\n  with(document.cartForm){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_CART2);
      out.write("';\r\n  }\r\n}\r\n");
      out.write("</script>\r\n\r\n");
if(SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n  ");
      out.write("<span id=\"tuika\">");
      out.write("<p class=\"btn addFav\">");
      out.write("<a href=\"javascript:addMyCatalogForNoLogin();\">お気に入りに追加");
      out.write("</a>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<span id=\"torokuzumi\" style=\"display:none\" >");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<script type=\"text/javascript\">\r\n    initAddMyCatalog();\r\n  ");
      out.write("</script>\r\n");
}else if(SIDBUtil.hasData(connection,"SELECT * FROM mycatalogtbl WHERE individualcode="+SIDBUtil.SQL2Str(cmdty.getIndividualCode())+" AND custcode="+SIDBUtil.SQL2Str(SIHTMLUtil.getUserInfo(request).getCustCode()))){
      out.write("\r\n  ");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>\r\n");
}else{
      out.write("\r\n  ");
      out.write("<span id=\"tuika\">");
      out.write("<p class=\"btn addFav\">");
      out.write("<a href=\"javascript:addMyCatalogForLogin();\">お気に入りに追加");
      out.write("</a>");
      out.write("</p>");
      out.write("</span>\r\n  ");
      out.write("<span id=\"torokuzumi\" style=\"display:none\" >");
      out.write("<p class=\"btn addFav faved\">");
      out.write("<span>お気に入り登録済み");
      out.write("</span>");
      out.write("</p>");
      out.write("</span>\r\n");
}
      out.write("\r\n        ");
      out.write("\r\n    ");
      out.write("</div>\r\n\r\n");
      out.write("<input name=\"cartShopCodeTxt\" type=\"hidden\" value=\"0\">\r\n");
      out.write("<input name=\"cartCmdtyCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCode());
      out.write("\">\r\n");
      out.write("<input id=\"cartIndividualCodeTxt\" name=\"cartIndividualCodeTxt\" type=\"hidden\" value=\"");
      out.print(cmdty.getIndividualCode());
      out.write("\">\r\n");
      out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.SIACTION_CART2);
      out.write("\">\r\n");
      out.write("<input name=\"cmdtyCompositionFlg\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCompositionFlg());
      out.write("\">\r\n");
      out.write("<input name=\"compositionGroupCount\" type=\"hidden\" id=\"compositionGroupCount\" value=\"");
      out.print(compositionGroupCount);
      out.write("\">\r\n");
      out.write("<input name=\"rsrvShopCodeTxt\" type=\"hidden\" value=\"0\">\r\n");
      out.write("<input name=\"rsrvCmdtyCodeTxt\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvIndividualCodeTxt\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvStndrdCodeTxt1\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvStndrdCodeTxt2\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvElementCodeTxt1\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvElementCodeTxt2\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvTempValue\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input name=\"rsrvCompositionCountTxt\" type=\"hidden\" value=\"\">\r\n");
      out.write("<input type=\"hidden\" name=\"CartClickFlg\" value=\"1\"/>\r\n\r\n");
      out.write("</form>\r\n\r\n");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nrsrvCartCheck('9', '");
      out.print(defaultCheckedValue);
      out.write("');\r\n//-->\r\n");
      out.write("</script>\r\n");
 } 
      out.write("\r\n");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_VARIATION_SET)
       || cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SPECIFICATION)) { 
      out.write("\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\ndefaultSetting('");
      out.print( selectName );
      out.write("');\r\n//-->\r\n");
      out.write("</script>\r\n");
 } 
      out.write("\r\n");
      out.write("\r\n    ");
 } 
      out.write("\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--▼ソーシャルボタン：ここから▼-->\r\n  ");
      out.write("<style type=\"text/css\"> \r\n");
      out.write("<!--\r\n.socialBtn{\r\nfloat:right;text-align:left;width: 318px;\r\n}\r\n.mixi{\r\nfloat:left; padding-left:3px; padding-top:1px;\r\n}\r\n.twt{\r\nfloat:left; padding-left:18px;\r\nwidth: 110px;\r\n}\r\n.fcbk{\r\nfloat:left; padding-left:18px;/*margin-left:-20px;*/\r\n}\r\n#fb-root{ display:none; }\r\n-->\r\n");
      out.write("</style>\r\n");
String socialPageURL = "http://www.beautygarage.jp"+ webshopSite +"/search_cmdty/"+cmdty.getCmdtyCode()+"/"+cmdty.getIndividualCode();
      out.write("\r\n");
      out.write("<ul class=\"socialBtn\">\r\n");
      out.write("<li class=\"mixi\">");
      out.write("<a href=\"http://mixi.jp/share.pl\" class=\"mixi-check-button\" data-key=\"69c268f3b93d236b2cb65dcc30b239f83c69a583\">Check");
      out.write("</a>");
      out.write("<script type=\"text/javascript\" src=\"https://static.mixi.jp/js/share.js\">");
      out.write("</script>");
      out.write("</li>\r\n");
      out.write("<li class=\"twt\">");
      out.write("<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-text=\"");
      out.print(cmdty.getCmdtyName());
      out.write("\" data-count=\"horizontal\" data-lang=\"ja\">ツイート");
      out.write("</a>");
      out.write("<script type=\"text/javascript\" src=\"https://platform.twitter.com/widgets.js\" charset=\"UTF-8\">");
      out.write("</script>");
      out.write("</li>\r\n");
      out.write("<li class=\"fcbk\">\r\n\r\n");
      out.write("<div id=\"fb-root\">");
      out.write("</div>\r\n");
      out.write("<script>(function(d, s, id) {\r\n  var js, fjs = d.getElementsByTagName(s)[0];\r\n  if (d.getElementById(id)) return;\r\n  js = d.createElement(s); js.id = id;\r\n  js.src = \"//connect.facebook.net/ja_JP/all.js#xfbml=1\";\r\n  fjs.parentNode.insertBefore(js, fjs);\r\n}(document, 'script', 'facebook-jssdk'));");
      out.write("</script>\r\n\r\n");
      out.write("<div class=\"fb-like\" data-href=\"");
      out.print(socialPageURL);
      out.write("\" data-send=\"false\" data-layout=\"button_count\" data-width=\"100\" data-show-faces=\"false\">");
      out.write("</div>\r\n");
      out.write("</li>\r\n");
      out.write("</ul>\r\n  ");
      out.write("</div>");
      out.write("\r\n  ");
      out.write("<!--▲ソーシャルボタン：ここまで▲-->\r\n  ");
      out.write("<!--▼商品詳細：ここから▼-->\r\n  ");
      out.write("<div id=\"itemDetailDesc\">\r\n  ");
      out.write("<h2>商品詳細");
      out.write("</h2>\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<p>\r\n    ");
      out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getDescription()));
      out.write("\r\n    ");
      out.write("</p>\r\n    ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_2 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_2.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_2.setParent(null);
      _jspx_th_webshop_isTrue_2.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment1Text())));
      int _jspx_eval_webshop_isTrue_2 = _jspx_th_webshop_isTrue_2.doStartTag();
      if (_jspx_eval_webshop_isTrue_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<div class=\"spdtl-ttl\">");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment1Title()));
          out.write("</div>\r\n    ");
          out.write("<div class=\"spdtl-ctn\">");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment1Text()));
          out.write("</div>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_2);
      out.write("\r\n    ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_3 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_3.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_3.setParent(null);
      _jspx_th_webshop_isTrue_3.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment2Text())));
      int _jspx_eval_webshop_isTrue_3 = _jspx_th_webshop_isTrue_3.doStartTag();
      if (_jspx_eval_webshop_isTrue_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<div class=\"spdtl-ttl\">");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment2Title()));
          out.write("</div>\r\n    ");
          out.write("<div class=\"spdtl-ctn\">");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment2Text()));
          out.write("\r\n    ");
          out.write("</div>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_3);
      out.write("\r\n    ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_4 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_4.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_4.setParent(null);
      _jspx_th_webshop_isTrue_4.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment3Text())));
      int _jspx_eval_webshop_isTrue_4 = _jspx_th_webshop_isTrue_4.doStartTag();
      if (_jspx_eval_webshop_isTrue_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<div class=\"spdtl-ttl\">");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment3Title()));
          out.write("</div>\r\n    ");
          out.write("<div class=\"spdtl-ctn\">");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment3Text()));
          out.write("\r\n    ");
          out.write("</div>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_4);
      out.write("\r\n    ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_5 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_5.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_5.setParent(null);
      _jspx_th_webshop_isTrue_5.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment5Text())));
      int _jspx_eval_webshop_isTrue_5 = _jspx_th_webshop_isTrue_5.doStartTag();
      if (_jspx_eval_webshop_isTrue_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<div class=\"spdtl-ttl\">");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment5Title()));
          out.write("</div>\r\n    ");
          out.write("<div class=\"spdtl-ctn sponly5\">");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment5Text()));
          out.write("\r\n    ");
          out.write("</div>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_5.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_5);
      out.write("\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n  ");
      out.write("\r\n  ");
      out.write("<!--▲商品詳細：ここまで▲-->\r\n  ");
      out.write("<!--▼関連商品：ここから▼-->\r\n  ");
      out.write("  ");
      out.write("<div id=\"relationItem\">\r\n    ");
      out.write("<h2>サイズ/色違いの商品・関連商品");
      out.write("</h2>\r\n    ");
      out.write("<ul class=\"itemLink linkList\">\r\n      ");
      out.write("<!--▼個別アイテム：ここから▼-->       \r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_10 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_10.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_10.setParent(null);
      _jspx_th_webshop_siiterator_10.setId("connCmdtyID");
      _jspx_th_webshop_siiterator_10.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_10.setCollection(UIConnCmdtyListCond.getListCollection_front(connection,cmdtyInfoID.getCmdtyCodeTxt(),cmdtyInfoID.getIndividualCodeTxt(),false,request));
      int _jspx_eval_webshop_siiterator_10 = _jspx_th_webshop_siiterator_10.doStartTag();
      if (_jspx_eval_webshop_siiterator_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdty connCmdtyID = null;
        connCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("connCmdtyID");
        do {
          out.write("\r\n      ");
String connURL = webshopSite+loginSite+"/"+connCmdtyID.getCmdtyCode()+"/"+connCmdtyID.getIndividualCode();
      if (SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) connURL = connURL+"/"+currCtgryCode;
      
          out.write("\r\n      ");
          out.write("<li class=\"itemList-item\">\r\n      ");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\">\r\n        ");
          out.write("<span class=\"thumb\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/cmdty/");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyCode()));
          out.write("/");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyCode()));
          out.write("_");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getIndividualCode()));
          out.write("_t.jpg\" width=\"68\" height=\"68\">");
          out.write("</span>\r\n        ");
          out.write("<span class=\"data\">\r\n          ");
          out.write("<span class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyName()));
          out.write("</span>\r\n          ");
          out.write("<span class=\"price\">\r\n            ");
if(connCmdtyID.isContractFlg()){
          out.write("\r\n              ");
          out.write("<span class=\"price\">BG卸価:契約後表示");
          out.write("</span>\r\n            ");
}else if(connCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n              ");
          out.write("<span class=\"price\">BG卸価:お問い合わせ");
          out.write("</span>\r\n            ");
}else if(connCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n              ");
          out.write("<span class=\"price\">BG卸価:ログイン表示");
          out.write("</span>\r\n            ");
}else{
          out.write("\r\n              ");
if (!connCmdtyID.isCmdtyComposition()){
          out.write("\r\n                ");
if(connCmdtyID.getFinalUnitPriceWithoutTax().equals(connCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n                  ￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>\r\n                ");
}else{
          out.write("\r\n                  ");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<p class=\"price\">￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>");
          out.write("</p>\r\n                ");
}
          out.write("\r\n              ");
}else{
          out.write("\r\n                ");
 String setUnitPrice = connCmdtyID.getSetUnitPriceWithoutTax(connection); 
          out.write("\r\n                ");
 String setDiscountUnitPrice = connCmdtyID.getSetDiscountUnitPriceWithoutTax(connection); 
          out.write("\r\n                ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
          out.write("\r\n                  ");
          out.write("<p>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>");
          out.write("</p>\r\n                ");
}else{
          out.write("\r\n                  ");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span class=\"tax\">(税別)");
          out.write("</span>");
          out.write("</p>\r\n                ");
}
          out.write("\r\n            ");
}}
          out.write("\r\n          ");
          out.write("</span>\r\n        ");
          out.write("</span>\r\n        ");
          out.write("</a>\r\n      ");
          out.write("</li>\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_10.doAfterBody();
          connCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("connCmdtyID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_10);
      out.write("\r\n      ");
      out.write("<!--▲個別アイテム：ここまで▲-->\r\n    ");
      out.write("</ul>\r\n  ");
      out.write("</div>");
      out.write("\r\n  ");
      out.write("<!--▲関連商品：ここまで▲-->\r\n  ");
      out.write("<!--▼この商品を見た人は：ここから▼-->\r\n  ");
Collection recommendItem1Coll = new UIOtherCmdty(cmdtyInfoID.getShopCodeTxt(),cmdtyInfoID.getCmdtyCodeTxt()).getCollection(connection,false,request);
      out.write("\r\n");
if(recommendItem1Coll!=null && recommendItem1Coll.size()>0){
      out.write("\r\n");
      out.write("<div id=\"recommendItem1\" class=\"colorBox2\">\r\n  ");
      out.write("<h3>この商品を見た人は以下のような商品もチェックしています");
      out.write("</h3>\r\n  ");
      out.write("<div class=\"swipeBox col-4\">\r\n    ");
      out.write("<div class=\"swiper-container\">\r\n      ");
      out.write("<ul class=\"swiper-wrapper itemList horizontal clr\">\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_11 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_11.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_11.setParent(null);
      _jspx_th_webshop_siiterator_11.setId("otherCmdtyID");
      _jspx_th_webshop_siiterator_11.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_11.setCollection(recommendItem1Coll);
      int _jspx_eval_webshop_siiterator_11 = _jspx_th_webshop_siiterator_11.doStartTag();
      if (_jspx_eval_webshop_siiterator_11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdty otherCmdtyID = null;
        otherCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("otherCmdtyID");
        do {
          out.write("\r\n      ");
String otherURL = webshopSite+loginSite+"/"+otherCmdtyID.getCmdtyCode()+"/"+otherCmdtyID.getIndividualCode();
      if (SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) otherURL = otherURL+"/"+currCtgryCode;
      
          out.write("\r\n        ");
          out.write("<!--▼個別アイテム：ここから▼-->\r\n        ");
          out.write("<li class=\"itemList-item swiper-slide\">\r\n          ");
          out.write("<span class=\"thumb\">");
          out.write("<a href=\"");
          out.print(otherURL);
          out.write("\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/cmdty/");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyCode()));
          out.write("/");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyCode()));
          out.write("_");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getIndividualCode()));
          out.write("_t.jpg\" width=\"68\" height=\"68\" />");
          out.write("</a>");
          out.write("</span>\r\n          ");
          out.write("<span class=\"name\">");
          out.write("<a href=\"");
          out.print(cmdtySrvSite+"/"+otherCmdtyID.getCmdtyCode()+"/"+otherCmdtyID.getIndividualCode());
          out.write("\">");
          out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyName()),14,"…"));
          out.write("</a>");
          out.write("</span>\r\n          ");
if(otherCmdtyID.isContractFlg()){
          out.write("\r\n            BG卸価：契約後表示\r\n          ");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n            お問い合わせ下さい\r\n          ");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n            BG卸価：ログイン表示\r\n          ");
}else{
          out.write("\r\n          ");
          out.write("<span class=\"price\">\r\n            ");
if (!otherCmdtyID.isCmdtyComposition()){
          out.write("\r\n              ");
if(otherCmdtyID.getFinalUnitPriceWithoutTax().equals(otherCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n                ￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getUnitPriceWithoutTax()));
          out.write("</strike>");
          out.write("<br>\r\n                VIP特価：");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("\r\n              ");
}
          out.write("\r\n            ");
}else{
          out.write("\r\n              ");
 String setUnitPrice = otherCmdtyID.getSetUnitPriceWithoutTax(connection); 
          out.write("\r\n              ");
 String setDiscountUnitPrice = otherCmdtyID.getSetDiscountUnitPriceWithoutTax(connection); 
          out.write("\r\n              ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
          out.write("\r\n                ￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("</strike>");
          out.write("<br>\r\n                VIP特価：￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("\r\n              ");
}
          out.write("\r\n            ");
}
          out.write("\r\n          ");
          out.write("</span>\r\n        ");
          out.write("</li>\r\n        ");
          out.write("<!--▲個別アイテム：ここまで▲-->\r\n        ");
}
          out.write("\r\n        \r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_11.doAfterBody();
          otherCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("otherCmdtyID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_11);
      out.write("\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("<a class=\"btnPrev\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n      ");
      out.write("<a class=\"btnNext\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
}
      out.write("\r\n  ");
      out.write("<!--▲この商品を見た人は：ここまで▲-->\r\n  ");
      out.write("<!--▼その他おすすめ：ここから▼-->\r\n  ");
Collection recommendItem2Coll = UICmdtyRanking.getCmdtyRankingCollection(connection,request,cmdty.getIndividualCode(),30);
      out.write("\r\n");
if(recommendItem2Coll!=null && recommendItem2Coll.size()>0){
      out.write("\r\n");
      out.write("<div id=\"recommendItem2\" class=\"colorBox2\">\r\n  ");
      out.write("<h3>その他おすすめの");
      out.print(UICmdtyRanking.getCmdtyRankingName(connection,cmdty.getIndividualCode()));
      out.write("</h3>\r\n  ");
      out.write("<div class=\"swipeBox col-4\">\r\n    ");
      out.write("<div class=\"swiper-container\">\r\n      ");
      out.write("<ul class=\"swiper-wrapper itemList horizontal clr\">\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_12 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_12.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_12.setParent(null);
      _jspx_th_webshop_siiterator_12.setId("recommendCmdtyID");
      _jspx_th_webshop_siiterator_12.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_12.setCollection(recommendItem2Coll);
      int _jspx_eval_webshop_siiterator_12 = _jspx_th_webshop_siiterator_12.doStartTag();
      if (_jspx_eval_webshop_siiterator_12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdty recommendCmdtyID = null;
        recommendCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("recommendCmdtyID");
        do {
          out.write("\r\n      ");
String recommendURL = webshopSite+loginSite+"/"+recommendCmdtyID.getCmdtyCode()+"/"+recommendCmdtyID.getIndividualCode();
      if (SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) recommendURL = recommendURL+"/"+currCtgryCode;
      
          out.write("\r\n        ");
          out.write("<!--▼個別アイテム：ここから▼-->\r\n        ");
          out.write("<li class=\"itemList-item swiper-slide\">\r\n          ");
          out.write("<span class=\"thumb\">");
          out.write("<a href=\"");
          out.print(recommendURL);
          out.write("\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/cmdty/");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyCode()));
          out.write("/");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyCode()));
          out.write("_");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getIndividualCode()));
          out.write("_t.jpg\" width=\"68\" height=\"68\" />");
          out.write("</a>");
          out.write("</span>\r\n          ");
          out.write("<span class=\"name\">");
          out.write("<a href=\"");
          out.print(cmdtySrvSite+"/"+recommendCmdtyID.getCmdtyCode()+"/"+recommendCmdtyID.getIndividualCode());
          out.write("\">");
          out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyName()),14,"…"));
          out.write("</a>");
          out.write("</span>\r\n          ");
if(recommendCmdtyID.isContractFlg()){
          out.write("\r\n            BG卸価：契約後表示\r\n          ");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n            お問い合わせ下さい\r\n          ");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n            BG卸価：ログイン表示\r\n          ");
}else{
          out.write("\r\n          ");
          out.write("<span class=\"price\">\r\n            ");
if (!recommendCmdtyID.isCmdtyComposition()){
          out.write("\r\n              ");
if(recommendCmdtyID.getFinalUnitPriceWithoutTax().equals(recommendCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n                ￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getUnitPriceWithoutTax()));
          out.write("</strike>");
          out.write("<br>\r\n                VIP特価：");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("\r\n              ");
}
          out.write("\r\n            ");
}else{
          out.write("\r\n              ");
 String setUnitPrice = recommendCmdtyID.getSetUnitPriceWithoutTax(connection); 
          out.write("\r\n              ");
 String setDiscountUnitPrice = recommendCmdtyID.getSetDiscountUnitPriceWithoutTax(connection); 
          out.write("\r\n              ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
          out.write("\r\n                ￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("</strike>");
          out.write("<br>\r\n                VIP特価：￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("\r\n              ");
}
          out.write("\r\n            ");
}
          out.write("\r\n          ");
          out.write("</span>\r\n          \r\n        ");
          out.write("</li>\r\n        ");
          out.write("<!--▲個別アイテム：ここまで▲-->\r\n        ");
}
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_12.doAfterBody();
          recommendCmdtyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("recommendCmdtyID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_12);
      out.write("\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("<a class=\"btnPrev\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n      ");
      out.write("<a class=\"btnNext\" href=\"javascript:void(0);\">&nbsp;");
      out.write("</a>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
}
      out.write("\r\n  ");
      out.write("<!--▲その他おすすめ：ここまで▲-->\r\n  ");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n  ");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n\r\n");
      out.write("<h2 class=\"recentitem-ttl\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage/a/list2\"  class=\"linkArrow\">最近チェックした商品");
      out.write("</a>");
      out.write("</h2>\r\n");
      out.write("<div id=\"recentItem\" class=\"colorBox2\">\r\n  ");
Collection commodityHistoryColl=jp.co.sint.servlet.front.SICommoditySrv.readCmdtyHistory(request,connection);
      out.write("\r\n  ");
      out.write("<ul class=\"itemList col-4 clr\">\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(commodityHistoryColl.size()==0);
      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    ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_13 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_13.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_13.setParent(_jspx_th_webshop_isFalse_0);
          _jspx_th_webshop_siiterator_13.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_13.setCollection(commodityHistoryColl);
          _jspx_th_webshop_siiterator_13.setId("historyID");
          _jspx_th_webshop_siiterator_13.setSize(4);
          int _jspx_eval_webshop_siiterator_13 = _jspx_th_webshop_siiterator_13.doStartTag();
          if (_jspx_eval_webshop_siiterator_13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SICmdty historyID = null;
            historyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("historyID");
            do {
              out.write("\r\n      ");
              out.write("<!--▼個別アイテム：ここから▼-->\r\n      ");
              out.write("<li class=\"itemList-item grid4\">\r\n        ");
              out.write("\r\n        ");
              out.write("<span class=\"thumb\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(historyID.getCmdtyCode());
              out.write("/");
              out.print(historyID.getCmdtyCode());
              out.write("_");
              out.print(historyID.getIndividualCode());
              out.write("_t.jpg\" width=\"68\" height=\"68\">");
              out.write("</a>");
              out.write("</span>\r\n        ");
              out.write("<span class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(historyID.getCmdtyName()),14,"…"));
              out.write("</a>");
              out.write("</span>\r\n          ");
if(historyID.isContractFlg()){
              out.write("\r\n            BG卸価：契約後表示\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("2")){
              out.write("\r\n            お問い合わせ下さい\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("\r\n            BG卸価：ログイン表示\r\n          ");
}else{
              out.write("\r\n          ");
              out.write("<span class=\"price\">\r\n            ");
if (!historyID.isCmdtyComposition()){
              out.write("\r\n              ");
if(historyID.getFinalUnitPriceWithoutTax().equals(historyID.getUnitPriceWithoutTax())){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(historyID.getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}else{
              out.write("\r\n              ");
 String setUnitPrice = historyID.getSetUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
 String setDiscountUnitPrice = historyID.getSetDiscountUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}
              out.write("\r\n          ");
              out.write("</span>\r\n          ");
}
              out.write("\r\n      ");
              out.write("</li>\r\n      ");
              out.write("<!--▲個別アイテム：ここまで▲-->\r\n    ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_13.doAfterBody();
              historyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("historyID");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_siiterator_13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_size_id_collection.reuse(_jspx_th_webshop_siiterator_13);
          out.write("\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_6 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_6.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_6.setParent(null);
      _jspx_th_webshop_isTrue_6.setValue(commodityHistoryColl.size()==0);
      int _jspx_eval_webshop_isTrue_6 = _jspx_th_webshop_isTrue_6.doStartTag();
      if (_jspx_eval_webshop_isTrue_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<li>");
          out.write("<p>最近チェックした商品はありません");
          out.write("</p>");
          out.write("</li>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_6.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_6);
      out.write("\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\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-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\r\n  ");
      out.write("<!--▽モーダル：ここから▽-->\r\n  ");
      out.write("<div id=\"modalContentsWrap\">\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_14 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_14.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_14.setParent(null);
      _jspx_th_webshop_siiterator_14.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_14.setCollection(UICtgryGroup.getSpCtgryListColl(connection));
      _jspx_th_webshop_siiterator_14.setId("headID");
      int _jspx_eval_webshop_siiterator_14 = _jspx_th_webshop_siiterator_14.doStartTag();
      if (_jspx_eval_webshop_siiterator_14 != 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_14.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_14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_14);
      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  ");
      out.write("<!--▽モーダル用カートにいれました：ここから▽-->\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/addCart.css\" media=\"all\" />\r\n");
      out.write("<div id=\"addcartContents\" class=\"modalContents\">\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<h2>カートに入れる");
      out.write("</h2>\r\n    ");
      out.write("<div class=\"cartModalBox-inner\">\r\n            ");
      out.write("<p class=\"taC\">商品をカートに追加しました。");
      out.write("</p>\r\n              \r\n              ");
      out.write("<ul class=\"col-2 clr\">\r\n                ");
      out.write("<li>");
      out.write("<p class=\"btn\">");
      out.write("<a href=\"javascript:void(0);\" onClick=\"$('.modalClose').trigger('click');\">OK");
      out.write("</a>");
      out.write("</p>");
      out.write("</li>\r\n                ");
      out.write("<span id=\"cartProgress\">\r\n                ");
      out.write("<li>");
      out.write("<p class=\"btnD\">");
      out.write("<a href=\"javascript:void(0);\">カートを見る");
      out.write("</a>");
      out.write("</p>");
      out.write("</li>\r\n                ");
      out.write("</span>\r\n                ");
      out.write("<span id=\"cartOk\" style=\"display:none;\">\r\n                ");
      out.write("<li>");
      out.write("<p class=\"btn\">");
      out.write("<a href=\"javascript:void(0);\" onClick=\"goToCart();\">カートを見る");
      out.write("</a>");
      out.write("</p>");
      out.write("</li>\r\n                ");
      out.write("</span>\r\n              ");
      out.write("</ul>\r\n              ");
      out.write("<div id=\"fp\">\r\n              ");
      out.write("<hr>\r\n              ");
      out.write("<p id=\"postagecarriage\" class=\"fcRed\" style=\"display:none;\">あと￥");
      out.write("<span id=\"adCFreePrice\">0,000");
      out.write("</span>（税込）お買い上げで送料無料！");
      out.write("</p>\r\n              ");
      out.write("</div>\r\n          ");
      out.write("</div>\r\n    ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar initCartBtn = function() {\r\n    $('#cartProgress').css(\"display\",\"block\");\r\n    $('#cartOk').css(\"display\",\"none\");\r\n};\r\n\r\nvar goToCart = function() {\r\n  location.href = \"");
      out.print(webshopSite);
      out.write("/cart_param\"; \r\n};\r\n//-->\r\n");
      out.write("</script>");
      out.write("\r\n  ");
      out.write("<!--△モーダル用カートに入れました：ここまで△-->\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△モーダル：ここまで△-->\r\n\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n\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);
    }
  }
}
