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;

public class cmdty_bed_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(7);
    _jspx_includes.add("/include/header_inc.jsp");
    _jspx_includes.add("/include/cmdty_inc.jsp");
    _jspx_includes.add("/include/cmdty_set_inc.jsp");
    _jspx_includes.add("/include/login_inc.jsp");
    _jspx_includes.add("/include/ctgry_tree_bed_inc.jsp");
    _jspx_includes.add("/include/cmdty_history_inc.jsp");
    _jspx_includes.add("/include/footer_inc.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_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_session_type_name_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;

  public cmdty_bed_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_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_session_type_name_id = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = 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_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_session_type_name_id.release();
    _jspx_tagPool_webshop_isFalse_value.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;
    jp.co.sint.basic.SICartManager _jspx_cartManager_1 = null;

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

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

/**
 * Copyright (c) 2003-2009 System Integrator Corporation. & BeautyGarage Inc.
 *                 All Rights Reserved.
 * @version $Id : cmdty_bed.jsp,v 1.0 2009/04/19 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : ベッド館の商品詳細画面
 * @History
 * Author        Date        Reason
 * ============  ==========  ===========================
 * Naotaka       2009-04-19  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\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)
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.bed"));
          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.bed");
String mainSrvSiteOrg=SIURLMap.getUrl(request,"webshop.servlet.front.main");
String cmdtySrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.commodity.bed");
if (request.isSecure()) cmdtySrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.commodity.bed");
String loginSite="/bed_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,"/bed");
String ctgrySrvSite=mainSrvSite+"/ctgry/"+currCtgryCode;
String ctgryTitleCode = cmdtyInfoID.getCtgryTitleCode(connection,"/bed");
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 PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n\"http://www.w3.org/TR/html4/loose.dtd\">\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 property=\"og:url\" content=\"");
      out.print(canonicalURL);
      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_BED]);
      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_BED]);
      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_BED]);
      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_BED]);
      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 href=\"");
      out.print(webshopSite);
      out.write("/css/import.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen,print\" />\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/css/cartstyle.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen,print\" />\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/css/print.css\" rel=\"stylesheet\" type=\"text/css\" media=\"print\" />\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/common.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.cmdtyaddCart.js?=20140711\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.cmdty_carousel.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n$(function(){\r\n  var targetC1 = $('#carouselWrap1');var targetC2 = $('#carouselWrap2');var targetC3 = $('#carouselWrap3');\r\n  if(targetC1.find('.mainBox').find('li').size() !== 0)carousel('#carouselWrap1');else{targetC1.remove();}\r\n  if(targetC2.find('.mainBox').find('li').size() !== 0)carousel('#carouselWrap2');else{targetC2.remove();}\r\n  if(targetC3.find('.mainBox').find('li').size() !== 0)carousel('#carouselWrap3');else{targetC3.remove();}\r\n});\r\n\r\nfunction addMyCatalog(){\r\n  if(confirm(\"お気に入りに追加しました。\\nお気に入りリストに移動しますか？\")){\r\n    with(document.cartForm){\r\n      actionNameTxt.value='");
      out.print(SIConfig.SIACTION_ADD);
      out.write("';\r\n      action='");
      out.print(SIHTMLUtil.getRootPath(request)+"/mypage");
      out.write("';\r\n      submit();\r\n    }\r\n  }else{\r\n  var url=\"");
      out.print(SIHTMLUtil.getRootPath(request)+"/search_cmdty");
      out.write("\";\r\n  with(document.cartForm){\r\n    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      var caller = $('#contents').find('.mycatalog').find('img');\r\n      \r\n      if(caller.size() > 0){\r\n        var callerPath = caller.attr('src');\r\n        var pathBox = callerPath.split(\".gif\");\r\n        caller.attr('src' , pathBox[0] + '_.gif');\r\n        caller.parent('a').click(function(){\r\n          return false;\r\n        });\r\n        caller.hover(function(){\r\n          $(this).css('opacity' , 1);\r\n        });\r\n      }else{\r\n        location.reload();\r\n      }\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}\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");
      out.write("</head>\r\n");
      out.write("<body id=\"bed\" class=\"style2 cartLabel1\">\r\n");
      out.write("<a name=\"top\" id=\"top\">");
      out.write("</a>\r\n");
      out.write("<div id=\"wrapper\">\r\n");
      out.write("<!-- headerArea -->\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\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', 'PC', 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://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r\n\tga.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'site_type':'d',\r\n\t\t//'customer_id':'【顧客コード】'\r\n\t}];\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");
 
//▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/script/switch.js\">");
      out.write("</script>\r\n");
      out.write("\r\n");
if(SIURLMap.isSmartPhone(request)){
      out.write("\r\n");
      out.write("<style type=\"text/css\"> \r\n");
      out.write("<!--\r\n#headerSearch {top:278px;} /*186pxにプラス*/\r\n#header_spbnr {display:block; width:950px; height:120px; margin:5px auto 0;}\r\n-->\r\n");
      out.write("</style>\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.spChanger.js\">");
      out.write("</script>\r\n");
      out.write("<a href=\"javascript:void(0);\" onClick=\"switchSP();\" id=\"header_spbnr\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/banner/banner_spsite.jpg\" alt=\"スマートフォン専用サイトはこちら\" width=\"950\" height=\"120\">");
      out.write("</a>\r\n");
}
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!--[if lt IE 7]>  ");
      out.write("<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>    ");
      out.write("<div style='width: 850px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>      ");
      out.write("<div style='width: 75px; float: left;'>");
      out.write("<img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/>");
      out.write("</div>      ");
      out.write("<div style='width: 485px; float: left; font-family: Arial, sans-serif;'>        ");
      out.write("<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>【お客様へ重要なお知らせ】セキュリティ強化のため、お客様が今お使いの古いWebブラウザ（IE6など）ではログインができなくなりました。");
      out.write("</div> ");
      out.write("<div style='font-size: 12px; margin-top: 6px; line-height: 12px;'>ログインするには、こちらから新しいWebブラウザを入手・ご使用ください→");
      out.write("</div> ");
      out.write("</div>\r\n");
      out.write("<div style='width: 75px; float: left;'>");
      out.write("<a href='http://www.google.com/chrome?hl=ja' target='_blank'>");
      out.write("<img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/>");
      out.write("</a>");
      out.write("</div>\r\n");
      out.write("<div style='width: 75px; float: left;'>");
      out.write("<a href='http://www.mozilla.jp' target='_blank'>");
      out.write("<img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/>");
      out.write("</a>");
      out.write("</div>      \r\n");
      out.write("<div style='width: 75px; float: left;'>");
      out.write("<a href='http://www.microsoft.com/ja-jp/windows/products/winfamily/ie/function/default.aspx' target='_blank'>");
      out.write("<img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer'/>");
      out.write("</a>");
      out.write("</div>\r\n");
      out.write("<div style='float: left;'>");
      out.write("<a href='http://www.apple.com/jp/safari/download/' target='_blank'>");
      out.write("<img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/>");
      out.write("</a>");
      out.write("</div>      \r\n");
      out.write("</div>  ");
      out.write("</div>");
      out.write("<style type='text/css'>#headerSearch {top:225px;} /*186pxにプラス*/");
      out.write("</style>  ");
      out.write("<![endif]-->\r\n\r\n");
      out.write("\r\n");

String xForwardedFor = ((HttpServletRequest) request).getHeader("X-Forwarded-For");
if (xForwardedFor!=null && xForwardedFor.length()>=13) xForwardedFor = xForwardedFor.substring(0,13);
else xForwardedFor = "";
//xForwardedForが社内IPに一致しない場合のみ、Optimizelyのタグを配信
if ( ("219.120.56.98".equals(xForwardedFor)) || ("153.142.2.209".equals(xForwardedFor)) ) {} else { 
      out.write("\r\n");
      out.write("<script src=\"//cdn.optimizely.com/js/2916990817.js\">");
      out.write("</script>\r\n");
 } 
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("<div id=\"headerArea\">\r\n");
      JspRuntimeLibrary.include(request, response, "/include/header_navigation_inc.jsp", out, true);
      out.write("\r\n");
      out.write("</div>\r\n");
} //▲アプリでは非表示：ここまで▲ 
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!-- /headerArea -->\r\n");
      out.write("<!-- contentsArea -->\r\n");
      out.write("<div id=\"contentsArea\">\r\n");
      out.write("<!-- root -->\r\n");
if(SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)){
      out.write("\r\n");
      out.write("<div id=\"root\" xmlns:v=\"http://rdf.data-vocabulary.org/#\">\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSiteOrg);
      out.write("\" rel=\"v:url\" property=\"v:title\">美容器具の卸通販TOP");
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a property=\"v:title\">商品詳細：");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</a>");
      out.write("</span>\r\n");
      out.write("</div>\r\n");
}else if(ctgryTitleCode.equals(currCtgryCode)){
      out.write("\r\n");
      out.write("<div id=\"root\" xmlns:v=\"http://rdf.data-vocabulary.org/#\">\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSiteOrg);
      out.write("\" rel=\"v:url\" property=\"v:title\">美容器具の卸通販TOP");
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(ctgrySrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(currCtgryName);
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a property=\"v:title\">商品詳細：");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</a>");
      out.write("</span>\r\n");
      out.write("</div>\r\n");
}else{
      out.write("\r\n");
      out.write("<div id=\"root\" xmlns:v=\"http://rdf.data-vocabulary.org/#\">\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSiteOrg);
      out.write("\" rel=\"v:url\" property=\"v:title\">美容器具の卸通販TOP");
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(ctgryTitleCodeURL);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIHTMLUtil.HTMLEncode(ctgryTitleName));
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a href=\"");
      out.print(ctgrySrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(currCtgryName);
      out.write("</a>");
      out.write("</span> &gt;\r\n");
      out.write("<span typeof=\"v:Breadcrumb\">");
      out.write("<a property=\"v:title\">商品詳細：");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if (SIUtil.isNotNull(makerNameBase)){
      out.write("（");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("）");
}
      out.write("</a>");
      out.write("</span>\r\n");
      out.write("</div>\r\n");
}
      out.write("\r\n");
      out.write("<!-- /root -->\r\n");
      out.write("<!-- title -->\r\n");
      out.write("<div id=\"title\" class=\"ctTitle\">\r\n");
      out.write("<h2>");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</h2>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /title -->\r\n");
      out.write("<!-- container -->\r\n");
      out.write("<div id=\"container\">\r\n");
      out.write("<!-- contents -->\r\n");
      out.write("<div id=\"contents\">\r\n");
      out.write("\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 language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction openCmdtyImage(referURL){\r\n  window.open(referURL, 'cmdtyWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=920,height=700');\r\n}\r\n$(document).ready( function() {\r\n  $(\".thum a img\").hover( function() {\r\n    var changeSrc = $(this).attr(\"src\")\r\n    var changeHref = $(this).parent(\"a\").attr(\"href\");\r\n    $(\"#target1\").attr(\"href\", changeHref);\r\n    $(\"#target2\").attr(\"src\", changeSrc);\r\n    $(\"#target3\").attr(\"href\", changeHref);\r\n    return false;\r\n  });\r\n});\r\n//-->\r\n");
      out.write("</script>\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");
      out.write("<!-- detail -->\r\n");
      out.write("<div id=\"detail\">\r\n");
      out.write("<div class=\"wrapper\">\r\n");
      out.write("<div class=\"box_type\">\r\n");
String cartBtnType = "";
if(cmdty.isHairCosmeFlg()) 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\r\n");
      out.write("\r\n\r\n");
      out.write("<p class=\"pic\">");
      out.write("<a id=\"target1\" href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      out.write("<img id=\"target2\" 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=\"394\" height=\"295\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"more\">");
      out.write("<a id=\"target3\" href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_expand.gif\" alt=\"イメージを拡大\" width=\"79\" height=\"15\" class=\"expand\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<ul class=\"thum\">\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
if(SIUtil.isNotNull(cmdty.getImageName2())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=2\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName3())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=3\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName4())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=4\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName5())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=5\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName6())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=6\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName7())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=7\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName8())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=8\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName9())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=9\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}if(SIUtil.isNotNull(cmdty.getImageName10())){
      out.write("\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=10\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n");
}
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"box_detail\">\r\n");
      out.write("<h1>\r\n");
if("1".equals(cmdty.getFreeDeliveryFlg())){
      out.write("\r\n");
      out.write("<p class=\"name\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
      out.write("<font color=\"#E10033\">【送料無料】");
      out.write("</font>");
      out.write("</p>\r\n");
}else{
      out.write("\r\n");
      out.write("<p class=\"name\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
      out.write("</p>\r\n");
}
      out.write("\r\n");
      out.write("<p class=\"code\">商品コード:");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("</p>\r\n");
      out.write("<ul class=\"icon\">\r\n");
if (cmdty.getUsedNewFlg()==3){
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_limited.gif\" alt=\"BG認定中古\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n");
}else if (cmdty.getUsedNewFlg()==2||cmdty.getUsedNewFlg()==4){
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_outlet.gif\"\" alt=\"アウトレット\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n");
}else if (cmdty.getUsedNewFlg()==1||cmdty.getUsedNewFlg()==6||cmdty.getUsedNewFlg()==7){
      out.write("\r\n");
}else{
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_used.gif\" alt=\"中古\" width=\"60\" height=\"13\" />");
      out.write("</li>");
}
      out.write("\r\n\r\n");
if(cmdty.getCampaignPriceFlg().equals("1")&&"cart".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_samedaydeliv.gif\" alt=\"当日出荷\" title=\"17時までのご注文で即日スピード出荷 ※土曜は15時まで。日祝除く\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n");
}
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</h1>\r\n");
      out.write("\r\n");
      out.write("<p class=\"description\">\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_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(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment1Text())));
      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("<ul class=\"expansion\">\r\n");
          out.write("<li>");
          out.write("<strong>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment1Title()));
          out.write("</strong>");
          out.write("</li>\r\n");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment1Text()));
          out.write("</li>\r\n");
          out.write("</ul>\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");
      /* ----  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.getExpansionComment2Text())));
      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("<ul class=\"expansion\">\r\n");
          out.write("<li>");
          out.write("<strong>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment2Title()));
          out.write("</strong>");
          out.write("</li>\r\n");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment2Text()));
          out.write("</li>\r\n");
          out.write("</ul>\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.getExpansionComment3Text())));
      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("<ul class=\"expansion\">\r\n");
          out.write("<li>");
          out.write("<strong>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment3Title()));
          out.write("</strong>");
          out.write("</li>\r\n");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment3Text()));
          out.write("</li>\r\n");
          out.write("</ul>\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.getExpansionComment4Text())));
      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("<ul class=\"expansion\">\r\n");
          out.write("<li>");
          out.write("<strong>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment4Title()));
          out.write("</strong>");
          out.write("</li>\r\n");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment4Text()));
          out.write("</li>\r\n");
          out.write("</ul>\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\r\n");
      out.write("<div class=\"spec\">\r\n");
      out.write("<table class=\"detail\">\r\n");
String cmdtyMakerCodeTxt = cmdty.getMakerCode(); if ("1231".equals(cmdtyMakerCodeTxt) || "1232".equals(cmdtyMakerCodeTxt)) cmdtyMakerCodeTxt = "1230"; String /*makerSrvSite = loginSite.substring(0,loginSite.indexOf("_")); if("/search".equals(makerSrvSite))*/ makerSrvSite="/advancedsearch";
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td width=\"90\">ブランド");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      out.write("<td>");
      out.write("<a href=\"");
      out.print(webshopSite+makerSrvSite+"/actionNameTxt/list/dispModeTxt/"+SIConfig.DEFAULT_DISPMODE+"/maker/"+cmdtyMakerCodeTxt);
      out.write("\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("</a>");
      out.write("</td>");
      out.write("</tr>\r\n");
if (SIUtil.isNotNull(cmdty.getColorName())){
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td>カラー");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      out.write("<td>");
      out.print(cmdty.getColorName());
      out.write("</td>");
      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 align=\"left\" valign=\"top\">");
      out.write("<td>使用年数");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      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>");
      out.write("</tr>\r\n");
}else if(SIUtil.isNotNull(cmdty.getYGuaranteedTerm())){
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td>保証期間");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      out.write("<td>");
      out.print(cmdty.getYGuaranteedTerm());
      out.write("</td>");
      out.write("</tr>\r\n");
}
      out.write("\r\n");
if(cmdty.getAmountFlg().equals("0")||!cmdty.getAmount().equals("0")){
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td>在庫数量");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      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>");
      out.write("</tr>");
}
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td>送料");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      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>");
      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 align=\"left\" valign=\"top\">");
      out.write("<td>入荷予定");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      out.write("<td>");
      out.print(SIUtil.HTMLEncode(cmdty.getArrivalScheduleMsg()));
      out.write("</td>");
      out.write("</tr>\r\n");
}
      out.write("\r\n");
if(SIUtil.isNotNull(cmdty.getMakerURL())){
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"top\">");
      out.write("<td>メーカーURL");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>");
      out.write("<td>");
      out.write("<a href=\"");
      out.print(cmdty.getMakerURL());
      out.write("\" class=\"Cmdty_ShopName_Cell\" target=\"_blank\">");
      out.print(cmdty.getMakerURL());
      out.write("</a>");
      out.write("</td>");
      out.write("</tr>\r\n");
}
      out.write("\r\n");
      out.write("</table>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("<div class=\"spec\">\r\n");
      out.write("<table class=\"detail\">\r\n");
if(SIUtil.isNotNull(cmdty.getNewFixedPrice())&&!cmdty.getNewFixedPrice().equals("0")){
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n");
      out.write("<td width=\"90\">M価");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>￥");
      out.print(SIUtil.NumberFormat(cmdty.getNewFixedPriceIncTax()));
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
}
      out.write("\r\n\r\n");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n");
if(cmdty.isContractFlg()){
      out.write("\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>契約後表示");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n");
}else if(cmdty.getBGPriceDispFlg().equals("2")){
      out.write("\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>お問い合わせ下さい");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n");
}else if(cmdty.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>ログイン表示");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n");
}else if(cmdty.getFinalUnitPriceWithoutTax().equals(cmdty.getUnitPriceWithoutTax())){
      out.write("\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td width=\"90\">&nbsp;");
      out.write("</td>\r\n");
      out.write("<td>&nbsp;");
      out.write("</td>\r\n");
      out.write("<td class=\"taxParent\">");
      out.write("<p class=\"sale WithTaxPrice\">[ ￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPrice()));
      out.write("<span>(税込)");
      out.write("</span> ]");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
}else{
      out.write("\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">");
      out.write("<strike>BG卸価");
      out.write("</strike>");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strike>");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</strike>");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">VIP特価");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("<td>：");
      out.write("</td>\r\n");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPriceWithoutTax()));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td width=\"90\">&nbsp;");
      out.write("</td>\r\n");
      out.write("<td>&nbsp;");
      out.write("</td>\r\n");
      out.write("<td class=\"taxParent\">");
      out.write("<p class=\"sale WithTaxPrice\">[ ￥");
      out.print(SIUtil.NumberFormat(cmdty.getFinalUnitPrice()));
      out.write("<span>(税込)");
      out.write("</span> ]");
      out.write("</p>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
}
      out.write("\r\n");
      out.write("<tr align=\"left\" valign=\"middle\">\r\n");
      out.print(cmdty.getPointTxt(request));
      out.write("\r\n");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("</div>\r\n");
      out.write("<script type=\"text/javascript\">\r\nfunction changeDisp(){\r\n  $('.description').addClass(\"disp\");\r\n  $('.expansion').addClass(\"disp\");\r\n}\r\nchangeDisp();\r\n");
      out.write("</script>\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"box_price\">\r\n");
      out.write("\r\n");
      out.write("<div class=\"box_price_left\">\r\n");
 Collection amountColl = SIUtil.getAmountNumber(); 
      out.write("\r\n");
 if(cmdty.getAmountFlg().equals("0")) { 
      out.write("\r\n");
      out.write("<p class=\"amount\">数量：");
      /* ----  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("</p>\r\n");
 } else if(!cmdty.getAmount().equals("0")) { 
      out.write("\r\n");
      out.write("<p class=\"amount\">数量：");
      /* ----  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("</p>\r\n");
 } else if(cmdty.getRsrvEnableFlg().equals("1")&&!cmdty.getRsrvAmount().equals("0")) { 
      out.write("\r\n");
      out.write("\r\n");
      out.write("<input type=\"hidden\" name=\"amountTxt\" value=\"\">\r\n");
}
      out.write("\r\n");
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"box_price_right\">\r\n");
      out.write("\r\n");
if("contract1".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.haircosme"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else if("contract2".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd);
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_login_l.gif\" alt=\"契約顧客様限定　ログインはこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else if("contract3".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.contract_peachpeau")+"?contractMaker="+cmdty.getMakerCode());
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else if("contract4".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/license.html",false));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else if("inquiry".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contact_l.gif\" alt=\"お問い合わせください　0120-974-554\" width=\"144\" height=\"61\" />");
      out.write("</p>\r\n");
}else if("cart".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"javascript:addCart()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_cart_l.gif\" alt=\"カートに入れる\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else if("reserve".equals(cartBtnType)){
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"javascript:addRsrv()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_reserve_l.gif\" alt=\"予約する\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n");
}else{
      out.write("\r\n");
      out.write("<p class=\"cart\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_soldout_l.gif\" alt=\"SOLD OUT\" width=\"144\" height=\"61\" />");
      out.write("</p>\r\n");
}
      out.write("\r\n");
if(SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n");
      out.write("<p class=\"mycatalog\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd+"&addMyCatalog="+cmdty.getIndividualCode());
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog.gif\" alt=\"お気に入りに追加\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</a>");
      out.write("</p>\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=\"mycatalog\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog_.gif\" alt=\"お気に入りに追加済\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</p>\r\n");
}else{
      out.write("\r\n");
      out.write("<p class=\"mycatalog\">");
      out.write("<a href=\"javascript:addMyCatalog()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog.gif\" alt=\"お気に入りに追加\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</a>");
      out.write("</p>\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 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("\r\n");
      out.write("<input name=\"cmdtyCompositionFlg\" type=\"hidden\" value=\"");
      out.print(cmdty.getCmdtyCompositionFlg());
      out.write("\">\r\n");
      out.write("\r\n");
      out.write("<input type=\"hidden\" name=\"CartClickFlg\" value=\"1\"/>\r\n\r\n");
      out.write("</div>\r\n");
      out.write("<!-- social button -->\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/sdk.js#xfbml=1&version=v2.0\";\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("<!-- /social button -->\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /detail -->\r\n");
      out.write("</form>\r\n\r\n");
      out.write("<div id=\"carouselWrap\">\r\n");
      out.write("<div id=\"carouselWrap1\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>関連商品");
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\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("connCmdtyID");
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_0.setCollection(UIConnCmdtyListCond.getListCollection_front(connection,cmdtyInfoID.getCmdtyCodeTxt(),cmdtyInfoID.getIndividualCodeTxt(),false,request));
      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.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>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(connCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(connCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(connCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(connCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          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>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.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_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("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap1.end -->\r\n\r\n");
      out.write("<div id=\"carouselWrap2\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>この商品を購入した方は、このような商品も購入しています");
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_1.setParent(null);
      _jspx_th_webshop_siiterator_1.setId("otherCmdtyID");
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_1.setCollection(new UIOtherCmdty(cmdtyInfoID.getShopCodeTxt(),cmdtyInfoID.getCmdtyCodeTxt()).getCollection(connection,false,request));
      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.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("<li>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(otherCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(otherURL);
          out.write("\" charset=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(otherURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(otherCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
if (!otherCmdtyID.isCmdtyComposition()){
          out.write("\r\n");
if(otherCmdtyID.getFinalUnitPriceWithoutTax().equals(otherCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n");
          out.write("<p>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.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_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_1);
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap2.end -->\r\n\r\n");
      out.write("<div id=\"carouselWrap3\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>その他おすすめの");
      out.print(UICmdtyRanking.getCmdtyRankingName(connection,cmdty.getIndividualCode()));
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\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("recommendCmdtyID");
      _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_2.setCollection(UICmdtyRanking.getCmdtyRankingCollection(connection,request,cmdty.getIndividualCode(),30));
      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.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("<li>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(recommendCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(recommendURL);
          out.write("\" charset=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(recommendURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(recommendCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
if (!recommendCmdtyID.isCmdtyComposition()){
          out.write("\r\n");
if(recommendCmdtyID.getFinalUnitPriceWithoutTax().equals(recommendCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n");
          out.write("<p>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_2.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_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("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap3.end -->\r\n\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap.end -->");
      out.write("\r\n");
 } else { 
      out.write("\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");
      out.write("<form name=\"cartForm\" action =\"");
      out.print(cmdtySrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n\r\n");
      out.write("\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    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    addCart();\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");
      out.write("\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:alert('\" + viewString + \"')\";\r\n      }\r\n    }\r\n  }\r\n}\r\n\r\nfunction changeSetting(name, val) {\r\n  if (val != \"0\") {\r\n    with(document.cartForm) {\r\n      bouttonCart.getElementsByTagName(\"a\")[0].href = \"javascript:addCart()\";\r\n    }\r\n  } else {\r\n    defaultSetting(name);\r\n  }\r\n}\r\n");
 } 
      out.write("\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction openCmdtyImage(referURL){\r\n  window.open(referURL, 'cmdtyWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=920,height=700');\r\n}\r\n$(document).ready( function() {\r\n  $(\".thum a img\").hover( function() {\r\n    var changeSrc = $(this).attr(\"src\")\r\n    var changeHref = $(this).parent(\"a\").attr(\"href\");\r\n    $(\"#target1\").attr(\"href\", changeHref);\r\n    $(\"#target2\").attr(\"src\", changeSrc);\r\n    $(\"#target3\").attr(\"href\", changeHref);\r\n    return false;\r\n  });\r\n});\r\n//-->\r\n");
      out.write("</script>\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");
      out.write("<!-- detail -->\r\n");
      out.write("<div id=\"detail\">\r\n  ");
      out.write("<div class=\"wrapper\">\r\n    ");
      out.write("<div class=\"box_type\">\r\n    ");
      out.write("\r\n      ");
      out.write("<p class=\"pic\">");
      out.write("<a id=\"target1\" href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      out.write("<img id=\"target2\" 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=\"394\" height=\"295\" />");
      out.write("</a>");
      out.write("</p>\r\n      ");
      out.write("<p class=\"more\">");
      out.write("<a id=\"target3\" href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_expand.gif\" alt=\"イメージを拡大\" width=\"79\" height=\"15\" class=\"expand\" />");
      out.write("</a>");
      out.write("</p>\r\n      ");
      out.write("<ul class=\"thum\">\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=1\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName2())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=2\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName3())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=3\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName4())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=4\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName5())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=5\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName6())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=6\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName7())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=7\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName8())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=8\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName9())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=9\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n        ");
 if (SIUtil.isNotNull(cmdty.getImageName10())) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.commodity"));
      out.write("?ctc=");
      out.print(SIHTMLUtil.URLEncode(currCtgryCode));
      out.write("&shc=0&cmc=");
      out.print(cmdty.getCmdtyCode());
      out.write("&inc=");
      out.print(cmdty.getIndividualCode());
      out.write("&actionNameTxt=");
      out.print(SIConfig.SIACTION_PREVIEW);
      out.write("&referImageInxTxt=10\" target=\"_blank\" onclick=\"openCmdtyImage(this.href); return false;\">");
      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=\"70\" height=\"53\" />");
      out.write("</a>");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n      ");
      out.write("</ul>\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<div class=\"box_detail\">\r\n      ");
      out.write("<h1>\r\n        ");
      out.write("<p class=\"name\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getCmdtyName()));
if(cmdty.getDispCarriageFree(connection)){
      out.write("<font color=\"#E10033\">【送料無料】");
      out.write("</font>");
}
      out.write("</p>\r\n        ");
      out.write("<p class=\"code\">商品コード:");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("</p>\r\n        ");
      out.write("<ul class=\"icon\">\r\n    ");
      out.write("\r\n        ");
 if (cmdty.getUsedNewFlg()==3){ 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_limited.gif\" alt=\"BG認定中古\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n        ");
 } else if (cmdty.getUsedNewFlg()==2||cmdty.getUsedNewFlg()==4) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_outlet.gif\" alt=\"アウトレット\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n        ");
 } else if (cmdty.getUsedNewFlg()==1||cmdty.getUsedNewFlg()==6||cmdty.getUsedNewFlg()==7) { 
      out.write("\r\n        ");
 } else { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_used.gif\" alt=\"中古\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n\r\n        ");
 if (cmdty.getCampaignPriceFlg().equals("1")) { 
      out.write("\r\n          ");
      out.write("<li>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_samedaydeliv.gif\" alt=\"当日出荷\" title=\"17時までのご注文で即日スピード出荷 ※土曜は15時まで。日祝除く\" width=\"60\" height=\"13\" />");
      out.write("</li>\r\n        ");
 } 
      out.write("\r\n\r\n    ");
      out.write("\r\n        ");
      out.write("</ul>\r\n      ");
      out.write("</h1>\r\n      ");
      out.write("<p class=\"description\">\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_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.getExpansionComment1Text())));
      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("<ul class=\"expansion\">\r\n          ");
          out.write("<li>");
          out.write("<h2>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment1Title()));
          out.write("</h2>");
          out.write("</li>\r\n          ");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment1Text()));
          out.write("</li>\r\n        ");
          out.write("</ul>\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      ");
      /* ----  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(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment2Text())));
      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("<ul class=\"expansion\">\r\n          ");
          out.write("<li>");
          out.write("<h2>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment2Title()));
          out.write("</h2>");
          out.write("</li>\r\n          ");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment2Text()));
          out.write("</li>\r\n        ");
          out.write("</ul>\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      ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_7 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_7.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_7.setParent(null);
      _jspx_th_webshop_isTrue_7.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment3Text())));
      int _jspx_eval_webshop_isTrue_7 = _jspx_th_webshop_isTrue_7.doStartTag();
      if (_jspx_eval_webshop_isTrue_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n        ");
          out.write("<ul class=\"expansion\">\r\n          ");
          out.write("<li>");
          out.write("<h2>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment3Title()));
          out.write("</h2>");
          out.write("</li>\r\n          ");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment3Text()));
          out.write("</li>\r\n        ");
          out.write("</ul>\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_7.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_7);
      out.write("\r\n      ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_8 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_8.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_8.setParent(null);
      _jspx_th_webshop_isTrue_8.setValue(SIUtil.isNotNull(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment4Text())));
      int _jspx_eval_webshop_isTrue_8 = _jspx_th_webshop_isTrue_8.doStartTag();
      if (_jspx_eval_webshop_isTrue_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n        ");
          out.write("<ul class=\"expansion\">\r\n          ");
          out.write("<li>");
          out.write("<h2>");
          out.print(SIHTMLUtil.HTMLEncode(cmdty.getExpansionComment4Title()));
          out.write("</h2>");
          out.write("</li>\r\n          ");
          out.write("<li>");
          out.print(SIHTMLUtil.ToHTMLNewLine2(cmdty.getExpansionComment4Text()));
          out.write("</li>\r\n        ");
          out.write("</ul>\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_8.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_8);
      out.write("\r\n      ");
      out.write("<div class=\"spec\">\r\n        ");
      out.write("<table class=\"detail\">\r\n        ");
 String cmdtyMakerCodeTxt = cmdty.getMakerCode(); if ("1231".equals(cmdtyMakerCodeTxt) || "1232".equals(cmdtyMakerCodeTxt)) cmdtyMakerCodeTxt = "1230"; String /*makerSrvSite = loginSite.substring(0,loginSite.indexOf("_")); if("/search".equals(makerSrvSite))*/ makerSrvSite="/advancedsearch"; 
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"top\">\r\n            ");
      out.write("<td width=\"90\">ブランド");
      out.write("</td>\r\n            ");
      out.write("<td>：");
      out.write("</td>\r\n            ");
      out.write("<td>");
      out.write("<a href=\"");
      out.print(webshopSite+makerSrvSite+"/actionNameTxt/list/dispModeTxt/"+SIConfig.DEFAULT_DISPMODE+"/maker/"+cmdtyMakerCodeTxt);
      out.write("\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getMakerName()));
      out.write("</a>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("\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 align=\"left\" valign=\"top\">\r\n            ");
      out.write("<td>在庫数量");
      out.write("</td>");
      out.write("<td>：");
      out.write("</td>\r\n            ");
if(!cmdty.getInquiryFlg().equals("0")){
      out.write("<td>");
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,cmdty.getInquiryFlg()));
      out.write("</td>\r\n            ");
}else if(fixedAmount >= 50||fixedAmount == -1){
      out.write("<td>");
      out.print(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_FRONT_INQUIRY_FLG_INX,"2"));
      out.write("</td>\r\n            ");
}else{
      out.write("<td>");
      out.print(fixedAmount);
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getUnitQuantity()));
      out.write("</td>");
}
      out.write("\r\n          ");
      out.write("</tr>\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("\r\n          ");
 if(SIUtil.isNotNull(cmdty.getYGuaranteedTerm())) { 
      out.write("\r\n            ");
      out.write("<tr align=\"left\" valign=\"top\">\r\n              ");
      out.write("<td>保証期間");
      out.write("</td>\r\n              ");
      out.write("<td>：");
      out.write("</td>\r\n              ");
      out.write("<td>");
      out.print(cmdty.getYGuaranteedTerm());
      out.write("</td>\r\n            ");
      out.write("</tr>\r\n          ");
 } 
      out.write("\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_9 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_9.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_9.setParent(null);
      _jspx_th_webshop_isTrue_9.setValue(noStockFlg);
      int _jspx_eval_webshop_isTrue_9 = _jspx_th_webshop_isTrue_9.doStartTag();
      if (_jspx_eval_webshop_isTrue_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n          ");
          out.write("<tr align=\"left\" valign=\"top\">");
          out.write("<td>在庫数量");
          out.write("</td>");
          out.write("<td>：");
          out.write("</td>");
          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\" 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>");
          out.write("</tr>\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_9.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_9);
      out.write("\r\n          ");
      out.write("\r\n          ");
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"top\">\r\n            ");
      out.write("<td>送料");
      out.write("</td>\r\n            ");
      out.write("<td>：");
      out.write("</td>\r\n            ");
      out.write("<td>");
if(komonoflg){
      out.write("4,000円(税別)以上ご購入で無料");
      out.write("<br />");
}
      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        ");
      out.write("</table>\r\n      ");
      out.write("</div>\r\n      \r\n      ");
      out.write("<div class=\"spec\">\r\n        ");
      out.write("<table class=\"detail\">\r\n          ");
 if(SIUtil.isNotNull(cmdty.getNewFixedPrice())&&!cmdty.getNewFixedPrice().equals("0")) { 
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n          ");
      out.write("<td width=\"90\">M価");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>￥");
      out.print(SIUtil.NumberFormat(cmdty.getNewFixedPriceIncTax()));
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
}
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n          ");
 if (cmdty.isContractFlg()) { 
      out.write("\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>契約後表示");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n          ");
 } else if (cmdty.getBGPriceDispFlg().equals("2")) { 
      out.write("\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>お問い合わせ下さい");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n          ");
 } else if (cmdty.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)) { 
      out.write("\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>ログイン表示");
      out.write("</strong>");
      out.write("</p>");
      out.write("</td>\r\n          ");
 } else { 
      out.write("\r\n            ");
 String setUnitPrice = cmdty.getSetUnitPriceWithoutTax(connection); 
      out.write("\r\n            ");
 String setDiscountUnitPrice = cmdty.getSetDiscountUnitPriceWithoutTax(connection); 
      out.write("\r\n            ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
      out.write("\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">BG卸価");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(setUnitPrice));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"90\">&nbsp;");
      out.write("</td>\r\n          ");
      out.write("<td>&nbsp;");
      out.write("</td>\r\n          ");
      out.write("<td class=\"taxParent\">");
      out.write("<p class=\"sale WithTaxPrice\">[ ￥");
      out.print(SIUtil.NumberFormat(cmdty.getSetUnitPrice(connection)));
      out.write("<span>(税込)");
      out.write("</span> ]");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
}else{
      out.write("\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">");
      out.write("<strike>BG卸価");
      out.write("</strike>");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strike>");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(setUnitPrice));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</strike>");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("<tr align=\"left\" valign=\"middle\" class=\"pb5\">\r\n          ");
      out.write("<td width=\"90\">");
      out.write("<p class=\"sale\">VIP特価");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("<td>：");
      out.write("</td>\r\n          ");
      out.write("<td>");
      out.write("<p class=\"sale\">");
      out.write("<strong>￥");
      out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
      out.write("</strong>");
      out.write("<span>(税別)");
      out.write("</span>");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"90\">&nbsp;");
      out.write("</td>\r\n          ");
      out.write("<td>&nbsp;");
      out.write("</td>\r\n          ");
      out.write("<td class=\"taxParent\">");
      out.write("<p class=\"sale WithTaxPrice\">[ ￥");
      out.print(SIUtil.NumberFormat(cmdty.getSetDiscountUnitPrice(connection)));
      out.write("<span>(税込)");
      out.write("</span> ]");
      out.write("</p>");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n          ");
}
      out.write("\r\n          ");
}
      out.write("\r\n          ");
      out.write("<tr align=\"left\" valign=\"middle\">");
      out.print(cmdty.getPointTxt(request));
      out.write("</tr>\r\n        ");
      out.write("</table>\r\n      ");
      out.write("</div>\r\n");
      out.write("<script type=\"text/javascript\">\r\nfunction changeDisp(){\r\n  $('.description').addClass(\"disp\");\r\n  $('.expansion').addClass(\"disp\");\r\n}\r\nchangeDisp();\r\n");
      out.write("</script>\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<!-- box cart -->\r\n    ");
      out.write("<div id=\"box_cart\">\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=\"box_otoku\">よりどり");
      out.print(SIStringUtil.numberFormat(cmdtyComposition.getSectionCount()));
      out.write("点");
if(SIUtil.isNotNull(cmdtyComposition.getSetDiscount())&&!cmdtyComposition.getSetDiscount().equals("0")&&cmdtyComposition.getDiscountDispFlg().equals("1")){
      out.write("で、");
      out.write("<br/>単品購入より");
      out.print(SIStringUtil.numberFormat(cmdty.getSetDiscountPrice(cmdtyComposition.getSetDiscount())));
      out.write("円 お得！");
}
      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=\"box_otoku\">単品購入より");
      out.print(SIStringUtil.numberFormat(cmdty.getSetDiscountPrice(cmdtyComposition.getSetDiscount())));
      out.write("円 お得！");
      out.write("</p>\r\n          ");
 } 
      out.write("\r\n        ");
 } 
      out.write("\r\n      ");
 } 
      out.write("\r\n      ");
      out.write("<!-- box price -->\r\n      ");
      out.write("<div class=\"box_price setFix\">\r\n        ");
      out.write("<table class=\"box_set detail\">\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          ");
      out.write("\r\n            ");
 Collection groupColl = cmdty.getCmdtyCompositionGroupData(connection);
      out.write("\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(null);
      _jspx_th_webshop_siiterator_3.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_3.setCollection(groupColl);
      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.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("<tr align=\"left\" valign=\"top\">\r\n                ");
          out.write("<th>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</th>\r\n                ");
          out.write("<td>\r\n                  ");
          out.write("<ul>\r\n                    ");
 boolean defaultValueFlg = false; 
          out.write("\r\n                    ");
 String subPrice = "";
          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_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(_jspx_th_webshop_siiterator_3);
          _jspx_th_webshop_siiterator_4.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_4.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_4.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.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_4.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_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                    ");
 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                ");
          out.write("</td>\r\n              ");
          out.write("</tr>\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_3.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_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          ");
 } 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_5 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_5.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_5.setParent(null);
      _jspx_th_webshop_siiterator_5.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_5.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_5.setCollection(groupColl);
      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.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("<tr align=\"left\" valign=\"top\">\r\n                ");
          out.write("<th>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</th>\r\n                ");
          out.write("<td>\r\n                  ");
          out.write("<table class=\"box_yoridori\">\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(_jspx_th_webshop_siiterator_5);
          _jspx_th_webshop_siiterator_6.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_6.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_6.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.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_2 = (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_2.setPageContext(pageContext);
              _jspx_th_webshop_siselect_2.setParent(_jspx_th_webshop_siiterator_6);
              _jspx_th_webshop_siselect_2.setName(amountName);
              _jspx_th_webshop_siselect_2.setDefault("");
              _jspx_th_webshop_siselect_2.setCollection(yoridoriAmountColl);
              _jspx_th_webshop_siselect_2.setAttributesText(chenge );
              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_attributesText_nobody.reuse(_jspx_th_webshop_siselect_2);
              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_6.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_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("</table>\r\n                ");
          out.write("</td>\r\n              ");
          out.write("</tr>\r\n              ");
 if (groupAmountCount <= 0) { 
          out.write("\r\n                ");
 compositionOrderCount++; 
          out.write("\r\n              ");
 } 
          out.write("\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_5.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_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("<tr align=\"left\" valign=\"top\">\r\n              ");
      out.write("<th>数量合計");
      out.write("</th>\r\n              ");
      out.write("<td id=\"totalAmountLabel\">0点");
      out.write("</td>\r\n            ");
      out.write("</tr>\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_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(null);
      _jspx_th_webshop_siiterator_7.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_7.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_7.setCollection(groupColl);
      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.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("<tr align=\"left\" valign=\"top\">\r\n                ");
          out.write("<th>構成商品");
          out.write("</th>\r\n                ");
          out.write("<td>\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(_jspx_th_webshop_siiterator_7);
          _jspx_th_webshop_siiterator_8.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_8.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_8.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.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_8.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_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("</td>\r\n              ");
          out.write("</tr>\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_7.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_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          ");
 } 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_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("compositionGroupID");
      _jspx_th_webshop_siiterator_9.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_9.setCollection(groupColl);
      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.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("<tr align=\"left\" valign=\"top\">\r\n                ");
          out.write("<th>");
          out.print(compositionGroupID.getSpecificationName());
          out.write("</th>\r\n                ");
          out.write("<td>\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_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(_jspx_th_webshop_siiterator_9);
          _jspx_th_webshop_siiterator_10.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_10.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_10.setCollection(compositionGroupID.getCompositionGroupDetail());
          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.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_10.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_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                    ");
 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("</td>\r\n              ");
          out.write("</tr>\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_9.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_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("\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("<th>オプション");
      out.write("</th>\r\n                ");
      out.write("<td>\r\n                  ");
      out.write("<ul>\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("compositionOptionID");
      _jspx_th_webshop_siiterator_11.setType("jp.co.sint.basic.SICmdtyCompositionOption");
      _jspx_th_webshop_siiterator_11.setCollection(optionColl);
      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.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_11.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_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("</td>\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("<th>添付品");
      out.write("</th>\r\n                ");
      out.write("<td>\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_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("compositionAppendedID");
      _jspx_th_webshop_siiterator_12.setType("jp.co.sint.basic.SICmdtyCompositionAppended");
      _jspx_th_webshop_siiterator_12.setCollection(appendedColl);
      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.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_12.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_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("</td>\r\n              ");
      out.write("</tr>\r\n            ");
 } 
      out.write("\r\n          ");
      out.write("</span>\r\n        ");
      out.write("</table>\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("<div class=\"box_price_left\">\r\n          ");
 if (!cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET) && compositionOrderCount <= 0) { 
      out.write("\r\n            ");
      out.write("<div id=\"amountCart\" >");
      out.write("<p class=\"amount\">数量：");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_3 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_3.setPageContext(pageContext);
      _jspx_th_webshop_siselect_3.setParent(null);
      _jspx_th_webshop_siselect_3.setName("cartAmountTxt");
      _jspx_th_webshop_siselect_3.setDefault("");
      _jspx_th_webshop_siselect_3.setCollection(amountColl);
      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_nobody.reuse(_jspx_th_webshop_siselect_3);
      out.write("</p>");
      out.write("</div>\r\n            ");
      out.write("<div id=\"amountRsrv\"  style=\"display:none\">");
      out.write("<p class=\"amount\">数量：");
      /* ----  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("amountTxt");
      _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("</p>");
      out.write("</div>\r\n          ");
 } 
      out.write("\r\n          \r\n          ");
      out.write("\r\n          \r\n        ");
      out.write("</div>\r\n        ");
      out.write("<div class=\"box_price_right\">\r\n          ");
 if (cmdty.isHairCosme(request)) { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.haircosme"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n          ");
 } else if (cmdty.isContractFlg()&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)) { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd);
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_login_l.gif\" alt=\"契約顧客様限定　ログインはこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n          ");
 } else if (cmdty.isContractFlg() && cmdty.isMailContract(connection)) { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.contract_peachpeau")+"?contractMaker="+cmdty.getMakerCode());
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n          ");
 } else if (cmdty.isContractFlg()) { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/license.html",false));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contract_l.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>\r\n          ");
 } else if (cmdty.getInquiryFlg().equals("1")) { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_contact_l.gif\" alt=\"お問い合わせください　0120-974-554\" width=\"144\" height=\"61\" />");
      out.write("</p>\r\n          ");
      out.write("\r\n          ");
      out.write("\r\n          ");
 } else if (compositionOrderCount <= 0 && !fixedSetSoldOut) { 
      out.write("\r\n          ");
      out.write("\r\n          ");
 if (cmdty.getCmdtyCompositionFlg().equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)) { 
      out.write("\r\n            ");
      out.write("<div id=\"bouttonCart\" >");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"javascript:addYoridoriCart()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_cart_l.gif\" alt=\"カートに入れる\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>");
      out.write("</div>\r\n          ");
 } else { 
      out.write("\r\n            ");
      out.write("<div id=\"bouttonCart\" >");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"javascript:addCart()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_cart_l.gif\" alt=\"カートに入れる\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>");
      out.write("</div>\r\n          ");
 } 
      out.write("\r\n          ");
      out.write("<div id=\"bouttonRsrv\" style=\"display:none\">");
      out.write("<p class=\"cart\">");
      out.write("<a href=\"javascript:addRsrv()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_reserve_l.gif\" alt=\"予約する\" width=\"144\" height=\"61\" />");
      out.write("</a>");
      out.write("</p>");
      out.write("</div>\r\n          ");
 } else { 
      out.write("\r\n          ");
      out.write("<p class=\"cart\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_soldout_l.gif\" alt=\"SOLD OUT\" width=\"144\" height=\"61\" />");
      out.write("</p>\r\n          ");
 } 
      out.write("\r\n          ");
 if (SIHTMLUtil.getUserInfo(request).isNotLogin(request)) { 
      out.write("\r\n          ");
      out.write("<p class=\"mycatalog\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?nid="+loginSite+loginAdd+"&addMyCatalog="+cmdty.getIndividualCode());
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog.gif\" alt=\"お気に入りに追加\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</a>");
      out.write("</p>\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=\"mycatalog\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog_.gif\" alt=\"お気に入りに追加済\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</p>\r\n          ");
 } else { 
      out.write("\r\n          ");
      out.write("<p class=\"mycatalog\">");
      out.write("<a href=\"javascript:addMyCatalog()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/btn_mycatalog.gif\" alt=\"お気に入りに追加\" width=\"99\" height=\"18\" class=\"mycatalog\" />");
      out.write("</a>");
      out.write("</p>\r\n          ");
 } 
      out.write("\r\n        ");
      out.write("</div>\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 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      ");
      out.write("</div>\r\n      ");
      out.write("<!-- /box price -->\r\n      ");
      out.write("<!-- social button -->\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          ");
      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/sdk.js#xfbml=1&version=v2.0\";\r\n          fjs.parentNode.insertBefore(js, fjs);\r\n          }(document, 'script', 'facebook-jssdk'));");
      out.write("</script>\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("<!-- /social button -->\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<!-- /box cart -->\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!-- /wrapper -->\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /detail -->\r\n");
      out.write("</form>\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("<div id=\"carouselWrap\">\r\n");
      out.write("<div id=\"carouselWrap1\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>関連商品");
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_13 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_13.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_13.setParent(null);
      _jspx_th_webshop_siiterator_13.setId("connCmdtyID");
      _jspx_th_webshop_siiterator_13.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_13.setCollection(UIConnCmdtyListCond.getListCollection_front(connection,cmdtyInfoID.getCmdtyCodeTxt(),cmdtyInfoID.getIndividualCodeTxt(),false,request));
      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 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>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(connCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(connURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(connCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(connCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(connCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(connCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(connCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          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>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_13.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_13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_13);
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap1.end -->\r\n\r\n");
      out.write("<div id=\"carouselWrap2\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>この商品を購入した方は、このような商品も購入しています");
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\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.setId("otherCmdtyID");
      _jspx_th_webshop_siiterator_14.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_14.setCollection(new UIOtherCmdty(cmdtyInfoID.getShopCodeTxt(),cmdtyInfoID.getCmdtyCodeTxt()).getCollection(connection,false,request));
      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.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("<li>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(otherCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(otherURL);
          out.write("\" charset=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(otherURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(otherCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(otherCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(otherCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
if (!otherCmdtyID.isCmdtyComposition()){
          out.write("\r\n");
if(otherCmdtyID.getFinalUnitPriceWithoutTax().equals(otherCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n");
          out.write("<p>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(otherCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_14.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_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("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap2.end -->\r\n\r\n");
      out.write("<div id=\"carouselWrap3\" class=\"carousel-Layout\">\r\n");
      out.write("<h2>その他おすすめの");
      out.print(UICmdtyRanking.getCmdtyRankingName(connection,cmdty.getIndividualCode()));
      out.write("</h2>\r\n\r\n");
      out.write("<div class=\"mainWrap\">\r\n");
      out.write("<p class=\"btn_left btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_left.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("<p class=\"btn_right btn\">");
      out.write("<a href=\"#\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cmdty_recommend/btn_right.gif\" alt=\"\" />");
      out.write("</a>");
      out.write("</p>\r\n\r\n");
      out.write("<div class=\"mainBox\">\r\n");
      out.write("<div class=\"carouselMove clearfix\">\r\n");
      out.write("<ul class=\"clearfix\">\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_15 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_15.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_15.setParent(null);
      _jspx_th_webshop_siiterator_15.setId("recommendCmdtyID");
      _jspx_th_webshop_siiterator_15.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_15.setCollection(UICmdtyRanking.getCmdtyRankingCollection(connection,request,cmdty.getIndividualCode(),30));
      int _jspx_eval_webshop_siiterator_15 = _jspx_th_webshop_siiterator_15.doStartTag();
      if (_jspx_eval_webshop_siiterator_15 != 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("<li>\r\n");
          out.write("<div class=\"boxWrap\">\r\n");
          out.write("<p class=\"detailBox\">");
          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=\"100\" height=\"75\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div class=\"txtBox\">\r\n");
if("1".equals(recommendCmdtyID.getFreeDeliveryFlg())){
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(recommendURL);
          out.write("\" charset=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("<span class=\"free\">【送料無料】");
          out.write("</span>");
          out.write("</h3>\r\n");
}else{
          out.write("\r\n");
          out.write("<h3>");
          out.write("<a href=\"");
          out.print(recommendURL);
          out.write("\" class=\"name\">");
          out.print(SIHTMLUtil.HTMLEncode(recommendCmdtyID.getCmdtyName()));
          out.write("</a>");
          out.write("</h3>\r\n");
}
          out.write("\r\n");
if(recommendCmdtyID.isContractFlg()){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:契約後表示");
          out.write("</p>\r\n");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("2")){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:お問い合わせ");
          out.write("</p>\r\n");
}else if(recommendCmdtyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
          out.write("\r\n");
          out.write("<p class=\"fix1\">BG卸価:ログイン表示");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
if (!recommendCmdtyID.isCmdtyComposition()){
          out.write("\r\n");
if(recommendCmdtyID.getFinalUnitPriceWithoutTax().equals(recommendCmdtyID.getUnitPriceWithoutTax())){
          out.write("\r\n");
          out.write("<p>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}else{
          out.write("\r\n");
          out.write("<p>");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</strike>￥");
          out.print(SIUtil.NumberFormat(recommendCmdtyID.getFinalUnitPriceWithoutTax()));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\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.write("<p>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span>(税別)");
          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>(税別)");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span>(税別)");
          out.write("</span>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_15.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_15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_15);
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("</div>");
      out.write("<!-- .mainBox.end -->\r\n");
      out.write("</div>");
      out.write("<!-- .mainWrap.end -->\r\n\r\n");
      out.write("<ul class=\"thumb clearfix\">");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap3.end -->\r\n\r\n");
      out.write("</div>");
      out.write("<!-- #carouselWrap.end -->");
      out.write("\r\n");
 } 
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!-- shopguide -->\r\n");
      JspRuntimeLibrary.include(request, response, "/include/shopping_guide_inc.jsp", out, true);
      out.write("\r\n");
      out.write("<!-- /shopguide -->\r\n");
      out.write("<script type=\"text/javascript\">\r\nfunction changeDiv(){\r\n  $('.description').before($('.spec'));\r\n  $('.description').before($('#box_cart'));\r\n  $('#detail').after($('.description'));\r\n  $('.description').after($('.expansion'));\r\n}\r\nchangeDiv();\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /contents -->\r\n");
      out.write("<!-- navigation -->\r\n");
      out.write("<div id=\"navigation\">\r\n");
      out.write("<!-- member -->\r\n");
      out.write("<!-- member -->\r\n");
if(SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
      out.write("\r\n");
      out.write("<div id=\"infoMember\">\r\n");
      out.write("<div id=\"login\">\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_USER_LOGIN_NAME);
      _jspx_th_webshop_session_0.setId("userLoginID");
      _jspx_th_webshop_session_0.setType("jp.co.sint.beans.front.UIUserLogin");
      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.beans.front.UIUserLogin userLoginID = null;
        userLoginID = (jp.co.sint.beans.front.UIUserLogin) pageContext.findAttribute("userLoginID");
        do {
          out.write("\r\n");
SIBGUtil.readCookie(request,userLoginID);
          out.write("\r\n");
          out.write("<form name=\"loginFrm\" action=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login")+"?ctc="+currCtgryCode);
          out.write("\" method=\"post\">\r\n");
          out.write("<label>\r\n");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/h_address.gif\" alt=\"ID（メールアドレス）\" width=\"93\" height=\"10\" />");
          out.write("<input name=\"emailTxt\" type=\"text\" class=\"address\" type=\"text\" value=\"");
          out.print(SIHTMLUtil.HTMLEncode(userLoginID.getEmailTxt()));
          out.write("\" />\r\n");
          out.write("</label>\r\n");
          out.write("<label>\r\n");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/h_password.gif\" alt=\"パスワード\" width=\"73\" height=\"10\" />");
          out.write("<input name=\"passwordTxt\" type=\"password\" class=\"password\"  value=\"");
          out.print(SIHTMLUtil.HTMLEncode(userLoginID.getPasswordTxt()));
          out.write("\"/>\r\n");
          out.write("<p id=\"savePass\">");
          out.write("<label>");
          out.write("<input name=\"cookieFlg\" type=\"checkbox\" value=\"1\" checked> ID・パスワードを保存する");
          out.write("</label>");
          out.write("</p>\r\n");
          out.write("<input class=\"loginBtn\" name=\"loginBtn\" type=\"image\" src=\"");
          out.print(webshopSite);
          out.write("/img/btn_login.gif\" alt=\"BG会員ログイン\" onClick=\"submit()\"/>\r\n");
          out.write("</label>\r\n");
          out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"");
          out.print(SIConfig.SIACTION_LOGIN);
          out.write("\">\r\n");
          out.write("<input type=\"hidden\" name=\"nid\" value=\"");
          out.print(loginSite+loginAdd);
          out.write("\">\r\n");
          out.write("</form>\r\n");
          out.write("<p>");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.remainder"));
          out.write("\" class=\"arrow01\">パスワードを忘れた方はこちら");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("</div>\r\n");
          out.write("<div id=\"join\">\r\n");
          out.write("<p>");
          out.write("<a href=\"");
          out.print(SIHTMLUtil.consURL(request,webshopSite+"/guide/first.html",false));
          out.write("\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/btn_join2.gif\" alt=\"新規会員登録\" width=\"180\" height=\"36\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("</div>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_session_0.doAfterBody();
          userLoginID = (jp.co.sint.beans.front.UIUserLogin) pageContext.findAttribute("userLoginID");
          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");
}else{
      out.write("\r\n");
if("3".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())||"2".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())||"1".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
      out.write("\r\n");
      out.write("<div id=\"infoMember_vip\">\r\n");
      out.write("<div id=\"myMenu_vip\">\r\n");
}else{
      out.write("\r\n");
      out.write("<div id=\"infoMember\">\r\n");
      out.write("<div id=\"myMenu\">\r\n");
}
      out.write("\r\n");
      /* ----  webshop:session ---- */
      jp.co.sint.taglib.SISessionTag _jspx_th_webshop_session_1 = (jp.co.sint.taglib.SISessionTag) _jspx_tagPool_webshop_session_type_name_id.get(jp.co.sint.taglib.SISessionTag.class);
      _jspx_th_webshop_session_1.setPageContext(pageContext);
      _jspx_th_webshop_session_1.setParent(null);
      _jspx_th_webshop_session_1.setName(SIConfig.SISESSION_USERINFO_NAME);
      _jspx_th_webshop_session_1.setId("uid");
      _jspx_th_webshop_session_1.setType("jp.co.sint.basic.SIUserInfo");
      int _jspx_eval_webshop_session_1 = _jspx_th_webshop_session_1.doStartTag();
      if (_jspx_eval_webshop_session_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SIUserInfo uid = null;
        uid = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uid");
        do {
          out.write("\r\n");
          out.write("<p class=\"welcome\">ようこそ ");
          out.write("<span class=\"shop\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getCustName()));
          out.write("</span> 様");
          out.write("</p>\r\n");
if("3".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
          out.write("\r\n");
          out.write("<p class=\"dVip\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/guide/premiervip.html\" class=\"txt_pt\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getMemberLevelName()));
          out.write("</a>");
          out.write("<br>\r\n");
          out.write("<small>BG卸価より全商品");
          out.write("<span class=\"txt_red\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
          out.write("％OFF");
          out.write("</span>");
          out.write("<br/>\r\nさらにポイント");
          out.write("<span class=\"txt_red\">100％増");
          out.write("</span>");
          out.write("</small>");
          out.write("</p>\r\n");
}else if("2".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
          out.write("\r\n");
          out.write("<p class=\"ptVip\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/guide/premiervip.html\" class=\"txt_pt\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getMemberLevelName()));
          out.write("</a>");
          out.write("<br>\r\n");
          out.write("<small>BG卸価より全商品");
          out.write("<span class=\"txt_red\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
          out.write("％OFF");
          out.write("</span>");
          out.write("<br/>\r\nさらにポイント");
          out.write("<span class=\"txt_red\">50％増");
          out.write("</span>");
          out.write("</small>");
          out.write("</p>\r\n");
}else if("1".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
          out.write("\r\n");
          out.write("<p class=\"gVip\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/guide/premiervip.html\" class=\"txt_g\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getMemberLevelName()));
          out.write("</a>");
          out.write("<br>\r\n");
          out.write("<small>BG卸価より全商品");
          out.write("<span class=\"txt_red\">");
          out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
          out.write("％OFF");
          out.write("</span>");
          out.write("<br/>\r\nさらにポイント");
          out.write("<span class=\"txt_red\">20％増");
          out.write("</span>");
          out.write("</small>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
          out.write("<h2>");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/mypage\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/h_mypage.gif\" alt=\"マイページ\" width=\"169\" height=\"31\" />");
          out.write("</a>");
          out.write("</h2>\r\n");
          out.write("<div class=\"wrap\">\r\n");
          out.write("<div class=\"menu\">\r\n");
          out.write("<ul>\r\n");
          out.write("<li class=\"mymenu01\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.orderhistory"));
          out.write("\" title=\"ご注文状況・履歴のご確認、領収書・納品書の発行が行えます\">購入履歴/伝票");
          out.write("</a>");
          out.write("</li>\r\n");
          out.write("<li class=\"mymenu01\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/mypage/a/list3\" title=\"よくご購入いただく商品を再注文いただけます\">再注文");
          out.write("<span style=\"font-size:10px;\">(よく買う商品)");
          out.write("</span>");
          out.write("</a>");
          out.write("</li>\r\n");
if (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="+uid.getCustCode())){
          out.write("\r\n");
          out.write("<li class=\"mymenu02\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reservelist"));
          out.write("\" title=\"ご予約商品のご確認・ご注文が行えます\">ご予約商品");
          out.write("<br />");
          out.write("<span style=\"text-decoration:none; position:relative; left:-32px;\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/reserve_popup.gif\" alt=\"ご予約商品が入荷しましたので決済手続きを完了して下さい。\" />");
          out.write("</span>");
          out.write("</a>");
          out.write("</li>\r\n");
}else{
          out.write("\r\n");
          out.write("<li class=\"mymenu02\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.reservelist"));
          out.write("\" title=\"ご予約商品のご確認・ご注文が行えます\">ご予約商品");
          out.write("</a>");
          out.write("</li>\r\n");
}
          out.write("\r\n");
          out.write("\r\n");
          out.write("<li class=\"mymenu04\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.mypage")+"/a/list");
          out.write("\" title=\"お気に入りに登録した商品をご確認・ご注文いただけます\">お気に入り");
          out.write("<span style=\"font-size:10px;\">(マイカタログ)");
          out.write("</span>");
          out.write("</a>");
          out.write("</li>\r\n");
          out.write("\r\n");
          out.write("</ul>\r\n");
          out.write("</div>\r\n");
          out.write("<div id=\"navPoint\">\r\n");
          out.write("<p>BGポイント ");
          out.print(uid.getMaxPoint());
          out.write(" pt");
          out.write("</p>\r\n");
          out.write("</div>\r\n");
          /* ----  webshop:session ---- */
          jp.co.sint.taglib.SISessionTag _jspx_th_webshop_session_2 = (jp.co.sint.taglib.SISessionTag) _jspx_tagPool_webshop_session_type_name_id.get(jp.co.sint.taglib.SISessionTag.class);
          _jspx_th_webshop_session_2.setPageContext(pageContext);
          _jspx_th_webshop_session_2.setParent(_jspx_th_webshop_session_1);
          _jspx_th_webshop_session_2.setName(SIConfig.SISESSION_CART_INFO_NAME);
          _jspx_th_webshop_session_2.setId("cartManager");
          _jspx_th_webshop_session_2.setType("jp.co.sint.basic.SICartManager");
          int _jspx_eval_webshop_session_2 = _jspx_th_webshop_session_2.doStartTag();
          if (_jspx_eval_webshop_session_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SICartManager cartManager = null;
            cartManager = (jp.co.sint.basic.SICartManager) pageContext.findAttribute("cartManager");
            do {
              out.write("\r\n");
              out.write("<div id=\"cart\">\r\n");
              out.write("<div class=\"txt_cart\">");
              out.write("<p>カート");
              out.write("</p>");
              out.write("</div>\r\n");
              out.write("<div class=\"cartin\">");
              out.write("<p id=\"cartDetail\">");
              out.print(cartManager.getAmount());
              out.write("点");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(cartManager.getTotalOfPrice(request)));
              out.write("</p>");
              out.write("</div>\r\n");
              out.write("<a href=\"");
              out.print(SIURLMap.getUrl(request,"webshop.servlet.front.cart"));
              out.write("\" class=\"nomal\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_view_cart.gif\" alt=\"カートを見る\" />");
              out.write("</a>\r\n");
              out.write("</div>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_session_2.doAfterBody();
              cartManager = (jp.co.sint.basic.SICartManager) pageContext.findAttribute("cartManager");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_session_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_session_type_name_id.reuse(_jspx_th_webshop_session_2);
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("<p class=\"txt_logout\">");
          out.write("<a href=\"");
          out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.logout"));
          out.write("\" class=\"arrow01\">ログアウトする");
          out.write("</a>");
          out.write("</p>\r\n");
          out.write("<div id=\"exclusive_bnr\">\r\n");
 for(int i=0; i < uid.getMaker().length ;i++){
          out.write("\r\n");
if( "2419".equals(uid.getMaker()[i])){
          out.write("\r\n");
          out.write("<p class=\"profeels\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/pickup/profeel_s/index.html\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/btn_profeels.jpg\" alt=\"ヘアカラー専門店の専用カラー剤「プロフィールS」\" />");
          out.write("</a>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
if( "2492".equals(uid.getMaker()[i])){
          out.write("\r\n");
          out.write("<p class=\"cutroom\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/pickup/cutroom/index.html\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/btn_cutroom.jpg\" alt=\"カットルームグループ様専用ご購入ページ\" />");
          out.write("</a>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
if( "2569".equals(uid.getMaker()[i])){
          out.write("\r\n");
          out.write("<p class=\"cutroom\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/pickup/raygelnew/index.html\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/btn_raygelnew.jpg\" alt=\"レイジェル既存ユーザー様先行販売ページ\" />");
          out.write("</a>");
          out.write("</p>\r\n");
}
          out.write("\r\n");
}
          out.write("\r\n");
          out.write("</div>\r\n");
          out.write("</div>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_session_1.doAfterBody();
          uid = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uid");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_session_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_session_type_name_id.reuse(_jspx_th_webshop_session_1);
      out.write("\r\n");
}
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /member -->\r\n");
      out.write("\r\n");
      out.write("<!-- /member -->\r\n");
      out.write("<!-- localNavi -->\r\n");
      out.write("<form name=\"leftSearch\" action=\"");
      out.print(webshopSite+"/bed");
      out.write("\" method=\"get\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction leftMakerSearch(){\r\n  document.leftSearch.submit();\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"");
      out.print(SIConfig.SIACTION_LIST);
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"dispModeTxt\" value=\"");
      out.print(SIConfig.DEFAULT_DISPMODE);
      out.write("\">\r\n");
      out.write("<div id=\"localNavi\">\r\n");
      out.write("<h3>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/h_lnav.gif\" alt=\"商品カテゴリ\" width=\"188\" height=\"28\" />");
      out.write("</h3>\r\n");
      out.print(UICtgryGroup.getBedCtgryTree(connection,currCtgryCode,webshopSite));
      out.write("\r\n");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/bg_lnav_ft.gif\" alt=\"\" width=\"188\" height=\"5\" />");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("<div id=\"localNavi_Maker\">\r\n");
      out.write("<h3>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/h_lnav_maker.gif\" alt=\"メーカー/ブランド\" width=\"188\" height=\"28\" />");
      out.write("</h3>\r\n");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_5 = (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_5.setPageContext(pageContext);
      _jspx_th_webshop_siselect_5.setParent(null);
      _jspx_th_webshop_siselect_5.setName("maker");
      _jspx_th_webshop_siselect_5.setDefault("");
      _jspx_th_webshop_siselect_5.setCollection(UIRegMaker.getFrontSearchCollectionBed(connection));
      _jspx_th_webshop_siselect_5.setAttributesText("onChange=\"leftMakerSearch()\"");
      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_attributesText_nobody.reuse(_jspx_th_webshop_siselect_5);
      out.write("\r\n");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/bg_lnav_ft.gif\" alt=\"\" width=\"188\" height=\"5\" />");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("</form>\r\n");
      out.write("<!-- /localNavi -->\r\n");
      out.write("<!-- localNavi_Hotselling -->\r\n");
      out.write("<div id=\"localNavi_Hotselling\">\r\n");
      out.write("<h3>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/h_lnav_hotselling.gif\" alt=\"売れ筋・特集で探す\" width=\"188\" height=\"28\" />");
      out.write("</h3>\r\n");
      out.write("<ul>\r\n");
      out.write("<li class=\"rankBtn\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/main?actionNameTxt=ranking&inx=15",false));
      out.write("\">売れ筋ランキング");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"pickBtn\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/listpickup/listpickup_bed.html\">特集一覧");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bed/bg_lnav_ft.gif\" alt=\"\" width=\"188\" height=\"5\" />");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /localNavi_Hotselling -->\r\n\r\n");
      out.write("<!-- category -->\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/category.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<div id=\"navCategory\">\r\n");
      out.write("<h2>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/h_l_otherCategory.gif\" alt=\"その他のカテゴリから探す\" width=\"188\" height=\"28\" />");
      out.write("</h2>\r\n");
      out.write("<ul>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/hair\" class=\"category1\">理美容器具");
      out.write("<br>理美容用品");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_HAIR));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/haircosme\" class=\"category2\">ヘアケア製品");
      out.write("<br>頭髪用化粧品");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_HAIRCOSME));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/esthe\" class=\"category3\">エステ機器");
      out.write("<br>エステ用品");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_ESTHE));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/cosme\" class=\"category5\">エステ化粧品");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_COSME));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/nail\" class=\"category6\">ネイル商材");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_NAIL));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/eyelash\" class=\"category7\">まつげエクステ");
      out.write("<br />商材");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_EYELASH));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/book\" class=\"category8\">本・DVD・CD");
      out.write("</a>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTree(connection,webshopSite,SIConfig.CTGRYGROUP_INX_BOOK));
      out.write("\r\n");
      out.write("</li>\r\n");
      out.write("<li class=\"category\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/used\" class=\"category9\">中古品");
      out.write("<br>アウトレット品");
      out.write("</a>\r\n");
      out.write("<div class=\"column4\">\r\n");
      out.write("<div class=\"used\">\r\n");
      out.write("<p class=\"top\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/used\">中古品/アウトレット品TOP");
      out.write("</a>");
      out.write("</p>\r\n");
      out.print(UICtgryGroup.getHomeCtgryTreeUsed(connection,webshopSite,1));
      out.write("\r\n");
      out.print(UICtgryGroup.getHomeCtgryTreeUsed(connection,webshopSite,3));
      out.write("\r\n");
      out.print(UICtgryGroup.getHomeCtgryTreeUsed(connection,webshopSite,4));
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /category -->");
      out.write("\r\n");
      out.write("<!-- history -->\r\n");
      out.write("<div id=\"navHistory\">\r\n");
      out.write("<div class=\"wrapper\">\r\n");
      out.write("<h3>最近チェックした商品");
      out.write("</h3>\r\n");
int historyCount=1; Collection commodityHistoryColl=jp.co.sint.servlet.front.SICommoditySrv.readCmdtyHistory(request,connection);
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(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");
          out.write("<ol>\r\n");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_16 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_16.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_16.setParent(_jspx_th_webshop_isFalse_0);
          _jspx_th_webshop_siiterator_16.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_16.setCollection(commodityHistoryColl);
          _jspx_th_webshop_siiterator_16.setId("historyID");
          int _jspx_eval_webshop_siiterator_16 = _jspx_th_webshop_siiterator_16.doStartTag();
          if (_jspx_eval_webshop_siiterator_16 != 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("<li class=\"");
              out.print("rank0"+String.valueOf(historyCount));
              out.write("\">\r\n");
              out.write("<div class=\"txt\">\r\n");
              out.write("<p>");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.print(SIHTMLUtil.HTMLEncode(historyID.getCmdtyName()));
              out.write("</a>");
              out.write("</p>\r\n");
              out.write("<p class=\"price\">\r\n");
if(historyID.isContractFlg()){
              out.write("\r\nBG卸価：契約後表示\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\nBG卸価：ログイン表示\r\n");
}else{
              out.write("\r\n");
if (!historyID.isCmdtyComposition()){
              out.write("\r\n");
if(historyID.getFinalUnitPriceWithoutTax().equals(historyID.getUnitPriceWithoutTax())){
              out.write("\r\n");
              out.write("<em>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("</em>");
              out.write("<em class=\"tax\">(税別)");
              out.write("</em>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<em>");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(historyID.getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("</em>");
              out.write("<em class=\"tax\">");
              out.write("<strike>(税別)");
              out.write("</strike>");
              out.write("</em>");
              out.write("<br>\r\n");
              out.write("<em class=\"tax\">VIP特価：");
              out.write("</em>");
              out.write("<br>");
              out.write("<em>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("</em>");
              out.write("<em class=\"tax\">(税別)");
              out.write("</em>");
              out.write("</p>\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.write("<em>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</em>");
              out.write("<em class=\"tax\">(税別)");
              out.write("</em>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<em>");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</strike>");
              out.write("</em>");
              out.write("<em class=\"tax\">");
              out.write("<strike>(税別)");
              out.write("</strike>");
              out.write("</em>");
              out.write("<br>\r\n");
              out.write("<em class=\"tax\">VIP特価：");
              out.write("</em>");
              out.write("<em>￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("</em>");
              out.write("<em class=\"tax\">(税別)");
              out.write("</em>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
}}
              out.write("\r\n");
              out.write("</p>\r\n");
              out.write("</div>\r\n");
              out.write("<div class=\"pic\">");
              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=\"60\" height=\"45\" border=\"0\" alt=\"");
              out.print(SIHTMLUtil.HTMLEncode(historyID.getCmdtyName()));
              out.write("\">");
              out.write("</a>");
              out.write("</div>\r\n");
              out.write("</li>\r\n");
historyCount++;
              out.write("\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_16.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_16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_16);
          out.write("\r\n");
          out.write("</ol>\r\n");
          out.write("<p class=\"more\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.write("/mypage/a/list2\" class=\"arrow01\">もっと見る");
          out.write("</a>");
          out.write("</p>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_10 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_10.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_10.setParent(null);
      _jspx_th_webshop_isTrue_10.setValue(commodityHistoryColl.size()==0);
      int _jspx_eval_webshop_isTrue_10 = _jspx_th_webshop_isTrue_10.doStartTag();
      if (_jspx_eval_webshop_isTrue_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<ol>\r\n");
          out.write("<li class=\"rank01\">\r\n");
          out.write("<div class=\"txt_noitem\">\r\n最近チェックした商品はありません\r\n");
          out.write("</div>\r\n");
          out.write("</li>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_10.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_10);
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /history -->");
      out.write("\r\n");
      JspRuntimeLibrary.include(request, response, "/include/left_inc.jsp", out, true);
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /navigation -->\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /container -->\r\n");
      out.write("<!-- pagetop -->\r\n");
      out.write("<div id=\"pagetop\">");
      out.write("<a href=\"#top\">▲ページTOPへ");
      out.write("</a>");
      out.write("</div>\r\n");
      out.write("<!-- /pagetop -->\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /contentsArea -->\r\n");
      out.write("<!-- footerArea -->\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
 */
String searchPath = "beautygarage";

      out.write("\r\n");
      out.write("\r\n");
 //▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<!-- headerSearch  attributesText=\"onChange=\\\"submit()\\\"\" -->\r\n\r\n");
      out.write("<div id=\"headerSearch\">\r\n  ");
      out.write("<form name=\"headerSearch\" action=\"");
      out.print(webshopSite);
      out.write("\" method=\"get\">\r\n    ");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction changeAction(val){\r\n  with (document.headerSearch){\r\n    pass.value=val;\r\n  }\r\n}\r\nfunction headsearch(){\r\n  with (document.headerSearch){\r\n    if(srchWordTxt.value=='' && ctc.value=='");
      out.print(SIConfig.SICATEGORY_ROOT_CODE);
      out.write("' && maker.value=='') dispModeTxt.value='';\r\n    action=action+'/'+pass.value;\r\n    active.value=pass.value;\r\n    submit();\r\n  }\r\n}\r\nfunction enterSearchHead(event){\r\n  if (event.keyCode == 13 || event.charCode == 13){\r\n    headsearch();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n    ");
      out.write("<fieldset>\r\n      ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/title_header_search_l.gif\" alt=\"商品を探す\" width=\"43\" height=\"28\" />\r\n      ");
      out.write("<select name=\"ctc\" onChange=\"changeAction(this.options[this.options.selectedIndex].title)\" onKeyPress=\"enterSearchHead(event)\">\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_17 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_17.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_17.setParent(null);
      _jspx_th_webshop_siiterator_17.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_17.setCollection(UICtgryGroup.getCtgryListColl(connection,false));
      _jspx_th_webshop_siiterator_17.setId("headID");
      int _jspx_eval_webshop_siiterator_17 = _jspx_th_webshop_siiterator_17.doStartTag();
      if (_jspx_eval_webshop_siiterator_17 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValue headID = null;
        headID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID");
        do {
          out.write("\r\n          ");
          out.write("<option value=\"");
          out.print(headID.getValue().split(",")[0]);
          out.write("\" title=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\">");
          out.print(headID.getName());
          out.write("</option>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_17.doAfterBody();
          headID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_17);
      out.write("\r\n      ");
      out.write("</select>\r\n      ");
      out.write("\r\n      ");
      out.write("<input name=\"srchWordTxt\" value=\"\" type=\"text\" class=\"keyword\" onKeyPress=\"enterSearchHead(event)\" id=\"textSearchBox\" autocomplete=\"off\" placeholder=\"商品名、キーワード、ブランド、成分、商品コードなど\" />");
      out.write("<a href=\"#\" onClick=\"headsearch();return false;\" id=\"headerSearchBtn2\">検索");
      out.write("</a>\r\n      ");
      out.write("<div id=\"popupDetail\"> ");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.advancedsearch"));
      out.write("\" class=\"more arrow01_l\">詳細検索");
      out.write("</a> ");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.advancedsearch"));
      out.write("\" id=\"popTarget\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/detail_pop.png\" alt=\"より詳しい条件で検索できます！・キーワード・カテゴリ・メーカー/ブランド・価格帯・種別(新品・中古など)\" />");
      out.write("</a> ");
      out.write("</div>\r\n    ");
      out.write("</fieldset>\r\n    ");
      out.write("<script type=\"text/javascript\" src=\"//std2f-s.snva.jp/js/naviplus_suggestitem_view.js\" charset='UTF-8' >");
      out.write("</script> \r\n    ");
      out.write("<script type=\"text/javascript\" src=\"//std2f-s.snva.jp/js/naviplus_suggest.js\" charset='UTF-8' >");
      out.write("</script>\r\n    ");
      out.write("<link href=\"//std2f-s.snva.jp/css/naviplus_suggest.css\" rel=\"stylesheet\" crossorigin type=\"text/css\" />\r\n    ");
      out.write("<script type=\"text/javascript\" charset='UTF-8'>\r\nNPSuggest.bind({\r\n//-- Setting ---//\r\nserver: \"std2f-s.snva.jp\",\r\naccountID: \"beautygarage\",\r\ninputAreaID: \"textSearchBox\",\r\nsubmitBtnID: \"headerSearchBtn2\",\r\ncategoryAreaID: \"search_cat\",\r\nfieldAreaId: \"\",\r\nfield: \"\",\r\ncategoryName: \"s7\",\r\nsuggestAreaClass: \"np-keyword-suggest\",\r\nitemListClass: \"np-item-suggest\",\r\nmaxSuggest: 7,\r\nmatchMode: \"partial\",\r\ngroupByCategory: false,\r\nalwaysOnTop: false,\r\noverlayMode: \"off\",\r\nrecommendItemEnabled: \"on\",\r\nrecommendItemTiming: \"mouseover\",\r\nrecommendItemAreaTitle: \"\",\r\nrecommendItemAreaPosition: \"right\",\r\nrecommendItemSort: \"price\",\r\nrecommendItemLimitWidth: -1,\r\nrecommendItemLimitHeight: -1,\r\nrecommendItemUrlPrefix: \"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("\",\r\nrecommendImageUrlPrefix: \"\"\r\n});\r\n/*$(function(){\r\n  $(document).on('hover', '.np-keyword-suggest .item', function() {\r\n    var suggestKeyword = $(this).text();\r\n    setTimeout(function(){\r\n      $('.np-item-suggest').find('.title').text(suggestKeyword);\r\n    },300);\r\n  });\r\n})*/\r\n");
      out.write("</script>\r\n    ");
      out.write("<style type=\"text/css\">\r\n#headerSearch .np-keyword-suggest {width:420px; border:1px solid #CCC;}\r\n#headerSearch .np-keyword-suggest div {width:420px;}\r\n#headerSearch .np-keyword-suggest .group {border-top:1px dotted #999; padding:3px 0;}\r\n#headerSearch .np-keyword-suggest .group:first-child {border-top:none;}\r\n#headerSearch .np-keyword-suggest .item {padding:2px 0 2px 5px; cursor:pointer;}\r\n#headerSearch .np-keyword-suggest .title,\r\n#headerSearch .np-keyword-suggest .narrow1,\r\n#headerSearch .np-keyword-suggest .narrow9{\r\n  color: #000;\r\n}\r\n#headerSearch .np-keyword-suggest .title:before,\r\n#headerSearch .np-keyword-suggest .narrow1:before,\r\n#headerSearch .np-keyword-suggest .narrow9:before{\r\n  font-size:10px;\r\n  color:#FFF;\r\n  margin-right:4px;\r\n  padding:1px 4px;\r\n  border-radius:2px;\r\n  -webkit-border-radius:2px;\r\n  -moz-border-radius:2px;\r\n}\r\n#headerSearch .np-keyword-suggest .title:before{\r\n  content:\"商品名\";\r\n  background:#3864AA;\r\n  padding:1px 9px;\r\n}\r\n#headerSearch .np-keyword-suggest .narrow1:before{\r\n  content:\"ブランド\";\r\n");
      out.write("  background:#FC4957;\r\n}\r\n#headerSearch .np-keyword-suggest .narrow9:before{\r\n  content:\"カテゴリ\";\r\n  background:#666;\r\n}\r\n#headerSearch .np-keyword-suggest .item.selected{background-color:#EEE;}\r\n\r\n#headerSearch .np-item-suggest {\r\n  width:249px;\r\n  border:1px solid #CCC;\r\n\tborder-left:none;\r\n}\r\n#headerSearch .np-item-suggest table{\r\n  width:240px;\r\n  border-collapse:collapse;\r\n  width:auto;\r\n}\r\n#headerSearch .np-item-suggest table tr{\r\n  border-top:1px dotted #999;\r\n  border-spacing:0 10px;\r\n}\r\n#headerSearch .np-item-suggest table tr:first-child{\r\n  border-top:none;\r\n}\r\n#headerSearch .np-item-suggest table td{\r\n  vertical-align:top;\r\n  text-align:left;\r\n  padding:8px 0;\r\n}\r\n.np-item-suggest table td a{\r\n  font-size:11px !important;\r\n\ttext-decoration:underline !important;\r\n}\r\n.np-item-suggest table td a:hover{\r\n  text-decoration:none !important;\r\n}\r\n#headerSearch .np-item-suggest div{\r\n  padding:6px;\r\n}\r\n.np-item-suggest .item {\r\n  width:160px;\r\n}\r\n.np-item-suggest .title {\r\n  display:none;  \r\n}\r\n.np-item-suggest .item a {\r\n");
      out.write("\twidth:160px;\r\n  display: block;\r\n  text-decoration: none;\r\n}\r\n.np-item-suggest .image{\r\n  text-align:left !important;\r\n  width:66px !important;\r\n\theight:48px;\r\n}\r\n.np-item-suggest .image img{\r\n  width:66px !important;\r\n\theight:48px;\r\n}\r\n#headerSearch .np-item-suggest .item .item_title{\r\n  text-align:left !important;\r\n  white-space:normal;\r\n  text-overflow:none;\r\n  -webkit-text-overflow:none !important;\r\n  -o-text-overflow:none;\r\n  padding-left:8px;\r\n  overflow:visible;\r\n}\r\n#headerSearch .np-item-suggest .item .item_desc{\r\n  display:none;\r\n}\r\n#headerSearch .np-keyword-suggest,\r\n#headerSearch .np-item-suggest{\r\n\tfont-family:\"メイリオ\", Meiryo, Osaka, \"ＭＳ Ｐゴシック\", \"MS PGothic\", sans-serif;\r\n\tfont-size:12px;\r\n\tbox-shadow: 1px 1px 2px #888;\r\n\t-moz-box-shadow: 1px 1px 2px #888;\r\n\t-webkit-box-shadow: 1px 1px 2px #888;\r\n\t-ms-box-shadow: 1px 1px 2px #888;\r\n}\r\n");
      out.write("</style>\r\n    ");
      out.write("<input name=\"search_cat\" type=\"hidden\" id=\"search_cat\" value=\"");
      out.print(searchPath);
      out.write("\">\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("<!-- /headerSearch -->\r\n\r\n");
      out.write("<div id=\"footerArea\"> \r\n  \r\n  ");
      out.write("<!-- footerNavi -->\r\n  ");
      out.write("<div id=\"footerNavi\">\r\n    ");
      out.write("<ul class=\"footerUNav\">\r\n      ");
      out.write("<li class=\"fnav01\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.hair"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIR]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav02\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.haircosme"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIRCOSME]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav03\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.esthe"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_ESTHE]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav04\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.bed"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav05\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.cosme"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_COSME]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav06\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.nail"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_NAIL]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav07\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.eyelash"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_EYELASH]);
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"fnav08\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.book"));
      out.write("\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("</ul>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!-- /footerNavi --> \r\n  \r\n  ");
      out.write("<!-- footerBGGlink -->\r\n  ");
      out.write("<div id=\"footerBGGlink\">\r\n    ");
      out.write("<div id=\"footerBGGlink_Ct\">\r\n      ");
      out.write("<dl>\r\n        ");
      out.write("<dt>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/footerBGG_logo.gif\" alt=\"BEAUTY GARAGE GROUP\" width=\"162\" height=\"11\" />");
      out.write("</dt>\r\n        ");
      out.write("<dd>\r\n          ");
      out.write("<ul>\r\n            ");
      out.write("<li class=\"footerBGGlink_1st\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.main"));
      out.write("\" target=\"_blank\">理美容・エステ・ネイル商材 卸通販");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.eyelashgarage.jp/\" target=\"_blank\">まつげエクステ商材 卸通販");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://kaigyo.beautygarage.jp/\" target=\"_blank\">美容室開業・経営支援");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/pickup/fund/index.html",false));
      out.write("\" target=\"_blank\">サロン開業資金調達");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.salonfudousan.net/\" target=\"_blank\">サロン用不動産・居抜き物件");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.salondesign.jp/\" target=\"_blank\">店舗設計・デザイン");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.salonhoken.net/\" target=\"_blank\">サロン向け保険");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.salonsystem.jp/\" target=\"_blank\">システム導入支援");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.saloncard.jp/\" target=\"_blank\">クレジット決済");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.s-career.jp/\" target=\"_blank\">求人・転職");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.bgacademy.jp/\" target=\"_blank\">セミナー・スクール");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.beauty-tv.jp/\" target=\"_blank\">e-ラーニング");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.shukyaku.jp/\" target=\"_blank\">集客支援・ホームページ制作");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.salonfc.jp/\" target=\"_blank\">フランチャイズ加盟");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.beautymedia.jp/salon/\" target=\"_blank\">美容メディア");
      out.write("</a>");
      out.write("</li>\r\n            ");
      out.write("<li>");
      out.write("<a href=\"http://www.biyoukaitori.jp/\" target=\"_blank\">美容機器・エステ機器買取");
      out.write("</a>");
      out.write("</li>\r\n          ");
      out.write("</ul>\r\n        ");
      out.write("</dd>\r\n      ");
      out.write("</dl>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!-- /footerBGGlink --> \r\n  \r\n  ");
      out.write("<!-- footer -->\r\n  ");
      out.write("<div id=\"footer\">\r\n    ");
      out.write("<p id=\"copyright\">Copyright by BEAUTY GARAGE INC. All rights reserved.");
      out.write("</p>\r\n    ");
      out.write("<ul>\r\n      ");
      out.write("<li class=\"cnav01\">");
      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 class=\"cnav02\">");
      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 class=\"cnav03\">");
      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("<li class=\"cnav04\">");
      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 class=\"cnav05\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/sitemap/index.html",false));
      out.write("\">サイトマップ");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"cnav06\">");
      out.write("<a href=\"http://www.beautygarage.co.jp/\" target=\"_blank\">会社案内");
      out.write("</a> ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" width=\"10\" height=\"10\" />");
      out.write("</li>\r\n      ");
      out.write("<li class=\"cnav07\">");
      out.write("<a href=\"http://www.beautygarage.co.jp/recruit/\" target=\"_blank\">採用情報");
      out.write("</a> ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" width=\"10\" height=\"10\" />");
      out.write("</li>\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<br class=\"clear\">\r\n    ");
      out.write("<ul style=\"margin-top:7px;\">\r\n      ");
      out.write("<li class=\"cnav01\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/agreement/index.php",false));
      out.write("\" target=\"_blank\">総合利用規約");
      out.write("</a> ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" width=\"10\" height=\"10\" />");
      out.write("</li>\r\n      ");
      out.write("<li class=\"cnav02\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,"/agreement/gl_ec.php",false));
      out.write("\" target=\"_blank\">ビューティガレージオンラインショップ利用ガイドライン");
      out.write("</a> ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/icon_blank.gif\" alt=\"\" width=\"10\" height=\"10\" />");
      out.write("</li>\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<!-- ssl trust --> \r\n    ");
      out.write("<br class=\"clear\">\r\n    ");
      out.write("<div id=\"verisign\"> \r\n      ");
      out.write("<script language=\"JavaScript\" TYPE=\"text/javascript\" src=\"https://trusted-web-seal.cybertrust.ne.jp/seal/getScript?host_name=www.beautygarage.jp&type=21\">");
      out.write("</script> \r\n    ");
      out.write("</div>\r\n    ");
      out.write("<!-- /ssl trust --> \r\n    ");
      out.write("<!-- ipo -->\r\n    ");
      out.write("<div id=\"ipo\"> ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bnr_foot_ipo.gif\" width=\"48\" height=\"55\">\r\n      ");
      out.write("<p>東証マザーズ上場");
      out.write("<br />\r\n        証券コード：3180");
      out.write("</p>\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<!-- /ipo --> \r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!-- /footer --> \r\n");
      out.write("</div>\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;\"> ");
      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\"/> ");
      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("<!-- /footerArea -->\r\n");
      out.write("</div>\r\n\r\n");
      out.write("<!-- Google 動的リマーケティング -->\r\n");
      out.write("<!-- Google Code for &#21205;&#30340;&#12522;&#12510;&#12540;&#12465;&#12486;&#12451;&#12531;&#12464;&#29992;&#12479;&#12464;_131017 -->\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\nvar google_tag_params = {\r\necomm_prodid: '");
      out.print(SIHTMLUtil.HTMLEncode(cmdty.getIndividualCode()));
      out.write("',\r\necomm_pagetype: 'product',\r\necomm_totalvalue: '");
      out.print(cmdty.getFinalUnitPrice());
      out.write("'\r\n};\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n/* ");
      out.write("<![CDATA[ */\r\nvar google_conversion_id = 1039187569;\r\nvar google_conversion_label = \"5GWlCMmZgQcQ8fzC7wM\";\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=5GWlCMmZgQcQ8fzC7wM&amp;guid=ON&amp;script=0\"/>\r\n");
      out.write("</div>\r\n");
      out.write("</noscript>\r\n");
      out.write("<!-- /Google 動的リマーケティング -->\r\n\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

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

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