package org.apache.jsp;

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

public class cart_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(2);
    _jspx_includes.add("/include/header_inc.jsp");
    _jspx_includes.add("/include/footer_inc.jsp");
  }

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

  public cart_jsp() {
    _jspx_tagPool_webshop_actionErrors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_format_pattern = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_currentTime_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

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

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

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

    jp.co.sint.basic.SICartCmdty _jspx_compositionId_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 : cart.jsp,v 2.0 2009/04/23 Exp $
 * @author      : Jinwang Chen
 * @Description : フロントのカート画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Naotaka        2009/04/23  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");

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

//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
//各サイトの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String mainSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.main");
String cartSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.cart");
String counterSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.counter");
String cmdtySrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.commodity");
String priceOfCmdty="0";
String totalByShop="0";
String TOP = cartMan.getTotalOfPrice(request);
String TAX = SITax.getTaxRate(connection);
boolean openFlg=true;

boolean isEnd = UIRegClosedSaleItem.isEnd(connection);

      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"ja\" lang=\"ja\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=Shift_JIS\" />\r\n");
      out.write("<title>ショッピングカート | 理美容器具・エステ機器・美容用品の卸販売 BEAUTY GARAGE");
      out.write("</title>\r\n");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />\r\n");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" />\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/css/import.css\" media=\"screen,print\" />\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/css/print.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.recommend.js\" type=\"text/javascript\">");
      out.write("</script>\r\n\r\n");
      out.write("<script type=\"text/javascript\">\r\n$(function() {\r\n  $('.carousel_box .name').flatHeights();\r\n  $('.carousel_box .price').flatHeights();\r\n  $('.carousel_box .cart').flatHeights();\r\n  var target = $('#cartList').find('tr');\r\n  //リンクを切りたい商品コードを下記にカンマ区切りで列挙する。\r\n  var removeCode = 'HP-0532N-S,HP-0535N-S,HC-3177N-S,HC-2781N-S,HC-2780N-S,HC-2779N-S,HC-2778N-S,HC-2786N-S,HC-2785N-S,HC-2777N-S,HC-2782N-S,HC-2784N-S,HC-2783N-S,HC-2776N-S,HD-0086N-S,HD-0088N-S,HD-0090N-S,HC-2788N-S,HC-3074N-S,HC-3075N-S,HC-3076N-S,HC-3077N-S,HC-3078N-S,HC-3079N-S,HC-3080N-S,HC-3081N-S,HC-3082N-S,HC-3083N-S,HC-3084N-S,HC-3085N-S,HC-3090N-S,HC-3091N-S,HD-3074N-S,HC-3133N-S,HC-3134N-S,HC-3135N-S,HC-3136N-S,HC-3137N-S,HC-3138N-S,HC-3139N-S,HC-3140N-S,HC-3141N-S,HC-3142N-S,HC-3144N-S,HC-3158N-S,HC-3145N-S,HC-3146N-S,HC-3147N-S,HC-3148N-S,HC-3149N-S,HC-3150N-S,HC-3151N-S,HC-3152N-S,HC-3153N-S,HC-3154N-S,HC-3155N-S,HC-3156N-S,HC-3157N-S,HC-3159N-S,NJ-4717P,NJ-4718P,NJ-4719P,NJ-4720P,NJ-4721P,NJ-4722P,NJ-4723P,NJ-4724P,NJ-4725P,NJ-4726P,NJ-4727P,NJ-4728P,NJ-4729P,NJ-4730P,NJ-4731P,NJ-4732P,NJ-4733P,NJ-4734P,NJ-4735P,NJ-4736P,NJ-4737P,NJ-4738P,NJ-4739P,NJ-4740P,NJ-4741P,NJ-4742P,NJ-4743P,NJ-4744P,NJ-4745P,NJ-4746P,NJ-4747P,NJ-4748P,NJ-4749P,NJ-4750P,NJ-4751P,NJ-4752P,NJ-4753P,NJ-4754P,NJ-4755P,NJ-4755P,NJ-4756P,NJ-4757P,NJ-4758P,NJ-4759P,NJ-4760P,NJ-4761P,NJ-4762P,NJ-4763P,NJ-4764P,NJ-4765P,NJ-4766P,NJ-4767P,NJ-4768P,NJ-4769P,NJ-4770P,NJ-4771P,NJ-4772P,NJ-4773P,NJ-4774P,NJ-4775P,NJ-4776P,NJ-4777P,NJ-4778P,NJ-4779P,NJ-4780P,NJ-4781P,NJ-4782P,NJ-4783P,NJ-4784P,NJ-4785P,NJ-4786P,NJ-4787P,NJ-4788P,NJ-4789P,NJ-4790P,NJ-4791P,NJ-4792P,NJ-4793P,NJ-4794P,NJ-4795P,NJ-4796P,NJ-4797P,NJ-4798P,NJ-4799P,NJ-4800P,NJ-4801P,NJ-4802P,NJ-4803P,NJ-4804P,NJ-4805P,NJ-4806P,NJ-4807P,NJ-4808P,-4809P,NJ-4810P,NJ-4811P,NJ-4812P,NJ-4813P,NJ-4814P,NJ-4815P,NJ-4816P,NJ-4817P,NJ-4818P,NJ-4819P,NJ-4820P,NJ-4821P,NJ-4822P,NJ-4823P,NJ-4824P,NJ-4825P,NJ-4826P,NJ-4827P,NJ-4809P,NW-0096P-S,NW-0097P-S';\r\n");
      out.write("  \r\n  target.each(function(){\r\n    if(removeCode.indexOf($(this).find('td:eq(1)').text()) != -1){\r\n      $(this).find('.cartItem:eq(1) a , .cartItem:eq(2) a').removeAttr('href');\r\n    }else{return;}\r\n  });\r\n});\r\n");
      out.write("</script>\r\n\r\n\r\n");
      out.write("</head>\r\n");
      out.write("<body id=\"cart\" class=\"style1\">\r\n");
      out.write("<a name=\"top\" id=\"top\">");
      out.write("</a>\r\n");
      out.write("<div id=\"wrapper\">\r\n\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\r\n");
      out.write("<!-- contentsArea -->\r\n");
      out.write("<div id=\"contentsArea\">\r\n\r\n");
      out.write("<!-- root -->\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(mainSrvSite);
      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 property=\"v:title\">カート");
      out.write("</a>");
      out.write("</span>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /root -->\r\n\r\n");
      out.write("<!-- contents -->\r\n");
      out.write("<div id=\"contents\">\r\n\r\n");
      out.write("<div class=\"section\">\r\n");
      out.write("<h1>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cart/title_cart.gif\" alt=\"ショッピングカート\" width=\"950\" height=\"40\" />");
      out.write("</h1>\r\n");
      out.write("<ol class=\"error\">\r\n");
      if (_jspx_meth_webshop_actionErrors_0(pageContext))
        return;
      out.write("\r\n");
SICustomErrors pageError = (SICustomErrors)request.getAttribute(SIConfig.SIERROR_ATTRIBUTE_MESSAGE_KEY);
if (pageError==null) pageError = new SICustomErrors();
      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(pageError.isEmpty());
      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("<li class=\"footer\">");
          out.write("</li>");
          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");
      out.write("</ol>\r\n");
      out.write("<div class=\"wrap\">\r\n");
      out.write("<form name=\"cartForm\" action=\"");
      out.print(cartSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction clearCart(){\r\n  with(document.cartForm){\r\n    actionNameTxt.value=\"");
      out.print(SIConfig.SIACTION_CLEAR);
      out.write("\";\r\n    submit();\r\n  }\r\n}\r\nfunction modifyCart(){\r\n  with(document.cartForm){\r\n    actionNameTxt.value=\"");
      out.print(SIConfig.SIACTION_MODIFY);
      out.write("\";\r\n    submit();\r\n  }\r\n}\r\nfunction deleteCart(delRow){\r\n  with(document.cartForm){\r\n    actionNameTxt.value=\"");
      out.print(SIConfig.SIACTION_DELETE);
      out.write("\";\r\n    delRowTxt.value=delRow;\r\n    submit();\r\n  }\r\n}\r\nfunction goCounter(){\r\n  with(document.cartForm){\r\n    action=\"");
      out.print(counterSrvSite);
      out.write("\";\r\n    submit();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\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(!isEnd&&SIHTMLUtil.getUserInfo(request).isLogin(request)&&!SIHTMLUtil.getUserInfo(request).getMemberLevelCode().equals("0"));
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<center>\r\n");
          out.write("<div class=\"vipsale\" style=\"margin-bottom:10px;\">\r\n");
          out.write("<a href=\"");
          out.print(SIURLMap.getUrl(request,"webshop.servlet.front.closedsale"));
          out.write("\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/bnr_vipsale.jpg\" alt=\"VIP顧客様限定 特別優待SALE\" />");
          out.write("</a>\r\n");
          out.write("</div>\r\n");
          out.write("</center>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n");
      out.write("<table id=\"cartList\">\r\n");
      out.write("<tr>\r\n");
      out.write("<th class=\"cartItem\">商品画像");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">商品コード");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">商品名");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">単価");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">数量");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">商品合計");
      out.write("</th>\r\n");
      out.write("<th class=\"cartItem\">");
      out.write("</th>\r\n");
      out.write("</tr>\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_1 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_1.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_1.setParent(null);
      _jspx_th_webshop_isFalse_1.setValue(cartMan.isEmpty());
      int _jspx_eval_webshop_isFalse_1 = _jspx_th_webshop_isFalse_1.doStartTag();
      if (_jspx_eval_webshop_isFalse_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_0.setParent(_jspx_th_webshop_isFalse_1);
          _jspx_th_webshop_siiterator_0.setId("cartID");
          _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICart");
          _jspx_th_webshop_siiterator_0.setCollection(cartMan.getCartCollection("0"));
          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.SICart cartID = null;
            cartID = (jp.co.sint.basic.SICart) pageContext.findAttribute("cartID");
            do {
              out.write("\r\n");
              out.write("\r\n");
 if (!cartID.getCmdty().isCmdtyComposition()) { 
              out.write("\r\n");
              out.write("\r\n");
priceOfCmdty=SIUtil.multi_LL(cartID.getAmount(),cartID.getCmdty().getFinalUnitPrice());
totalByShop=SIUtil.add_LL(totalByShop,priceOfCmdty);

              out.write("\r\n");
              out.write("<tr>\r\n");
              out.write("<td class=\"cartItem\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCmdtyCode()));
              out.write("/");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCmdtyCode()));
              out.write("_");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getIndividualCode()));
              out.write("_t.jpg\" alt=\"\" width=\"56\" height=\"42\" />");
              out.write("</td>\r\n");
              out.write("<td class=\"cartItem\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+cartID.getCmdty().getCmdtyCode()+"/"+ cartID.getCmdty().getIndividualCode());
              out.write("\" class=\"individualCode\">");
              out.print(cartID.getCmdty().getIndividualCode());
              out.write("</a>");
              out.write("</td>\r\n");
              out.write("<td class=\"cartItem\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+cartID.getCmdty().getCmdtyCode()+"/"+ cartID.getCmdty().getIndividualCode());
              out.write("\">");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCartCmdtyName()));
              out.write("</a>");
              out.write("</td>\r\n");
if("1".equals(cartID.getCmdty().getBGPriceDispFlg())&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){openFlg=false;
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strong class=\"price\">BG卸価はログイン表示");
              out.write("</strong>");
              out.write("</td>\r\n");
}else if(cartID.getCmdty().getFinalUnitPrice().equals(cartID.getCmdty().getUnitPrice())){
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">￥");
              out.write("<span class=\"price\">");
              out.print(SIUtil.NumberFormat(cartID.getCmdty().getFinalUnitPriceWithoutTax()));
              out.write("</span>");
              out.write("</td>\r\n");
}else{
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(cartID.getCmdty().getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("<br>￥");
              out.write("<span class=\"price\">");
              out.print(SIUtil.NumberFormat(cartID.getCmdty().getFinalUnitPriceWithoutTax()));
              out.write("</span>");
              out.write("</td>\r\n");
}
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap cartItem\">");
              out.write("<input type=\"text\" class=\"txt amount\" name=\"");
              out.print(cartID.getCmdty().getCompCode());
              out.write("\" value=\"");
              out.print(cartID.getAmount());
              out.write("\" size=\"3\" maxlength=\"8\"/>");
              out.write("</td>\r\n");
if("1".equals(cartID.getCmdty().getBGPriceDispFlg())&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){openFlg=false;
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strong>BG卸価はログイン表示");
              out.write("</strong>");
              out.write("</td>\r\n");
}else{
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">￥");
              out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(priceOfCmdty,TAX)));
              out.write("</td>\r\n");
}
              out.write("\r\n");
              out.write("<td class=\"txt-center nowrap cartItem\">");
              out.write("<a href=\"javascript:deleteCart('");
              out.print(cartID.getCmdty().getCompCode());
              out.write("')\" class=\"arrow01\">削除");
              out.write("</a>");
              out.write("</td>\r\n");
              out.write("</tr>\r\n");
              out.write("\r\n");
 } else { 
              out.write("\r\n");
              out.write("\r\n");
              out.write("\r\n");
              out.write("\r\n");
 String setPrice = "0"; 
              out.write("\r\n");
 LinkedHashMap workMap = cartID.getCmdty().getCartsCmdtyCompositionDetailMap();
              out.write("\r\n");
 Collection praiceColl = (Collection)workMap.get(cartID.getCmdty().getCmdtyCompositionKeySet());
              out.write("\r\n");
              /* ----  webshop:siiterator ---- */
              jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
              _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
              _jspx_th_webshop_siiterator_1.setParent(_jspx_th_webshop_siiterator_0);
              _jspx_th_webshop_siiterator_1.setId("compositionId");
              _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SICartCmdty");
              _jspx_th_webshop_siiterator_1.setCollection(praiceColl);
              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.SICartCmdty compositionId = null;
                compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                do {
                  out.write("\r\n");
 setPrice = SIUtil.add_LL(setPrice, SIUtil.multi_LL(compositionId.getSetCompositionCount(), compositionId.getUnitPrice())); 
                  out.write("\r\n");
                  int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
                  compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                  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");
 setPrice = SIUtil.sub_LL(setPrice, cartID.getCmdty().getSetDiscountPrice()); 
              out.write("\r\n\r\n");
              out.write("\r\n");
 String setDiscountPrice = "0"; 
              out.write("\r\n");
              out.write("\r\n");
 String setDiscountDiscount = "0"; 
              out.write("\r\n");
 setDiscountDiscount = cartID.getCmdty().getSetDiscountPrice(cartID.getCmdty().getSetDiscountPrice()); 
              out.write("\r\n");
 Collection discountPraiceColl = (Collection)workMap.get(cartID.getCmdty().getCmdtyCompositionKeySet());
              out.write("\r\n");
              /* ----  webshop:siiterator ---- */
              jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_2 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
              _jspx_th_webshop_siiterator_2.setPageContext(pageContext);
              _jspx_th_webshop_siiterator_2.setParent(_jspx_th_webshop_siiterator_0);
              _jspx_th_webshop_siiterator_2.setId("compositionId");
              _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SICartCmdty");
              _jspx_th_webshop_siiterator_2.setCollection(discountPraiceColl);
              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.SICartCmdty compositionId = null;
                compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                do {
                  out.write("\r\n");
 setDiscountPrice = SIUtil.add_LL(setDiscountPrice,
                                    SIUtil.multi_LL(compositionId.getSetCompositionCount()
                                                   ,cartID.getCmdty().getFinalUnitPrice(compositionId.getCalcUnitPrice()
                                                   ,compositionId.getUnitPrice()
                                                   ,compositionId.getSalesUnitPrice()
                                                   ,cartID.getCmdty().getSalesDiscountFlg()
                                                   ,cartID.getCmdty().getMemberDiscountFlg()
                                                   ,cartID.getCmdty().getDiscountFlg()))); 
                  out.write("\r\n");
                  int evalDoAfterBody = _jspx_th_webshop_siiterator_2.doAfterBody();
                  compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                  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");
 setDiscountPrice = SIUtil.sub_LL(setDiscountPrice, setDiscountDiscount); 
              out.write("\r\n");
              out.write("<tr>\r\n  ");
              out.write("<td class=\"cartItem\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCmdtyCode()));
              out.write("/");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCmdtyCode()));
              out.write("_");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getIndividualCode()));
              out.write("_t.jpg\" alt=\"\" width=\"56\" height=\"42\" />");
              out.write("</td>\r\n  ");
              out.write("<td class=\"cartItem\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+cartID.getCmdty().getCmdtyCode()+"/"+ cartID.getCmdty().getIndividualCode());
              out.write("\" class=\"individualCode\">");
              out.print(cartID.getCmdty().getIndividualCode());
              out.write("</a>");
              out.write("</td>\r\n  ");
              out.write("<td class=\"cartItem\">\r\n    ");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+cartID.getCmdty().getCmdtyCode()+"/"+ cartID.getCmdty().getIndividualCode());
              out.write("\">");
              out.print(SIHTMLUtil.HTMLEncode(cartID.getCmdty().getCartCmdtyName()));
              out.write("</a>\r\n    ");
              out.write("<ul>\r\n      ");
 Collection coll = (Collection)workMap.get(cartID.getCmdty().getCmdtyCompositionKeySet());
              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(_jspx_th_webshop_siiterator_0);
              _jspx_th_webshop_siiterator_3.setId("compositionId");
              _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SICartCmdty");
              _jspx_th_webshop_siiterator_3.setCollection(coll);
              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.SICartCmdty compositionId = null;
                compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                do {
                  out.write("\r\n        ");
                  out.write("<li>\r\n          ・（");
                  out.print(SIHTMLUtil.HTMLEncode(compositionId.getIndividualCode()));
                  out.write("）");
                  out.print(SIHTMLUtil.HTMLEncode(compositionId.getCartCmdtyName()));
                  out.write("\r\n          ");
 if (compositionId.getSetDetailFlg().equals(SIConfig.SET_DETAIL_FLG_APPENDED)) { 
                  out.write("\r\n          （");
                  out.print(compositionId.getSetCount());
                  out.write("セット毎に");
                  out.print(compositionId.getSetCompositionCount());
                  out.write("個）\r\n          ");
 } 
                  out.write("\r\n        ");
                  out.write("</li>\r\n      ");
                  int evalDoAfterBody = _jspx_th_webshop_siiterator_3.doAfterBody();
                  compositionId = (jp.co.sint.basic.SICartCmdty) pageContext.findAttribute("compositionId");
                  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      ");
 if (!cartID.getCmdty().getSetDiscountPrice().equals("0")) { 
              out.write("\r\n        ");
 if (cartID.getCmdty().getSetDiscountPrice().equals(setDiscountDiscount)) { 
              out.write("\r\n          ");
              out.write("<li>・セット値引き ￥-");
              out.print(SIUtil.NumberFormat(cartID.getCmdty().getSetDiscountPrice()));
              out.write("</li>\r\n        ");
 } else { 
              out.write("\r\n          ");
              out.write("<li>・セット値引き ￥-");
              out.print(SIUtil.NumberFormat(setDiscountDiscount));
              out.write("</li>\r\n        ");
 } 
              out.write("\r\n      ");
 } 
              out.write("\r\n    ");
              out.write("</ul>\r\n  ");
              out.write("</td>\r\n  ");
              out.write("\r\n  ");
if("1".equals(cartID.getCmdty().getBGPriceDispFlg())&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){openFlg=false;
              out.write("\r\n    ");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strong class=\"price\">BG卸価はログイン表示");
              out.write("</strong>");
              out.write("</td>\r\n  ");
}else if(setPrice.equals(setDiscountPrice)){
              out.write("\r\n    ");
 priceOfCmdty = SIUtil.multi_LL(setPrice, cartID.getAmount()); 
              out.write("\r\n    ");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">￥");
              out.write("<span class=\"price\">");
              out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(setPrice,TAX)));
              out.write("</span>");
              out.write("</td>\r\n  ");
}else{
              out.write("\r\n    ");
 priceOfCmdty = SIUtil.multi_LL(setDiscountPrice, cartID.getAmount()); 
              out.write("\r\n    ");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(setPrice,TAX)));
              out.write("</strike>");
              out.write("<br>￥");
              out.write("<span class=\"price\">");
              out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(setDiscountPrice,TAX)));
              out.write("</span>");
              out.write("</td>\r\n  ");
}
              out.write("\r\n  ");
              out.write("\r\n  ");
              out.write("<td class=\"txt-center nowrap cartItem\">");
              out.write("<input type=\"text\" class=\"txt amount\" name=\"");
              out.print(cartID.getCmdty().getCompCode());
              out.write("\" value=\"");
              out.print(cartID.getAmount());
              out.write("\" size=\"3\" maxlength=\"8\"/>");
              out.write("</td>\r\n  ");
              out.write("\r\n  ");
if("1".equals(cartID.getCmdty().getBGPriceDispFlg())&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){openFlg=false;
              out.write("\r\n    ");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">");
              out.write("<strong>BG卸価はログイン表示");
              out.write("</strong>");
              out.write("</td>\r\n  ");
}else{
              out.write("\r\n    ");
              out.write("<td class=\"txt-center nowrap txt-right cartItem\">￥");
              out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(priceOfCmdty,TAX)));
              out.write("</td>\r\n  ");
}
              out.write("\r\n  ");
              out.write("<td class=\"txt-center nowrap cartItem\">");
              out.write("<a href=\"javascript:deleteCart('");
              out.print(cartID.getCmdty().getCompCode());
              out.write("')\" class=\"arrow01\">削除");
              out.write("</a>");
              out.write("</td>\r\n  ");
 totalByShop=SIUtil.add_LL(totalByShop, priceOfCmdty);
              out.write("\r\n");
              out.write("</tr>\r\n");
 } 
              out.write("\r\n");
              out.write("\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
              cartID = (jp.co.sint.basic.SICart) pageContext.findAttribute("cartID");
              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("<tr>\r\n");
          out.write("<td colspan=\"5\" class=\"txt-right nowrap cartItem\">");
          out.write("<em>数量を変更したらクリックしてください");
          out.write("</em>&nbsp;");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/cart/btn_update.gif\" alt=\"更新\" onclick=\"modifyCart()\" style=\"cursor:pointer; border:0px; margin-right:5px;\" id=\"cartbtn\" />");
          out.write("</td>\r\n");
          out.write("<td colspan=\"2\" class=\"txt-center nowrap cartItem\">&nbsp;");
          out.write("</td>\r\n");
          out.write("</tr>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_1);
      out.write("\r\n");
      out.write("</table>\r\n");
      out.write("<ul class=\"total\">\r\n");
if(openFlg){
      out.write("\r\n");
      out.write("<li>");
      out.write("<span class=\"total-notax\">商品合計金額　￥");
      out.print(SIUtil.NumberFormat(SIUtil.getPriceWithoutTax(totalByShop,TAX)));
      out.write("<span>（税別）");
      out.write("</span>");
      out.write("</span>");
      out.write("<br />");
      out.write("<span class=\"total-taxin\">[￥");
      out.print(SIUtil.NumberFormat(totalByShop));
      out.write("<span>（税込）");
      out.write("</span>]");
      out.write("</span>");
      out.write("</li>\r\n");
}else{
      out.write("\r\n");
      out.write("<li>商品合計金額　￥ログイン後表示");
      out.write("</li>\r\n");
}
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("<div class=\"wrapper\">\r\n");
      out.write("<p class=\"btn1\">");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/cart/btn_continue.gif\" alt=\"買い物を続ける\" width=\"172\" height=\"22\" />");
      out.write("</a>");
      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(SIHTMLUtil.getUserInfo(request).isNotLogin(request));
      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("<p class=\"btn2\">");
          out.write("<a href=\"javascript:goCounter()\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/cart/btn_login_register.gif\" alt=\"ログインしてレジへ進む\" width=\"234\" height=\"51\" />");
          out.write("</a>");
          out.write("</p>\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:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_2 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_2.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_2.setParent(null);
      _jspx_th_webshop_isFalse_2.setValue(SIHTMLUtil.getUserInfo(request).isNotLogin(request));
      int _jspx_eval_webshop_isFalse_2 = _jspx_th_webshop_isFalse_2.doStartTag();
      if (_jspx_eval_webshop_isFalse_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<p class=\"btn2\">");
          out.write("<a href=\"javascript:goCounter()\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/cart/btn_register.gif\" alt=\"レジへ進む\" width=\"184\" height=\"51\" />");
          out.write("</a>");
          out.write("</p>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_2);
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("<input type=\"hidden\" name=\"shopCode\" value=\"0\"/>\r\n");
      out.write("<input type=\"hidden\" name=\"delRowTxt\" value=\"\"/>\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"\"/>\r\n");
      out.write("</form>\r\n");
      out.write("<!--recommend_start-->\r\n");
      out.write("<form name=\"cartForm2\" action=\"");
      out.print(cartSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction addCart(lCmdtyCode,lIndividualCode){\r\n  with(document.cartForm2){\r\n    cartCmdtyCodeTxt.value=lCmdtyCode;\r\n    cartIndividualCodeTxt.value=lIndividualCode;\r\n    submit();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
Collection cartRecommendColl=jp.co.sint.servlet.front.SICommoditySrv.readCartRecommend(request,connection);
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_3 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_3.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_3.setParent(null);
      _jspx_th_webshop_isFalse_3.setValue(cartRecommendColl.size()==0);
      int _jspx_eval_webshop_isFalse_3 = _jspx_th_webshop_isFalse_3.doStartTag();
      if (_jspx_eval_webshop_isFalse_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<div style=\"width:824px; margin:40px auto;\">\r\n\r\n\r\n");
          out.write("<h2 style=\"margin:0;\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/cart/h_rm_cart.gif\" alt=\"カート内の商品とよく一緒に買われている商品\" />");
          out.write("</h2>\r\n");
          out.write("<div class=\"carousel\">\r\n    \r\n");
          out.write("<div id=\"carousel_1_prevWrap\">");
          out.write("<input id=\"carousel_1_prev\" value=\"\" type=\"button\">");
          out.write("</div>\r\n\r\n");
          out.write("<div id=\"carousel_1\" class=\"carousel_inner clearfix\">\r\n");
          out.write("<div class=\"carouselMove clearfix\">");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("<div class=\"carousel-inner clearfix\">");
          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_isFalse_3);
          _jspx_th_webshop_siiterator_4.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_4.setCollection(cartRecommendColl);
          _jspx_th_webshop_siiterator_4.setId("recommendID");
          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.SICmdty recommendID = null;
            recommendID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("recommendID");
            do {
              out.write("\r\n");
              out.write("<div class=\"carousel_box\">\r\n");
              out.write("<div class=\"carousel_inbox\">");
              out.write("<a href=\"");
              out.print(webshopSite);
              out.write("/search_cmdty/");
              out.print(recommendID.getCmdtyCode());
              out.write("/");
              out.print(recommendID.getIndividualCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(recommendID.getCmdtyCode());
              out.write("/");
              out.print(recommendID.getCmdtyCode());
              out.write("_");
              out.print(recommendID.getIndividualCode());
              out.write("_t.jpg\" height=\"75\" width=\"100\">");
              out.write("</a>\r\n");
              out.write("<p class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+recommendID.getCmdtyCode()+"/"+ recommendID.getIndividualCode());
              out.write("\">");
              out.print(recommendID.getCmdtyName());
              out.write("</a>");
              out.write("</p>\r\n");
              out.write("<div class=\"btmbox\">\r\n");
if(recommendID.isContractFlg()){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：契約後表示");
              out.write("</strong>");
              out.write("</p>\r\n");
}else if(recommendID.getBGPriceDispFlg().equals("2")){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：お問い合わせ下さい");
              out.write("</strong>");
              out.write("</p>\r\n");
}else if(recommendID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：ログイン表示");
              out.write("</strong>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
if (!recommendID.isCmdtyComposition()){
              out.write("\r\n");
if(recommendID.getFinalUnitPriceWithoutTax().equals(recommendID.getUnitPriceWithoutTax())){
              out.write("\r\n");
              out.write("<p class=\"price\">￥");
              out.print(SIUtil.NumberFormat(recommendID.getFinalUnitPriceWithoutTax()));
              out.write("<span>(税別)");
              out.write("</span>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(recommendID.getUnitPriceWithoutTax()));
              out.write("(税別)");
              out.write("</strike>");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(recommendID.getFinalUnitPriceWithoutTax()));
              out.write("<span>(税別)");
              out.write("</span>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
}else{
              out.write("\r\n");
 String setUnitPrice = recommendID.getSetUnitPriceWithoutTax(connection); 
              out.write("\r\n");
 String setDiscountUnitPrice = recommendID.getSetDiscountUnitPriceWithoutTax(connection); 
              out.write("\r\n");
if(setUnitPrice.equals(setDiscountUnitPrice)){
              out.write("\r\n");
              out.write("<p class=\"price\">￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("<span>(税別)");
              out.write("</span>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("(税別)");
              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");
if(recommendID.isHairCosmeFlg()){
              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_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(recommendID.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=/cart_param");
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_contract_login_ss.gif\" alt=\"契約顧客様限定　ログインはこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(recommendID.isContractFlg()&&recommendID.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="+recommendID.getMakerCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_contract_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(recommendID.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_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"cart\">");
              out.write("<a href=\"javascript:addCart('");
              out.print(recommendID.getCmdtyCode());
              out.write("','");
              out.print(recommendID.getIndividualCode());
              out.write("')\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_cart_ss.gif\" alt=\"カートに入れる\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("</div>\r\n");
              out.write("</div>\r\n");
              out.write("</div>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_4.doAfterBody();
              recommendID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("recommendID");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_siiterator_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_4);
          out.write("\r\n");
          out.write("</div>");
          out.write("<!-- .carousel-inner.end -->");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("</div>");
          out.write("<!-- .carouselMove.end -->");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("</div>");
          out.write("<!-- #carousel_1.end -->\r\n    \r\n");
          out.write("<div id=\"carousel_1_nextWrap\">");
          out.write("<input id=\"carousel_1_next\" value=\"\" type=\"button\">");
          out.write("</div>\r\n    \r\n");
          out.write("<ul class=\"thumb clearfix\">");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n    \r\n");
          out.write("</ul>\r\n");
          out.write("</div>");
          out.write("<!-- .carousel.end -->\r\n\r\n");
          out.write("</div>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_3);
      out.write("\r\n\r\n\r\n");
Collection commodityHistoryColl=jp.co.sint.servlet.front.SICommoditySrv.readCmdtyHistory(request,connection,50,true);
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_4 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_4.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_4.setParent(null);
      _jspx_th_webshop_isFalse_4.setValue(commodityHistoryColl.size()==0);
      int _jspx_eval_webshop_isFalse_4 = _jspx_th_webshop_isFalse_4.doStartTag();
      if (_jspx_eval_webshop_isFalse_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<div style=\"width:824px; margin:40px auto;\">\r\n\r\n\r\n");
          out.write("<h2 style=\"margin:0;\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/cart/h_rm_his.gif\" alt=\"最近チェックした商品\" />");
          out.write("</h2>\r\n");
          out.write("<div class=\"carousel\">\r\n    \r\n");
          out.write("<div id=\"carousel_2_prevWrap\">");
          out.write("<input id=\"carousel_2_prev\" value=\"\" type=\"button\">");
          out.write("</div>\r\n\r\n");
          out.write("<div id=\"carousel_2\" class=\"carousel_inner clearfix\">\r\n");
          out.write("<div class=\"carouselMove2 clearfix\">");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("<div class=\"carousel-inner2 clearfix\">");
          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(_jspx_th_webshop_isFalse_4);
          _jspx_th_webshop_siiterator_5.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_5.setCollection(commodityHistoryColl);
          _jspx_th_webshop_siiterator_5.setId("historyID");
          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.SICmdty historyID = null;
            historyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("historyID");
            do {
              out.write("\r\n");
              out.write("<div class=\"carousel_box\">\r\n");
              out.write("<div class=\"carousel_inbox\">");
              out.write("<a href=\"");
              out.print(webshopSite);
              out.write("/search_cmdty/");
              out.print(historyID.getCmdtyCode());
              out.write("/");
              out.print(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\" height=\"75\" width=\"100\">");
              out.write("</a>\r\n");
              out.write("<p class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+ historyID.getIndividualCode());
              out.write("\">");
              out.print(historyID.getCmdtyName());
              out.write("</a>");
              out.write("</p>\r\n");
              out.write("<div class=\"btmbox\">\r\n");
if(historyID.isContractFlg()){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：契約後表示");
              out.write("</strong>");
              out.write("</p>\r\n");
}else if(historyID.getBGPriceDispFlg().equals("2")){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：お問い合わせ下さい");
              out.write("</strong>");
              out.write("</p>\r\n");
}else if(historyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("<p class=\"price\">");
              out.write("<strong>BG卸価：ログイン表示");
              out.write("</strong>");
              out.write("</p>\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("<p class=\"price\">￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("<span>(税別)");
              out.write("</span>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(historyID.getUnitPriceWithoutTax()));
              out.write("(税別)");
              out.write("</strike>");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("<span>(税別)");
              out.write("</span>");
              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("<p class=\"price\">￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("<span>(税別)");
              out.write("</span>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("(税別)");
              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");
if(historyID.isHairCosmeFlg()){
              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_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(historyID.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=/cart_param");
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_contract_login_ss.gif\" alt=\"契約顧客様限定　ログインはこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(historyID.isContractFlg()&&historyID.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="+historyID.getMakerCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_contract_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else if(historyID.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_ss.gif\" alt=\"契約顧客様限定　お取引申込はこちら\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}else{
              out.write("\r\n");
              out.write("<p class=\"cart\">");
              out.write("<a href=\"javascript:addCart('");
              out.print(historyID.getCmdtyCode());
              out.write("','");
              out.print(historyID.getIndividualCode());
              out.write("')\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/img/btn_cart_ss.gif\" alt=\"カートに入れる\" width=\"102\" height=\"37\" />");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("</div>\r\n");
              out.write("</div>\r\n");
              out.write("</div>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_5.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_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("</div>");
          out.write("<!-- .carousel-inner.end -->");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("</div>");
          out.write("<!-- .carouselMove.end -->");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n");
          out.write("</div>");
          out.write("<!-- #carousel_1.end -->\r\n    \r\n");
          out.write("<div id=\"carousel_2_nextWrap\">");
          out.write("<input id=\"carousel_2_next\" value=\"\" type=\"button\">");
          out.write("</div>\r\n    \r\n");
          out.write("<ul class=\"thumb2 clearfix\">");
          out.write("<!-- ←追加記述/////////////////////////////////////////////////////////////// -->\r\n    \r\n");
          out.write("</ul>\r\n");
          out.write("</div>");
          out.write("<!-- .carousel.end -->\r\n\r\n\r\n");
          out.write("</div>\r\n\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_4);
      out.write("\r\n");
      out.write("<input name=\"cartShopCodeTxt\" type=\"hidden\" value=\"0\"/>\r\n");
      out.write("<input name=\"cartCmdtyCodeTxt\" type=\"hidden\" value=\"\"/>\r\n");
      out.write("<input name=\"cartIndividualCodeTxt\" type=\"hidden\" value=\"\"/>\r\n");
      out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.SIACTION_ADD);
      out.write("\"/>\r\n");
      out.write("</form>\r\n");
      out.write("<!--recommend_end-->\r\n");
      out.write("</div>\r\n");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bg_section_ft.gif\" alt=\"\" width=\"950\" height=\"20\" />");
      out.write("</p>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /contents -->\r\n\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\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /contentsArea -->\r\n\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_6 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_6.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_6.setParent(null);
      _jspx_th_webshop_siiterator_6.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_6.setCollection(UICtgryGroup.getCtgryListColl(connection,false));
      _jspx_th_webshop_siiterator_6.setId("headID");
      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.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_6.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_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("</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\r\n");
      out.write("</div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n\r\n\r\n");

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

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

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

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

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