package org.apache.jsp;

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

public class bed_top_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(19);
    _jspx_includes.add("/sp/include/header_inc.jsp");
    _jspx_includes.add("/sp/include/global_inc.jsp");
    _jspx_includes.add("/sp/include/ctgry_tree_inc.jsp");
    _jspx_includes.add("/sp/include/user_menu_inc.jsp");
    _jspx_includes.add("/sp/include/bed_banner_inc.jsp");
    _jspx_includes.add("/sp/include/search_ctgry_inc.jsp");
    _jspx_includes.add("/sp/include/recent_item_inc.jsp");
    _jspx_includes.add("/sp/include/pick_up_item_inc.jsp");
    _jspx_includes.add("/sp/include/news_inc.jsp");
    _jspx_includes.add("/sp/include/search_commodity_inc.jsp");
    _jspx_includes.add("/sp/include/paging.jsp");
    _jspx_includes.add("/sp/include/category_item_list.jsp");
    _jspx_includes.add("/sp/include/paging.jsp");
    _jspx_includes.add("/sp/include/recent_item_inc.jsp");
    _jspx_includes.add("/sp/include/footer_inc.jsp");
    _jspx_includes.add("/sp/include/modal_menu_inc.jsp");
    _jspx_includes.add("/sp/include/modal_search_inc.jsp");
    _jspx_includes.add("/sp/include/modal_brand_top_inc.jsp");
    _jspx_includes.add("/sp/include/add_search_contents.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_session_type_name_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_size_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_sipage_type_size_pageNum_onclick_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_header;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_recordCount_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_space_name_defaultAlways_default_collection_attributesText_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_body;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_footer;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody;

  public bed_top_jsp() {
    _jspx_tagPool_webshop_session_type_name_id = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_sipage_type_size_pageNum_onclick_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_header = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_recordCount_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_space_name_defaultAlways_default_collection_attributesText_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_body = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_footer = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_webshop_session_type_name_id.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection.release();
    _jspx_tagPool_webshop_sipage_type_size_pageNum_onclick_id_collection.release();
    _jspx_tagPool_webshop_header.release();
    _jspx_tagPool_webshop_recordCount_nobody.release();
    _jspx_tagPool_webshop_siselect_space_name_defaultAlways_default_collection_attributesText_nobody.release();
    _jspx_tagPool_webshop_body.release();
    _jspx_tagPool_webshop_footer.release();
    _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.release();
  }

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

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


    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 : bed_top.jsp,v 1.0 2009/04/09 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : ベッド館のトップ画面
 * @History
 * Author        Date        Reason
 * ============  ==========  ===========================
 * Naotaka       2009-04-09  OriginalmainSrvSite
 */
 
      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
SIUserInfo userLogin = SIHTMLUtil.getUserInfo(request);
      out.write("\r\n");
      out.write("\r\n\r\n");


//ログ用のインスタンスの生成(common)
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);

//本画面に関わるbeansのデータ
UIMain mainID=(UIMain)session.getAttribute(SIConfig.SISESSION_MAIN_LIST_NAME);
if (mainID==null)mainID=new UIMain();
//アクセスログ
SICustAccessLog accessLog = (SICustAccessLog)session.getAttribute(SIConfig.SISESSION_FRONT_ACCESSLOG_LIST_NAME);
if (accessLog==null){
  accessLog=new SICustAccessLog();
  accessLog.recordLog();
  session.setAttribute(SIConfig.SISESSION_FRONT_ACCESSLOG_LIST_NAME,accessLog);
}
//各フロント画面に共通(common)
SISrchKey srchKeyList=mainID.getSrchKey();
String currCtgryCode=mainID.getCtgryCodeTxt();
//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
//各サイトの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String loginSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.user.login");
String mainSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.bed");
String mainSrvSiteOrg=SIURLMap.getUrl(request,"webshop.servlet.front.main");
String cmdtySrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.commodity.bed");
String loginSite="/bed";
String loginAdd="";
String ctgryTitleName = mainID.getCtgryTitle(connection,loginSite);
String ctgryTitleCode = mainID.getCtgryTitleCode(connection,loginSite);
String currCtgryName = mainID.getCtgryNameTxt(connection);
String ctgryTitleCodeURL = webshopSite+loginSite+"/ctgry/"+ctgryTitleCode;
StringBuffer loginAddData = new StringBuffer();
if(SIUtil.isNotNull(mainID.getDispModeTxt())){
  loginAddData.append("/actionNameTxt/").append(SIConfig.SIACTION_LIST);
  loginAddData.append("/dispModeTxt/").append(mainID.getDispModeTxt());
  loginAddData.append("/usedNewFlgTxt/").append(mainID.getUsedNewFlgTxt());
  if(SIUtil.isNotNull(srchKeyList.getSrchWordTxt())) loginAddData.append("/srchWordTxt/").append(SIHTMLUtil.URLEncode(srchKeyList.getSrchWordTxt()));
  if(SIUtil.isNotNull(mainID.getMaker())) loginAddData.append("/maker/").append(mainID.getMaker());
  if(SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) loginAddData.append("/ctc/").append(currCtgryCode);
  loginAddData.append("/pageNumberTxt/").append(mainID.getPageNumberTxt());
  loginAddData.append("/cmdtySortSel/").append(mainID.getCmdtySortSel());
  loginAddData.append("/pageSizeSel/").append(mainID.getPageSizeSel());
}
loginAdd=loginAddData.toString();
//カテゴリの条件SQL文の設定
mainID.setCtgryConditionSQL("c2",mainID.getCtgryCodeTxt(),loginSite);
int spaceNum=18;

String pageTitle = "";
String pageDescription = "";
String pageKeyword = "";

if (SIUtil.isNull(mainID.getDispModeTxt())) currCtgryCode = SIConfig.SICATEGORY_ROOT_CODE;
pageTitle = SIDBUtil.getFirstData(connection,"SELECT title FROM ctgrykeywordtbl WHERE ctgrygroup='bed' AND ctgrycode="+SIDBUtil.SQL2Str(currCtgryCode));
pageDescription = SIDBUtil.getFirstData(connection,"SELECT description FROM ctgrykeywordtbl WHERE ctgrygroup='bed' AND ctgrycode="+SIDBUtil.SQL2Str(currCtgryCode));
pageKeyword = SIDBUtil.getFirstData(connection,"SELECT keyword FROM ctgrykeywordtbl WHERE ctgrygroup='bed' AND ctgrycode="+SIDBUtil.SQL2Str(currCtgryCode));

if (SIUtil.isNotNull(mainID.getUsedNewFlgTxt())&&"used".equals(mainID.getUsedNewFlgTxt())){
  pageTitle = "中古" + pageTitle;
  pageDescription = "中古" + pageDescription;
  pageKeyword = "中古,激安,格安," + pageKeyword;
}
if (SIUtil.isNotNull(mainID.getUsedNewFlgTxt())&&"outlet".equals(mainID.getUsedNewFlgTxt())){
  pageTitle = "アウトレット" + pageTitle;
  pageDescription = "アウトレット" + pageDescription;
  pageKeyword = "アウトレット,激安,格安," + pageKeyword;
}

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html LANG=\"ja-JP\" xmlns:og=\"http://ogp.me/ns#\" xmlns:fb=\"http://www.facebook.com/2008/fbml\">\r\n");
      out.write("<head>\r\n  ");
      out.write("<meta property=\"og:url\" content=\"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/bed\">\r\n  ");
      out.write("<meta property=\"og:type\" content=\"website\">\r\n  ");
      out.write("<meta property=\"og:title\" content=\"BEAUTY GARAGE\" />\r\n  ");
      out.write("<meta property=\"og:description\" content=\"日本最大級のプロ専用理美容器具・エステ機器・美容用品の卸・通販サイト BEAUTY GARAGE（ビューティガレージ）なら、器具や機材から消耗品・化粧品まで、理美容・エステに必要なモノはなんでも揃います！\" />\r\n  ");
      out.write("<meta property=\"fb:admins\" content=\"100002857610777\" />\r\n  ");
      out.write("<meta property=\"fb:page_id\" content=\"113055595462781\" />\r\n  ");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n  ");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n  ");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\">\r\n  ");
      out.write("<meta name=\"description\" content=\"");
      out.print(pageDescription);
      out.write("\">\r\n  ");
      out.write("<meta name=\"keywords\" content=\"");
      out.print(pageKeyword);
      out.write("\">\r\n  ");
      out.write("<title>");
      out.print(pageTitle);
      out.write("</title>\r\n  ");
      out.write("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\"/>\r\n  ");
      out.write("<meta name=\"description\" content=\"\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/base.css\" media=\"all\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/common.css\" media=\"all\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/top.css\" media=\"all\" />\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
      out.print(webshopSite);
      out.write("/sp/css/style.css\" media=\"all\" />\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/jquery-1.9.1.min.js\">");
      out.write("</script>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/common.js\">");
      out.write("</script>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/js/idangerous.swiper.min.js\">");
      out.write("</script>\r\n  ");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/sp/script/switch.js\">");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body class=\"category_bed\">\r\n  ");
      out.write("<a id=\"pageTop\">");
      out.write("</a>\r\n  ");
      out.write("<!--▽ページ上部共通：ここから▽-->\r\n  ");
      out.write("<!--▼ヘッダ：ここから▼-->\r\n  ");

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

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

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

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

      out.write("\r\n\r\n");
      out.write("<iframe src=\"app://setBadgeNumber?mycatalog_count=");
      out.print(mycatalogCnt);
      out.write("&history_count=");
      out.print(historyCnt);
      out.write("&favorite_count=");
      out.print(favoriteCnt);
      out.write("&cart_count=");
      out.print(cartCnt);
      out.write("\" width=\"1\" height=\"1\" style=\"position:absolute; z-index:-1; top:-9999px;\">");
      out.write("</iframe>\r\n\r\n");
      out.write("<style type=\"text/css\">nav#global{position:absolute; z-index:-1; width:1px; height:1px; top:-9999px; left:-9999px;}");
      out.write("</style>\r\n\r\n");
} //£AvÅÌÝ\¦F±±ÜÅ£ 
      out.write("\r\n");
      out.write("\r\n  ");
      out.write("<!--▲グローバル：ここまで▲-->\r\n  ");
      out.write("<!--△ページ上部共通：ここまで△-->\r\n  ");
      out.write("<!--▽メイン：ここから▽-->\r\n  ");
      out.write("<div id=\"container\">\r\n  ");
      out.write("<!--▼パンくず：ここから▼-->\r\n  ");
      out.write("<nav id=\"yrHere\" class=\"swiper-container\">\r\n    ");
      out.write("<div class=\"swiper-wrapper\">\r\n      ");
      out.write("<ul class=\"horizontal clr swiper-slide\">\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(mainSrvSiteOrg);
      out.write("\">HOME");
      out.write("</a>");
      out.write("</li>\r\n        ");
if(SIUtil.isNotNull(mainID.getDispModeTxt())&&ctgryTitleCode.equals(currCtgryCode)){
      out.write("\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a property=\"v:title\">");
      out.print(SIHTMLUtil.HTMLEncode(ctgryTitleName));
      out.write("</a>");
      out.write("</li>\r\n        ");
}else if(SIUtil.isNotNull(mainID.getDispModeTxt())){
      out.write("\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(ctgryTitleCodeURL);
      out.write("\" rel=\"v:url\" property=\"v:title\">");
      out.print(SIHTMLUtil.HTMLEncode(ctgryTitleName));
      out.write("</a>");
      out.write("</li>\r\n        ");
      out.write("<li>");
      out.write("<a property=\"v:title\">");
      out.print(SIHTMLUtil.HTMLEncode(currCtgryName));
      out.write("</a>");
      out.write("</li>\r\n        ");
}else{
      out.write("\r\n        ");
      out.write("<li>");
      out.write("<a property=\"v:title\">");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</a>");
      out.write("</li>\r\n        ");
}
      out.write("\r\n      ");
      out.write("</ul>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</nav>\r\n  ");
      out.write("<!--▲パンくず：ここまで▲-->\r\n  ");
      out.write("<div id=\"categoryHead\" class=\"clr\">\r\n    ");
if (SIUtil.isNotNull(currCtgryName)&&!"全商品".equals(currCtgryName)){
      out.write("\r\n      ");
      out.write("<h1>");
      out.print(currCtgryName);
      out.write("</h1>\r\n    ");
}else{
      out.write("\r\n      ");
      out.write("<h1>");
      out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
      out.write("</h1>\r\n    ");
}
      out.write("\r\n    ");
      out.write("<div id=\"categodySelectWrap\">\r\n    ");
Collection ctgryColl = SIDBUtil.getCollection(connection,"SELECT c.ctgryname,c.ctgrycode FROM ctgrymtbl c,ctgrygrouptbl g WHERE c.ctgrycode=g.ctgrycode AND g.ctgrygroup="+SIDBUtil.SQL2Str(loginSite.substring(1))+" ORDER BY g.disporder");
      out.write("\r\n");
      out.write("<form id=\"categodySelect\">\r\n");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(SIUtil.isNull(currCtgryCode)||"/".equals(currCtgryCode));
      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("<select name=\"categorySelect\" onchange=\"chgCategory();\">\r\n  ");
          out.write("<option value=\"\">カテゴリ変更");
          out.write("</option>\r\n  ");
 if (!loginSite.equals("/hair")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/hair\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIR]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/haircosme")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/haircosme\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIRCOSME]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/esthe")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/esthe\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_ESTHE]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/bed")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/bed\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/cosme")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/cosme\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_COSME]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/nail")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/nail\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_NAIL]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/eyelash")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/eyelash\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_EYELASH]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n  ");
 if (!loginSite.equals("/book")) { 
          out.write("\r\n  ");
          out.write("<option value=\"");
          out.print(webshopSite);
          out.write("/book\">");
          out.print(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]);
          out.write("</option>\r\n  ");
} 
          out.write("\r\n");
          out.write("</select>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(SIUtil.isNull(currCtgryCode)||"/".equals(currCtgryCode));
      int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
      if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<select name=\"categorySelect\" onchange=\"chgCategory();\">\r\n  ");
          out.write("<option value=\"\">カテゴリ変更");
          out.write("</option>\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_0);
          _jspx_th_webshop_siiterator_0.setType("SINameValue");
          _jspx_th_webshop_siiterator_0.setCollection(ctgryColl);
          _jspx_th_webshop_siiterator_0.setId("treeID");
          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) {
            SINameValue treeID = null;
            treeID = (SINameValue) pageContext.findAttribute("treeID");
            do {
              out.write("\r\n  ");
              out.write("<option value=\"");
              out.print(webshopSite+loginSite+"/ctgry/"+treeID.getValue());
              out.write("\">");
              out.print(treeID.getName());
              out.write("</option>\r\n  ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
              treeID = (SINameValue) pageContext.findAttribute("treeID");
              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("</select>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\n\r\nfunction chgCategory() {\r\n  var url = $(\"select[name='categorySelect']\").val();\r\n  if (url == \"\") {\r\n    return;\r\n  }\r\n  location.href=url;\r\n}\r\n\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("</form>");
      out.write("\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n");
if(SIUtil.isNull(mainID.getDispModeTxt())){
      out.write("\r\n  ");
      out.write("<!--▼ユーザーメニュー：ここから▼-->\r\n  ");
      out.write("<!--▼ユーザーメニュー：ここから▼-->\r\n");
      out.write("<ul id=\"userMenuList\">\r\n  ");
      out.write("<li id=\"userMenuList_01\">");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.mypage"));
      out.write("\">マイページ");
      out.write("<br>ログイン");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("<li id=\"userMenuList_02\">");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/catalog",false));
      out.write("\">カタログ･商品コード");
      out.write("<br>からのご注文");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("<li id=\"userMenuList_03\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/guide/first.html\">はじめてのお客様へ");
      out.write("<br>新規会員登録");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("<!--▲ユーザーメニュー：ここまで▲-->\r\n");
      out.write("\r\n  ");
      out.write("<!--▲ユーザーメニュー：ここまで▲-->\r\n  ");
      out.write("<!--▼共通パーツ/スライダー：ここから▼-->\r\n  ");
      out.write("<div id=\"bannerSlider\">\r\n  ");
      out.write("<div class=\"swiper-container\">\r\n    ");
      out.write("<ul class=\"swiper-wrapper horizontal clr\">\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/smacolle_eb03/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_smacolle_eb03_pc_photo.jpg\" width=\"320\" alt=\"SMART COLLECTION 軽量木製折りたたみベッド EB-03\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/smacolle_pbed/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_smacolle_pbed_pc_photo.jpg\" width=\"320\" alt=\"SMART COLLECTION 高級DXポータブルベッドシリーズ\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/bed?advancedsearch?ctc=%2F&maker=&srchWordTxt=%92%B4%8Cy%97%CA%90%DC%82%E8%82%BD%82%BD%82%DD%83%8A%83N%83%89%83C%83j%83%93%83O%83x%83b%83hPRO-LIGHT&cmdtyFlagTxt=sr&dispModeTxt=1&actionNameTxt=list&pass=advancedsearch&searchbox=0\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_bed_prolight_pc_photo.jpg\" width=\"320\" alt=\"超軽量折りたたみリクライニングベッド\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/shiffon/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/el_shiffon2_pc_photo.jpg\" width=\"320\" alt=\"電動ラウンジチェア「シフォン」＆「シフォンJr」\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/loungechair/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_loungechair_pc_photo.jpg\" width=\"320\" alt=\"ラウンジチェアシリーズ\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/bed?cmdtySortSel=2&dispModeTxt=1&pageSizeSel=40&actionNameTxt=list&codes=DX-0107P,DX-0041P,DX-1554P\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_facialchair_pc_photo.jpg\" width=\"320\" alt=\"大人気フェイシャルチェア\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/club-s/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_club_s_pc_photo.jpg\" width=\"320\" alt=\"【プレミアム】オールマイティチェアCLUB-S\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/bedtable/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_bedtable_pc_photo.jpg\" width=\"320\" alt=\"ベッド比較表\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<!--\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/claire/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_claire_pc_photo.jpg\" width=\"320\" alt=\"高通気性低反発ベッド「クレア」\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/bed?advancedsearch?actionNameTxt=list&usedNewFlgTxt=all&cmdtySortSel=2&dispModeTxt=1&pageSizeSel=20&codes=DM-9263P,DM-9052P\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_faggio_pc_photo.jpg\" width=\"320\" alt=\"高級木製マッサージベッドFAGGIO\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/fioretto/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_fioretto_pc_photo.jpg\" width=\"320\" alt=\"FIORETTO\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/proteismo/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_proteismo_pc_photo.jpg\" width=\"320\" alt=\"PROTEISMO（プロティズモ）\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/luxurybed/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_lagbed_pc_photo.jpg\" width=\"320\" alt=\"ラグジュアリーベッド特集\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/soundtherapy/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/e_soundtherapy2_pc_photo.jpg\" width=\"320\" alt=\"サウンドセラピーセレクション\"/>");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/pickup/shiffon/index.html\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/el_shiffon2_pc_photo.jpg\" width=\"320\" alt=\"電動ラウンジチェア SHIFFON\" />");
      out.write("</a>");
      out.write("</li>\r\n      ");
      out.write("<li class=\"swiper-slide\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/bed?actionNameTxt=list&srchWordTxt=%97L%8DE%83%7D%83b%83T%81%5B%83W%83x%83b%83h+DX&ctc=%2F&maker=1163&priceFrom=&priceTo=&usedNewFlgTxt=new&cmdtySortSel=2&dispModeTxt=1&pageSizeSel=20&active=&searchbox=0\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/top_js/b_bed_ws_pc_photo.jpg\" width=\"320\" alt=\"有孔マッサージベッド\" />");
      out.write("</a>");
      out.write("</li>\r\n      -->\r\n    ");
      out.write("</ul>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<div class=\"pagination\">");
      out.write("</div>\r\n  ");
      out.write("<p class=\"btn arrow\">");
      out.write("<a href=\"");
      out.print("http://"+request.getServerName()+webshopSite);
      out.write("/listpickup/listpickup_bed.html\">エステベッド/マッサージベッドの");
      out.write("<br>キャンペーン・特集を見る");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n  ");
      out.write("<!--▲共通パーツ/スライダー：ここまで▲-->\r\n\r\n  ");
      out.write("<!--▼共通パーツ/商品を探す：ここから▼-->\r\n  ");

String groupCode = loginSite.substring(1);
String titleStr = "";
String extension = "jpg";
String rankingInx = "1";
String className = "";
if (loginSite.equals("/hair")) {
  titleStr = "理美容器具/理美容用品";
  rankingInx = "1";
	className = "hair";
} else if (loginSite.equals("/haircosme")) {
  titleStr = "ヘアケア製品/頭髪用化粧品";
  rankingInx = "4";
	className = "haircosme";
} else if (loginSite.equals("/esthe")) {
  titleStr = "エステ機器/エステ用品";
  rankingInx = "11";
	className = "esthe";
} else if (loginSite.equals("/bed")) {
  titleStr = "エステベッド/マッサージベッド";
  rankingInx = "15";
	className = "bed";
} else if (loginSite.equals("/cosme")) {
  titleStr = "エステ化粧品";
  rankingInx = "19";
	className = "cosme";
} else if (loginSite.equals("/nail")) {
  titleStr = "ネイル商材";
  rankingInx = "27";
	className = "nail";
} else if (loginSite.equals("/eyelash")) {
  titleStr = "まつげエクステ商材";
  rankingInx = "29";
	className = "eyelash";
} else if (loginSite.equals("/book")) {
  titleStr = "本・DVD・CD";
  rankingInx = "33";
  extension = "gif";
	className = "book";
}

      out.write("\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    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("<div id=\"mainSearchArea\">\r\n  ");
      out.write("<h2>");
      out.print( titleStr );
      out.write("を探す　");
      out.write("<span class=\"count\">全 ");
      out.write("<span class=\"num\">");
      out.print( UICtgryGroup.getCtgryTopCnt(connection, groupCode));
      out.write("</span> 件");
      out.write("</span>");
      out.write("</h2>\r\n  ");
      out.write("<div id=\"searchBox\">\r\n    ");
      out.write("<form name=\"headerSearch\" action=\"");
      out.print(webshopSite+loginSite);
      out.write("\" method=\"get\">\r\n      ");
      out.write("<input type=\"text\" name=\"srchWordTxt\" id=\"textSearchBox\" onKeyPress=\"enterSearchHead(event);\" placeholder=\"キーワードを入力\" >\r\n      ");
      out.write("<input type=\"submit\" id=\"headerSearchBtn\" value=\"検索\" onClick=\"headsearch();\">\r\n      ");
      out.write("<input name=\"cmdtyFlagTxt\" type=\"hidden\" value=\"sr\">\r\n      ");
      out.write("<input name=\"dispModeTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.DEFAULT_DISPMODE);
      out.write("\">\r\n      ");
      out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
      out.print(SIConfig.SIACTION_LIST);
      out.write("\">\r\n      ");
      out.write("<input name=\"cmdtySortSel\" type=\"hidden\" value=\"2\">\r\n      ");
      out.write("<input name=\"pass\" type=\"hidden\" value=\"");
      out.print(loginSite);
      out.write("\">\r\n      ");
      out.write("<input name=\"active\" type=\"hidden\" value=\"");
      out.print(groupCode);
      out.write("\">\r\n      ");
      out.write("<input name=\"search_cat\" type=\"hidden\" id=\"search_cat\" value=\"beautygarage\">\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: \"headerSearchBtn\",\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: \"off\",\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#searchBox .np-keyword-suggest{\r\n\twidth:95%;\r\n\tborder:1px solid #CCC;\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}\r\n#searchBox .np-keyword-suggest div {width:100%;}\r\n#searchBox .np-keyword-suggest .group {border-top:1px dotted #999; padding:3px 0;}\r\n#searchBox .np-keyword-suggest .group:first-child {border-top:none;}\r\n#searchBox .np-keyword-suggest .title,\r\n#searchBox .np-keyword-suggest .narrow1,\r\n#searchBox .np-keyword-suggest .narrow9{color: #000;}\r\n#searchBox .np-keyword-suggest .title:before,\r\n#searchBox .np-keyword-suggest .narrow1:before,\r\n#searchBox .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#searchBox .np-keyword-suggest .item {\r\n\tpadding:2px 0 2px 5px;\r\n\tcursor:pointer;\r\n\twhite-space: nowrap;\r\n  overflow: hidden;\r\n  text-overflow: ellipsis;\r\n}\r\n#searchBox .np-keyword-suggest .title:before{\r\n");
      out.write("  content:\"商品名\";\r\n  background:#3864AA;\r\n  padding:1px 9px;\r\n}\r\n#searchBox .np-keyword-suggest .narrow1:before{\r\n  content:\"ブランド\";\r\n  background:#FC4957;\r\n}\r\n#searchBox .np-keyword-suggest .narrow9:before{\r\n  content:\"カテゴリ\";\r\n  background:#666;\r\n}\r\n#searchBox .np-keyword-suggest .item.selected{background-color:#EEE;}\r\n\r\n");
      out.write("</style>\r\n    ");
      out.write("</form>\r\n  ");
      out.write("</div>\r\n  \r\n  ");
      out.write("<script type=\"text/javascript\">\r\n\t\t$(function(){\r\n\t\t\taccordionCache($('.");
      out.print( className );
      out.write("_accordion'),'");
      out.print( className );
      out.write("List');\r\n\t\t});\r\n  ");
      out.write("</script>\r\n  \r\n  ");
      out.write("<ul id=\"categoryList\" class=\"linkList withIcon ");
      out.print( className );
      out.write("_accordion\">\r\n    ");
 String lastGroup = ""; 
       int cnt = 0;
       String index = "00";
       String lastSign = "";
    
      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(null);
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_1.setCollection(UICtgryGroup.getSpCtgryListCollForSearchCtgryInc(connection));
      _jspx_th_webshop_siiterator_1.setId("headID");
      int _jspx_eval_webshop_siiterator_1 = _jspx_th_webshop_siiterator_1.doStartTag();
      if (_jspx_eval_webshop_siiterator_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n      ");
 if (groupCode.equals(headID.getValue().split(",")[1])) { 
          out.write("\r\n        ");
 if ("/2".equals(headID.getValue().split(",")[0]) || "/9".equals(headID.getValue().split(",")[0])) { 
             cnt++;
             index = String.valueOf(cnt);
             if (cnt < 10) {
                   index = "0" + index;
             }
           }
        
          out.write("\r\n        ");
 if ("/2".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n          ");
 if ("/3".equals(lastSign)) { 
          out.write("</ul>");
          out.write("</li>");
 } 
          out.write("\r\n          ");
          out.write("<li class=\"opener\">\r\n          ");
          out.write("<a class=\"accordtrigger\" href=\"");
          out.print(webshopSite);
          out.print(loginSite);
          out.write("/ctgry/");
          out.print(headID.getValue().split(",")[2]);
          out.write("\">\r\n            ");
          out.write("<span class=\"icon\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/");
          out.print( groupCode );
          out.write("/img_category");
          out.print( index );
          out.write(".");
          out.print( extension );
          out.write("\" width=\"35\" height=\"35\" alt=\"\"/>");
          out.write("</span>\r\n            ");
          out.write("<span class=\"name\">");
          out.print(headID.getName());
          out.write("（");
          out.print( headID.getAmount() );
          out.write("）");
          out.write("</span>\r\n          ");
          out.write("</a>\r\n          ");
          out.write("<ul>\r\n        ");
 } else if ("/3".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n          ");
          out.write("<li class=\"child\">");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.print(loginSite);
          out.write("/ctgry/");
          out.print(headID.getValue().split(",")[2]);
          out.write("\">");
          out.print(headID.getName());
          out.write("（");
          out.print( headID.getAmount() );
          out.write("）");
          out.write("</a>");
          out.write("</li>\r\n        ");
 } else if ("/9".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n          ");
 if ("/3".equals(lastSign)) { 
          out.write("</ul>");
          out.write("</li>");
 } 
          out.write("\r\n          ");
          out.write("<li>");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.print(loginSite);
          out.write("/ctgry/");
          out.print(headID.getValue().split(",")[2]);
          out.write("\">\r\n            ");
          out.write("<span class=\"icon\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/");
          out.print( groupCode );
          out.write("/img_category");
          out.print( index );
          out.write(".");
          out.print( extension );
          out.write("\" width=\"35\" height=\"35\" alt=\"\"/>");
          out.write("</span>\r\n            ");
          out.write("<span class=\"name\">");
          out.print(headID.getName());
          out.write("（");
          out.print( headID.getAmount() );
          out.write("）");
          out.write("</span>\r\n          ");
          out.write("</a>");
          out.write("</li>\r\n        ");
 } 
          out.write("\r\n      ");
 } 
          out.write("\r\n    ");
 lastSign=headID.getValue().split(",")[0]; 
          out.write("\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_1);
      out.write("\r\n    ");
 if ("/3".equals(lastSign)) { 
      out.write("</ul>");
      out.write("</li>");
 } 
      out.write("\r\n  ");
      out.write("</ul>\r\n  ");
      out.write("<ul id=\"plusSearch\" class=\"linkList\">\r\n    ");
      out.write("<li>");
      out.write("<a href=\"#brandContents\">メーカー/ブランドで探す");
      out.write("</a>");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIHTMLUtil.consURL(request,webshopSite+"/main?actionNameTxt=ranking&inx="+rankingInx,false));
      out.write("\">ランキングから探す");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>");
      out.write("\r\n  ");
      out.write("<!--▲共通パーツ/商品を探す：ここまで▲-->\r\n  ");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n  ");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n\r\n");
      out.write("<h2 class=\"recentitem-ttl\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage/a/list2\"  class=\"linkArrow\">最近チェックした商品");
      out.write("</a>");
      out.write("</h2>\r\n");
      out.write("<div id=\"recentItem\" class=\"colorBox2\">\r\n  ");
Collection commodityHistoryColl=jp.co.sint.servlet.front.SICommoditySrv.readCmdtyHistory(request,connection);
      out.write("\r\n  ");
      out.write("<ul class=\"itemList col-4 clr\">\r\n  ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_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(commodityHistoryColl.size()==0);
      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_2 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_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_isFalse_1);
          _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_2.setCollection(commodityHistoryColl);
          _jspx_th_webshop_siiterator_2.setId("historyID");
          _jspx_th_webshop_siiterator_2.setSize(4);
          int _jspx_eval_webshop_siiterator_2 = _jspx_th_webshop_siiterator_2.doStartTag();
          if (_jspx_eval_webshop_siiterator_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SICmdty historyID = null;
            historyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("historyID");
            do {
              out.write("\r\n      ");
              out.write("<!--▼個別アイテム：ここから▼-->\r\n      ");
              out.write("<li class=\"itemList-item grid4\">\r\n        ");
              out.write("\r\n        ");
              out.write("<span class=\"thumb\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(historyID.getCmdtyCode());
              out.write("/");
              out.print(historyID.getCmdtyCode());
              out.write("_");
              out.print(historyID.getIndividualCode());
              out.write("_t.jpg\" width=\"68\" height=\"68\">");
              out.write("</a>");
              out.write("</span>\r\n        ");
              out.write("<span class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(historyID.getCmdtyName()),14,"…"));
              out.write("</a>");
              out.write("</span>\r\n          ");
if(historyID.isContractFlg()){
              out.write("\r\n            BG卸価：契約後表示\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("2")){
              out.write("\r\n            お問い合わせ下さい\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("\r\n            BG卸価：ログイン表示\r\n          ");
}else{
              out.write("\r\n          ");
              out.write("<span class=\"price\">\r\n            ");
if (!historyID.isCmdtyComposition()){
              out.write("\r\n              ");
if(historyID.getFinalUnitPriceWithoutTax().equals(historyID.getUnitPriceWithoutTax())){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(historyID.getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}else{
              out.write("\r\n              ");
 String setUnitPrice = historyID.getSetUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
 String setDiscountUnitPrice = historyID.getSetDiscountUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}
              out.write("\r\n          ");
              out.write("</span>\r\n          ");
}
              out.write("\r\n      ");
              out.write("</li>\r\n      ");
              out.write("<!--▲個別アイテム：ここまで▲-->\r\n    ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_2.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_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_size_id_collection.reuse(_jspx_th_webshop_siiterator_2);
          out.write("\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  ");
      /* ----  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(commodityHistoryColl.size()==0);
      int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
      if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<li>");
          out.write("<p>最近チェックした商品はありません");
          out.write("</p>");
          out.write("</li>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
      out.write("\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!--▲最近チェックした商品：ここまで▲-->\r\n");
      out.write("\r\n  ");
      out.write("<!--▲最近チェックした商品：ここまで▲-->\r\n\r\n  ");
      out.write("<!--▼新着・おすすめ商品：ここから▼-->\r\n  ");


Collection recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendColl(connection,request);

if (loginSite.equals("/hair")) { 
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendHairColl(connection,request);
} else if (loginSite.equals("/haircosme")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendHairCosmeColl(connection,request);
} else if (loginSite.equals("/esthe")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendEstheColl(connection,request);
} else if (loginSite.equals("/bed")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendBedColl(connection,request);
} else if (loginSite.equals("/cosme")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendCosmeColl(connection,request);
} else if (loginSite.equals("/nail")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendNailColl(connection,request);
} else if (loginSite.equals("/eyelash")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendEyeLashColl(connection,request);
} else if (loginSite.equals("/book")) {
  recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendBookColl(connection,request);
} else {
  if (SIHTMLUtil.getUserInfo(request).isLogin(request)){
      if (SIHTMLUtil.getUserInfo(request).getJob().equals("美容室")||SIHTMLUtil.getUserInfo(request).getJob().equals("理容室")){
        recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendHairCosmeColl(connection,request);
      } else if (SIHTMLUtil.getUserInfo(request).getJob().equals("エステサロン・SPA")||SIHTMLUtil.getUserInfo(request).getJob().equals("マッサージ・リラクゼーション・アロマ")){
        recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendCosmeColl(connection,request);
      } else if (SIHTMLUtil.getUserInfo(request).getJob().equals("ネイルサロン・まつ毛サロン")){
        recommendColl=jp.co.sint.beans.front.UICmdtyRanking.getRecommendNailColl(connection,request);
      }
    }
}

      out.write("\r\n");
      out.write("<!--▼新着・おすすめ商品：ここから▼-->\r\n");
      out.write("<div id=\"pickUpItems\">\r\n  ");
      out.write("<h2>");
      out.write("<a href=\"");
      out.print(mainSrvSite+"?actionNameTxt="+SIConfig.SIACTION_RECOMMEND+"&inx="+SIConfig.CTGRYGROUP_INX_ALL);
      out.write("\" class=\"linkArrow sizeL\">新着・おすすめ商品");
      out.write("</a>");
      out.write("</h2>\r\n  ");
      out.write("<div class=\"colorBox1 swipeBox col-3\">\r\n    ");
      out.write("<div class=\"swiper-container\">\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(recommendColl.size()==0);
      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("<ul class=\"swiper-wrapper itemList horizontal clr\">\r\n          ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_3 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_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_isFalse_2);
          _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_3.setCollection(recommendColl);
          _jspx_th_webshop_siiterator_3.setId("recommendID");
          _jspx_th_webshop_siiterator_3.setSize(5);
          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.SICmdty recommendID = null;
            recommendID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("recommendID");
            do {
              out.write("\r\n            ");
              out.write("<!--▼個別アイテム：ここから▼-->\r\n            ");
              out.write("<li class=\"itemList-item swiper-slide\">\r\n              ");
              out.write("\r\n              ");
              out.write("<span class=\"thumb\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+recommendID.getCmdtyCode()+"/"+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("_1.jpg\" width=\"95\" height=\"95\">");
              out.write("</a>");
              out.write("</span>\r\n              ");
              out.write("<span class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+recommendID.getCmdtyCode()+"/"+recommendID.getIndividualCode());
              out.write("\">");
              out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(recommendID.getCmdtyName()),14,"…"));
              out.write("</a>");
              out.write("</span>\r\n                ");
if(recommendID.isContractFlg()){
              out.write("\r\n                  BG卸価：契約後表示\r\n                ");
}else if(recommendID.getBGPriceDispFlg().equals("2")){
              out.write("\r\n                  お問い合わせ下さい\r\n                ");
}else if(recommendID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("\r\n                  BG卸価：ログイン表示\r\n                ");
}else{
              out.write("\r\n                ");
              out.write("<span class=\"price\">\r\n                  ");
if (!recommendID.isCmdtyComposition()){
              out.write("\r\n                    ");
if(recommendID.getFinalUnitPriceWithoutTax().equals(recommendID.getUnitPriceWithoutTax())){
              out.write("\r\n                      ￥");
              out.print(SIUtil.NumberFormat(recommendID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n                    ");
}else{
              out.write("\r\n                      ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(recommendID.getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("<br>\r\n                      VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(recommendID.getFinalUnitPriceWithoutTax()));
              out.write("\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.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("\r\n                    ");
}else{
              out.write("\r\n                      ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</strike>");
              out.write("<br>\r\n                      VIP特価：￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("\r\n                    ");
}
              out.write("\r\n                  ");
}
              out.write("\r\n                ");
              out.write("</span>\r\n                ");
}
              out.write("\r\n            ");
              out.write("</li>\r\n            ");
              out.write("<!--▲個別アイテム：ここまで▲-->\r\n          ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_3.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_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_size_id_collection.reuse(_jspx_th_webshop_siiterator_3);
          out.write("\r\n        ");
          out.write("</ul>\r\n        ");
          out.write("<a class=\"btnPrev\" href=\"javascript:void(0);\">&nbsp;");
          out.write("</a>\r\n        ");
          out.write("<a class=\"btnNext\" href=\"javascript:void(0);\">&nbsp;");
          out.write("</a>\r\n      ");
          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      ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_2 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_2.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_2.setParent(null);
      _jspx_th_webshop_isTrue_2.setValue(recommendColl.size()==0);
      int _jspx_eval_webshop_isTrue_2 = _jspx_th_webshop_isTrue_2.doStartTag();
      if (_jspx_eval_webshop_isTrue_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n        ");
          out.write("<ul>");
          out.write("<li>");
          out.write("<p>新着・おすすめ商品は設定されておりません");
          out.write("</p>");
          out.write("</li>");
          out.write("</ul>\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_2);
      out.write("\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<!--▲新着・おすすめ商品：ここまで▲-->");
      out.write("\r\n  ");
      out.write("<!--▲新着・おすすめ商品：ここまで▲-->\r\n  ");
      out.write("<!--▼ニュース：ここから▼-->\r\n  ");
      out.write("<!--▼ニュース：ここから▼-->\r\n");

int newsInx=SIConfig.CTGRYGROUP_INX_ALL;
if (loginSite.equals("/hair")) newsInx=SIConfig.CTGRYGROUP_INX_HAIR;
else if (loginSite.equals("/haircosme")) newsInx=SIConfig.CTGRYGROUP_INX_HAIRCOSME;
else if (loginSite.equals("/esthe")) newsInx=SIConfig.CTGRYGROUP_INX_ESTHE;
else if (loginSite.equals("/bed")) newsInx=SIConfig.CTGRYGROUP_INX_BED;
else if (loginSite.equals("/cosme")) newsInx=SIConfig.CTGRYGROUP_INX_COSME;
else if (loginSite.equals("/nail")) newsInx=SIConfig.CTGRYGROUP_INX_NAIL;
else if (loginSite.equals("/eyelash")) newsInx=SIConfig.CTGRYGROUP_INX_EYELASH;
else if (loginSite.equals("/book")) newsInx=SIConfig.CTGRYGROUP_INX_BOOK;

      out.write("\r\n");
      out.write("<div id=\"newsBlock\">\r\n  ");
      out.write("<h2>");
      out.write("<a href=\"");
      out.print(mainSrvSite+"?actionNameTxt="+SIConfig.SIACTION_NEWS+"&inx="+newsInx);
      out.write("\" class=\"linkArrow sizeL\">ニュース");
      out.write("</a>");
      out.write("</h2>\r\n  ");
      out.write("<ul class=\"newsList\">\r\n    ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_4 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_4.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_4.setParent(null);
      _jspx_th_webshop_siiterator_4.setId("newsId");
      _jspx_th_webshop_siiterator_4.setSize(2);
      _jspx_th_webshop_siiterator_4.setType("jp.co.sint.basic.SINews");
      _jspx_th_webshop_siiterator_4.setCollection(new SINewsManager(connection,newsInx).getCollection());
      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.SINews newsId = null;
        newsId = (jp.co.sint.basic.SINews) pageContext.findAttribute("newsId");
        do {
          out.write("\r\n      ");
          out.write("<!--▼個別アイテム：ここから▼-->\r\n      ");
          out.write("<li class=\"newsList-item\">\r\n        ");
          out.write("<span class=\"date\">");
          out.print(newsId.getStartDateTime().substring(0,10));
          out.write("</span>\r\n        ");
          out.write("<span class=\"desc\">");
          out.print(newsId.getDescription());
          out.write("</span>\r\n      ");
          out.write("</li>\r\n      ");
          out.write("<!--▲個別アイテム：ここまで▲-->\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_4.doAfterBody();
          newsId = (jp.co.sint.basic.SINews) pageContext.findAttribute("newsId");
          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_size_id_collection.reuse(_jspx_th_webshop_siiterator_4);
      out.write("\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!--▲ニュース：ここまで▲-->");
      out.write("\r\n  ");
      out.write("<!--▲ニュース：ここまで▲-->\r\n  ");
      out.write("<!--▼キャンペーン・特集：ここから▼-->\r\n  \r\n  ");
      out.write("<!--▲キャンペーン・特集：ここまで▲-->\r\n");
}else{
      out.write("\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.cookie.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.search_slide.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/script/jquery.catPick_carousel.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n$(function() {\r\n  var targetC1 = $('#cat_pick');\r\n  if(targetC1.find('.mainBox').find('li').size() !== 0)carousel('#carouselWrap');else{targetC1.remove();}\r\n});\r\n\r\nfunction initAddMyCatalog(individualCode, mycatalogFlg, catalogNum) {\r\n  if (mycatalogFlg == \"1\") {\r\n    return;\r\n  } \r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    return;\r\n  }\r\n  if (favoriteStr.indexOf(individualCode) != -1) {\r\n    $(\"#tuika_\" + catalogNum).css(\"display\", \"none\");\r\n    $(\"#torokuzumi_\" + catalogNum).css(\"display\", \"block\");\r\n    return false;\r\n  }\r\n}\r\n\r\nfunction addMyCatalogForLogin(lIndividualCode , catalogNum){\r\n  setCookie(lIndividualCode, catalogNum);\r\n  addMyCatalog(lIndividualCode);\r\n}\r\n\r\nfunction addMyCatalogForNoLogin(lIndividualCode , catalogNum){\r\n  setCookie(lIndividualCode, catalogNum);\r\n}\r\n\r\nfunction setCookie(lIndividualCode, catalogNum) {\r\n  // cokieに追加\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null || favoriteStr== \"\") {\r\n");
      out.write("    favoriteStr = lIndividualCode;\r\n  }else {\r\n    if (favoriteStr.indexOf(lIndividualCode) == -1) {\r\n        favoriteStr += \",\" + lIndividualCode;\r\n    }\r\n  }\r\n  \r\n  $.cookie(\"ws_favoriteBG\", favoriteStr, {expires:30, path: \"");
      out.print(webshopSite);
      out.write("\" });\r\n\r\n  // フッターの件更新\r\n  var favoriteStr = $.cookie(\"ws_favoriteBG\");\r\n  if (favoriteStr == null) {\r\n    $(\"#global-mypage_count\").html(\"\");\r\n\r\n\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count='+(favoriteCnt) + '&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t} \r\n\r\n    return;\r\n  }\r\n  var favoriteArray = favoriteStr.split(\",\");\r\n  var favoriteCnt   = favoriteArray.length;\r\n  if (favoriteCnt == 0) favoriteCnt = \"\";\r\n  $(\"#global-mypage_count\").html(favoriteCnt);\r\n\r\n\tif( navigator.userAgent.toLowerCase().indexOf('bg-webview') > 0 ){//アプリ用数量更新通知\r\n\t\tlocation.href = 'app://setBadgeNumber?mycatalog_count='+(favoriteCnt) + '&history_count='+$(\"#global-checkhistory_count\").text() + '&favorite_count='+$(\"#global-favoriteitem_count\").text() + '&cart_count='+$('#global-cart_count').text();\r\n\t}\r\n  \r\n  // ボタン制御\r\n  $(\"#tuika_\" + catalogNum).css(\"display\", \"none\");\r\n");
      out.write("  $(\"#torokuzumi_\" + catalogNum).css(\"display\", \"block\");\r\n}\r\n\r\nfunction addMyCatalog(lIndividualCode) {\r\n  var timestamp = new Date().getTime();\r\n  var url=\"");
      out.print(SIHTMLUtil.getRootPath(request)+"/search_cmdty");
      out.write("?timestamp=\"+timestamp;\r\n  with(document.cartForm){\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_ADD2);
      out.write("';\r\n    cartIndividualCodeTxt.value = lIndividualCode;\r\n  }\r\n  \r\n  var str = $('form[name=cartForm]').serialize();\r\n    jQuery.ajax({\r\n    url:url,\r\n    type:'POST',\r\n    data:str,\r\n    success:function(request){\r\n    }\r\n  });\r\n}\r\n  \r\n");
      out.write("</script>\r\n\r\n");
 
  StringBuffer URL = new StringBuffer("?actionNameTxt="+SIConfig.SIACTION_LIST+"&dispModeTxt="+mainID.getDispModeTxt());
  if(!"all".equals(mainID.getUsedNewFlgTxt())) URL.append("&usedNewFlgTxt=").append(SIHTMLUtil.HTMLEncode(mainID.getUsedNewFlgTxt()));
  if(SIUtil.isNotNull(srchKeyList.getSrchWordTxt())) URL.append("&srchWordTxt=").append(SIHTMLUtil.URLEncode(srchKeyList.getSrchWordTxt()));
  if(SIUtil.isNotNull(mainID.getPriceFrom())) URL.append("&priceFrom=").append(mainID.getPriceFrom());
  if(SIUtil.isNotNull(mainID.getPriceTo())) URL.append("&priceTo=").append(mainID.getPriceTo());
  if(SIUtil.isNotNull(mainID.getMaker())) URL.append("&maker=").append(mainID.getMaker());
  if(SIUtil.isNotNull(mainID.getCtgryCodeTxt())&&!SIConfig.SICATEGORY_ROOT_CODE.equals(mainID.getCtgryCodeTxt())) URL.append("&ctc=").append(mainID.getCtgryCodeTxt());
  if(SIUtil.isNotNull(mainID.getActive())) URL.append("&active=").append(mainID.getActive());
  Collection mainColl = mainID.getCollection(connection,request); 
  
  String sizeSortTxt ="";
  if (SIUtil.isNotNull(mainID.getCmdtySortSel())&&!"2".equals(mainID.getCmdtySortSel())) sizeSortTxt = "&cmdtySortSel="+mainID.getCmdtySortSel();
  if (SIUtil.isNotNull(mainID.getPageSizeSel())&&!"20".equals(mainID.getPageSizeSel())) sizeSortTxt = sizeSortTxt+"&pageSizeSel="+mainID.getPageSizeSel();
  

      out.write("\r\n");
      out.write("<!--▼ランキング：ここから▼-->\r\n");
 if (!"/advancedsearch".equals(loginSite) && !(SIConfig.SICATEGORY_ROOT_CODE.equals(mainID.getCtgryCodeTxt()) && SIUtil.isNull(mainID.getMaker()))) { 
  // 詳細検索・カテゴリ選択なしでは表示しない

      out.write("\r\n");
 Collection rankingCollection = UICmdtyRanking.getCategoryRankingCollection(connection,request,currCtgryCode,mainID.getMaker(),3); 
      out.write("\r\n");
 if (!rankingCollection.isEmpty()) { 
      out.write("\r\n");
      out.write("<div id=\"rankingBox\" class=\"colorBox1\">\r\n  ");
      out.write("<h3>売れ筋ランキング");
      out.write("</h3>\r\n  ");
      out.write("<ul class=\"rankList typeFlat col-3\">\r\n    ");
      out.write("<!--▼個別アイテム：ここから▼-->\r\n    ");
 int count=0; 
      out.write("\r\n    ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_5 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_5.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_5.setParent(null);
      _jspx_th_webshop_siiterator_5.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_5.setCollection( rankingCollection );
      _jspx_th_webshop_siiterator_5.setId("ranking");
      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 ranking = null;
        ranking = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("ranking");
        do {
          out.write("\r\n    ");
 count++; 
          out.write("\r\n    ");
          out.write("<li class=\"rankList-item rank");
          out.print( count );
          out.write("\">\r\n      ");
          out.write("<span class=\"thumb\">");
          out.write("<a href=\"");
          out.print(cmdtySrvSite+"/"+ranking.getCmdtyCode()+"/"+ranking.getIndividualCode());
          out.write("\">");
          out.write("<img src=\"");
          out.print( webshopSite );
          out.write("/image/cmdty/");
          out.print( ranking.getCmdtyCode() );
          out.write("/");
          out.print( ranking.getCmdtyCode() );
          out.write("_");
          out.print( ranking.getIndividualCode() );
          out.write("_1.jpg\" width=\"95\" height=\"65\">");
          out.write("</a>");
          out.write("</span>\r\n      ");
          out.write("<span class=\"name\">");
          out.write("<a href=\"");
          out.print(cmdtySrvSite+"/"+ranking.getCmdtyCode()+"/"+ranking.getIndividualCode());
          out.write("\">");
          out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(ranking.getCmdtyName()),14,"…"));
          out.write("</a>");
          out.write("</span>\r\n      ");
 if(ranking.isContractFlg()){ 
          out.write("<p class=\"price\">");
          out.write("<span>BG卸価：契約後表示");
          out.write("</span>");
          out.write("</p>\r\n      ");
 } else if(ranking.getBGPriceDispFlg().equals("2")){ 
          out.write("<p class=\"price\">");
          out.write("<span>お問い合わせ下さい");
          out.write("</span>");
          out.write("</p>\r\n      ");
 } else if(ranking.getBGPriceDispFlg().equals("1")){ 
          out.write("<p class=\"price\">");
          out.write("<span>BG卸価：ログイン表示");
          out.write("</span>");
          out.write("</p>\r\n      ");
}else{
          out.write("\r\n        ");
if (!ranking.isCmdtyComposition()){
          out.write("\r\n          ");
if(ranking.getFinalUnitPriceWithoutTax().equals(ranking.getUnitPriceWithoutTax())){
          out.write("\r\n            ");
          out.write("<span class=\"price\">￥");
          out.print( SIUtil.NumberFormat(ranking.getUnitPriceWithoutTax()) );
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>");
          out.write("</span>\r\n          ");
 } else { 
          out.write("\r\n            ");
          out.write("<span class=\"price\">");
          out.write("<strike>￥");
          out.print( SIUtil.NumberFormat(ranking.getUnitPriceWithoutTax()) );
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>\r\n            ");
          out.write("<span>VIP特価：");
          out.write("</span>￥");
          out.print( SIUtil.NumberFormat(ranking.getFinalUnitPriceWithoutTax()) );
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>");
          out.write("</span>\r\n          ");
}
          out.write("\r\n        ");
}else{
          out.write("\r\n          ");
 String setUnitPrice = ranking.getSetUnitPriceWithoutTax(connection); 
          out.write("\r\n          ");
 String setDiscountUnitPrice = ranking.getSetDiscountUnitPriceWithoutTax(connection); 
          out.write("\r\n          ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
          out.write("\r\n            ");
          out.write("<span class=\"price\">￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("</span>");
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>\r\n          ");
}else{
          out.write("\r\n            ");
          out.write("<p class=\"price\">");
          out.write("<strike>￥");
          out.print(SIUtil.NumberFormat(setUnitPrice));
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>");
          out.write("</strike>");
          out.write("<br>\r\n            ");
          out.write("<span>VIP特価：");
          out.write("</span>￥");
          out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
          out.write("<span class=\"tax\">（税別）");
          out.write("</span>");
          out.write("</p>\r\n          ");
}
          out.write("\r\n      ");
}}
          out.write("\r\n    ");
          out.write("</li>\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_5.doAfterBody();
          ranking = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("ranking");
          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("<!--▲個別アイテム：ここまで▲-->\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
 } 
      out.write("\r\n");
 } 
      out.write("\r\n");
      out.write("<!--▲ランキング：ここまで▲-->\r\n");
      out.write("<!--▼商品一覧：ここから▼-->\r\n");
int item_count=0;
      out.write("\r\n");
      /* ----  webshop:sipage ---- */
      jp.co.sint.taglib.SIPageTag _jspx_th_webshop_sipage_0 = (jp.co.sint.taglib.SIPageTag) _jspx_tagPool_webshop_sipage_type_size_pageNum_onclick_id_collection.get(jp.co.sint.taglib.SIPageTag.class);
      _jspx_th_webshop_sipage_0.setPageContext(pageContext);
      _jspx_th_webshop_sipage_0.setParent(null);
      _jspx_th_webshop_sipage_0.setPageNum(mainID.getPageNumberTxt());
      _jspx_th_webshop_sipage_0.setSize(mainID.getPageSizeSel());
      _jspx_th_webshop_sipage_0.setId("cmdtyPage");
      _jspx_th_webshop_sipage_0.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_sipage_0.setCollection(mainColl);
      _jspx_th_webshop_sipage_0.setOnclick("gotoNextPage");
      int _jspx_eval_webshop_sipage_0 = _jspx_th_webshop_sipage_0.doStartTag();
      if (_jspx_eval_webshop_sipage_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        java.lang.Integer index = null;
        java.lang.Integer indexOnPage = null;
        jp.co.sint.basic.SICmdty cmdtyPage = null;
        index = (java.lang.Integer) pageContext.findAttribute("index");
        indexOnPage = (java.lang.Integer) pageContext.findAttribute("indexOnPage");
        cmdtyPage = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmdtyPage");
        do {
          out.write("\r\n");
          /* ----  webshop:header ---- */
          jp.co.sint.taglib.SIHeaderTag _jspx_th_webshop_header_0 = (jp.co.sint.taglib.SIHeaderTag) _jspx_tagPool_webshop_header.get(jp.co.sint.taglib.SIHeaderTag.class);
          _jspx_th_webshop_header_0.setPageContext(pageContext);
          _jspx_th_webshop_header_0.setParent(_jspx_th_webshop_sipage_0);
          int _jspx_eval_webshop_header_0 = _jspx_th_webshop_header_0.doStartTag();
          if (_jspx_eval_webshop_header_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n");
              out.write("<div id=\"\">\r\n");
              out.write("<form name=\"cmdtyListForm\" action=");
              out.print(webshopSite+loginSite);
              out.write(" method=\"get\">\r\n");
              out.write("<script type=\"text/javascript\">\r\n");
              out.write("<!-- \r\nfunction search(){\r\n  \r\n  with(document.cmdtyListForm){\r\n    submit();\r\n  }\r\n}\r\n\r\nvar initFlg = 1;\r\nfunction setPriceToggle() {\r\n  if (initFlg!= 1) {\r\n    return;\r\n  }\r\n  var priceSelectFlg = $(\"#priceSelectFlg\").val();\r\n  if (priceSelectFlg == \"1\") {\r\n    $(\".priceToggle .priceSelect\").trigger(\"click\");\r\n  }\r\n  initFlg = 0;\r\n}\r\n-->\r\n");
              out.write("</script>\r\n  ");
 if ("/advancedsearch".equals(loginSite)) { 
              out.write("\r\n  ");
              out.write("<h1>検索結果");
              out.write("</h1>\r\n  ");
 } else { 
              out.write("\r\n  ");
              out.write("<h2 id=\"categoryitemlist\">商品一覧");
              out.write("</h2>\r\n  ");
 } 
              out.write("\r\n  ");
              out.write("<!--▼▼検索結果▼▼-->\r\n  ");
              out.write("<dl id=\"resultInfo\" class=\"clr\">\r\n    ");
              out.write("<dt>検索結果：");
              out.write("</dt>\r\n    ");
              out.write("<dd class=\"resultNum\">");
              out.write("<strong>");
              if (_jspx_meth_webshop_recordCount_0(_jspx_th_webshop_header_0, pageContext))
                return;
              out.write("件");
              out.write("</strong>");
              out.write("</dd>\r\n    ");
              out.write("<dd class=\"resultView\">");
              out.print(mainID.getPageFromNumber(mainColl.size()));
              out.write("件～");
              out.print(mainID.getPageToNumber(mainColl.size()));
              out.write("件表示");
              out.write("</dd>\r\n  ");
              out.write("</dl>\r\n  ");
              out.write("<!--▲▲検索結果▲▲-->\r\n  ");
              out.write("<!--▼▼表示オプション▼▼-->\r\n  ");
              out.write("<div id=\"showOptions\" class=\"clr\">\r\n    ");
              out.write("<div id=\"showOptions-more\" class=\"fLeft\">\r\n      ");
              out.write("<div class=\"opener\">\r\n        ");
 if ("/advancedsearch".equals(loginSite)) { 
              out.write("\r\n        ");
              out.write("<a href=\"#addSearchContents\" class=\"icon openModal btn_som arrow withIcoL\" onClick=\"setPriceToggle();\">");
              out.write("<span class=\"ico\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/sp/lib_image/common/ico_loupe.png\" width=\"17\" height=\"17\" alt=\"\">");
              out.write("</span>検索条件の変更");
              out.write("</a>\r\n        ");
 } else { 
              out.write("\r\n        ");
              out.write("<a href=\"#addSearchContents\" class=\"openModal btn_som arrow withIcoL\" onClick=\"setPriceToggle();\">");
              out.write("<span class=\"ico\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/sp/lib_image/common/ico_loupe.png\" width=\"17\" height=\"17\" alt=\"\">");
              out.write("</span>さらに絞り込む");
              out.write("</a>\r\n        ");
 } 
              out.write("\r\n      ");
              out.write("</div>\r\n    ");
              out.write("</div>\r\n    ");
              out.write("<div id=\"showOptions-sort\" class=\"fRight\">\r\n      ");
              /* ----  webshop:siselect ---- */
              jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_space_name_defaultAlways_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
              _jspx_th_webshop_siselect_0.setPageContext(pageContext);
              _jspx_th_webshop_siselect_0.setParent(_jspx_th_webshop_header_0);
              _jspx_th_webshop_siselect_0.setDefaultAlways("true");
              _jspx_th_webshop_siselect_0.setName("cmdtySortSel");
              _jspx_th_webshop_siselect_0.setDefault(mainID.getCmdtySortSel());
              _jspx_th_webshop_siselect_0.setCollection(SIManSortUtil.getSortColl(SISortConf.SIFRONT_SORT_CMDTY_INX));
              _jspx_th_webshop_siselect_0.setSpace(spaceNum);
              _jspx_th_webshop_siselect_0.setAttributesText("onChange=\"search()\"");
              int _jspx_eval_webshop_siselect_0 = _jspx_th_webshop_siselect_0.doStartTag();
              if (_jspx_th_webshop_siselect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_siselect_space_name_defaultAlways_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_0);
              out.write("\r\n    ");
              out.write("</div>\r\n  ");
              out.write("</div>\r\n  ");
              out.write("<!--▲▲表示オプション▲▲-->\r\n\r\n");
              out.write("<input type=\"hidden\" id=\"actionNameTxt\" name=\"actionNameTxt\" value=\"");
              out.print(SIConfig.SIACTION_LIST);
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"usedNewFlgTxt\" name=\"usedNewFlgTxt\" value=\"");
              out.print(mainID.getUsedNewFlgTxt());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"srchWordTxt\" name=\"srchWordTxt\" value=\"");
              out.print(SIHTMLUtil.HTMLEncode(srchKeyList.getSrchWordTxt()));
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"priceFrom\" name=\"priceFrom\" value=\"");
              out.print(mainID.getPriceFrom());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"priceTo\" name=\"priceTo\" value=\"");
              out.print(mainID.getPriceTo());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"maker\" name=\"maker\" value=\"");
              out.print(mainID.getMaker());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"ctc\" name=\"ctc\" value=\"");
              out.print(mainID.getCtgryCodeTxt());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"active\" name=\"active\" value=\"");
              out.print(mainID.getActive());
              out.write("\">\r\n");
              out.write("<input type=\"hidden\" id=\"dispModeTxt\" name=\"dispModeTxt\" value=\"2\">\r\n");
              out.write("<input type=\"hidden\" id=\"pageSizeSel\" name=\"pageSizeSel\" value=\"10\">\r\n");
              out.write("<input type=\"hidden\" id=\"priceSelectFlg\" name=\"priceSelectFlg\" value=\"");
              out.print(mainID.getPriceSelectFlg());
              out.write("\">\r\n");
 if ("/advancedsearch".equals(loginSite)) { 
              out.write("\r\n  ");
              out.write("<input type=\"hidden\" id=\"selectTyuCtgry\" name=\"selectTyuCtgry\" value=\"");
              out.print(mainID.getSelectTyuCtgry());
              out.write("\"/>\r\n  ");
              out.write("<input type=\"hidden\" id=\"selectedBrand\"  name=\"selectedBrand\"  value=\"");
              out.print(mainID.getSelectedBrand());
              out.write("\"/>\r\n");
 } 
              out.write("\r\n");
              out.write("</form>\r\n  ");
              out.write("<!--▼▼ページング▼▼-->\r\n  ");
if (mainColl.size() > 0){
              out.write("\r\n  ");
              out.write("<div id=\"pagingTop\" class=\"paging color1 clr\">\r\n    ");
if(Integer.parseInt(mainID.getPageNumberTxt())>1){
              out.write("\r\n");
              out.write("<p class=\"pagePrev\">");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+SIUtil.sub(mainID.getPageNumberTxt(),"1")+sizeSortTxt);
              out.write("\">前へ");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("<ul class=\"pageNum typeFlat clr\">\r\n  ");
for (int i=mainID.getMinPageNumber(mainColl.size());i<=mainID.getMaxPageNumber(mainColl.size());i++){
              out.write("\r\n    ");
if(String.valueOf(i).equals(mainID.getPageNumberTxt())){
              out.write("\r\n    ");
              out.write("<li class=\"current\">");
              out.write("<span>");
              out.print(i);
              out.write("</span>");
              out.write("</li>\r\n    ");
}else{
              out.write("\r\n    ");
              out.write("<li>");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+String.valueOf(i)+sizeSortTxt);
              out.write("\">");
              out.print(i);
              out.write("</a>");
              out.write("</li>\r\n    ");
}
              out.write("\r\n  ");
}
              out.write("\r\n");
              out.write("</ul>\r\n");
if(Integer.parseInt(mainID.getPageNumberTxt()) < mainID.getMaxPageNumber(mainColl.size())){
              out.write("\r\n");
              out.write("<p class=\"pageNext\">");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+SIUtil.add(mainID.getPageNumberTxt(),"1")+sizeSortTxt);
              out.write("\">次へ");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("\r\n  ");
              out.write("</div>\r\n  ");
}
              out.write("\r\n  ");
              out.write("<!--▲▲ページング▲▲-->\r\n  ");
              out.write("<!--▼▼リストここから▼▼-->\r\n  ");
              out.write("<form name=\"cartForm\" action =\"");
              out.print(mainSrvSite);
              out.write("\" method=\"post\">\r\n  ");
              out.write("<div id=\"categoryItem\">\r\n    ");
              out.write("<ul id=\"categoryItemList\" class=\"typeFlat\">\r\n  ");
              int evalDoAfterBody = _jspx_th_webshop_header_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_header_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_header.reuse(_jspx_th_webshop_header_0);
          out.write("\r\n  ");
if (mainColl.size() > 0){
          out.write("\r\n  ");
item_count++; cmdtyPage.setTaxRate("8.00");
          out.write("\r\n  ");
 String cmdtyURL = cmdtySrvSite+"/"+cmdtyPage.getCmdtyCode()+"/"+cmdtyPage.getIndividualCode(); 
          out.write("\r\n  ");
          /* ----  webshop:body ---- */
          jp.co.sint.taglib.SIBodyTag _jspx_th_webshop_body_0 = (jp.co.sint.taglib.SIBodyTag) _jspx_tagPool_webshop_body.get(jp.co.sint.taglib.SIBodyTag.class);
          _jspx_th_webshop_body_0.setPageContext(pageContext);
          _jspx_th_webshop_body_0.setParent(_jspx_th_webshop_sipage_0);
          int _jspx_eval_webshop_body_0 = _jspx_th_webshop_body_0.doStartTag();
          if (_jspx_eval_webshop_body_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n  ");
              out.write("<!--▼個別アイテム：ここから▼-->\r\n  ");
if(SIUtil.isNotNull(currCtgryCode)&&!SIConfig.SICATEGORY_ROOT_CODE.equals(currCtgryCode)) cmdtyURL=cmdtySrvSite+"/"+cmdtyPage.getCmdtyCode()+"/"+cmdtyPage.getIndividualCode()+"/"+currCtgryCode;
              out.write("\r\n");
              out.write("<li class=\"categoryItemList-item\">\r\n  ");
              out.write("<span class=\"thumb\">\r\n  ");
              out.write("<ul class=\"iconList2\">\r\n  ");
if (cmdtyPage.getUsedNewFlg()==3){
              out.write("<li class=\"icon_limited\">BG認定中古");
              out.write("</li>\r\n  ");
}else if (cmdtyPage.getUsedNewFlg()==2||cmdtyPage.getUsedNewFlg()==4){
              out.write("<li class=\"icon_outlet\">アウトレット");
              out.write("</li>\r\n  ");
}else if (cmdtyPage.getUsedNewFlg()==1||cmdtyPage.getUsedNewFlg()==6||cmdtyPage.getUsedNewFlg()==7){
              out.write("\r\n  ");
}else{
              out.write("<li class=\"icon_used\">中古");
              out.write("</li>");
}
              out.write("\r\n  ");
String cartBtnType = "";
  if(cmdtyPage.isHairCosmeFlg()) cartBtnType = "contract1";
  else if(cmdtyPage.isContractFlg()&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)) cartBtnType = "contract2";
  else if(cmdtyPage.isContractFlg() && cmdtyPage.isMailContract(connection)) cartBtnType = "contract3";
  else if(cmdtyPage.isContractFlg()) cartBtnType = "contract4";
  else if(cmdtyPage.isCmdtyComposition()) cartBtnType = "composition";
  else if(cmdtyPage.getInquiryFlg().equals("1")) cartBtnType = "inquiry";
  else if(cmdtyPage.getAmountFlg().equals("0")) cartBtnType = "cart";
  else if(!cmdtyPage.getAmount().equals("0")) cartBtnType = "cart";
  else if(cmdtyPage.getRsrvEnableFlg().equals("1")&&!cmdtyPage.getRsrvAmount().equals("0")) cartBtnType = "reserve";
  else cartBtnType = "soldout";
              out.write("\r\n  ");
if(cmdtyPage.getCampaignPriceFlg().equals("1")&&("cart".equals(cartBtnType)||"composition".equals(cartBtnType))){
              out.write("<li class=\"icon_samedaydeliv\">当日出荷");
              out.write("</li>");
}
              out.write("\r\n  ");
              out.write("</ul>\r\n  ");
              out.write("<a href=\"");
              out.print(cmdtyURL);
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(SIHTMLUtil.HTMLEncode(cmdtyPage.getCmdtyCode()));
              out.write("/");
              out.print(SIHTMLUtil.HTMLEncode(cmdtyPage.getCmdtyCode()));
              out.write("_");
              out.print(SIHTMLUtil.HTMLEncode(cmdtyPage.getIndividualCode()));
              out.write("_1.jpg\" width=\"130\" height=\"130\">");
              out.write("</a>");
              out.write("</span>\r\n  ");
              out.write("<span class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtyURL);
              out.write("\">");
              out.print(SIHTMLUtil.HTMLEncode(cmdtyPage.getCmdtyName()));
              out.write("</a>");
              out.write("</span>\r\n  ");
if(SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("\r\n  ");
              out.write("<a id=\"tuika_");
              out.print(item_count);
              out.write("\" href=\"javascript:addMyCatalogForNoLogin('");
              out.print(cmdtyPage.getIndividualCode());
              out.write("' , '");
              out.print(item_count);
              out.write("');\" class=\"icon status\">お気に入りに追加");
              out.write("</a>\r\n  ");
              out.write("<span id=\"torokuzumi_");
              out.print(item_count);
              out.write("\" style=\"display:none;\"class=\"icon status\">登録済み");
              out.write("</span>\r\n  ");
}else if(SIUtil.isNotNull(cmdtyPage.getMycatalogFlg())&&"1".equals(cmdtyPage.getMycatalogFlg())){
              out.write("\r\n  ");
              out.write("<span class=\"icon status\">登録済み");
              out.write("</span>\r\n  ");
}else{
              out.write("\r\n  ");
              out.write("<a id=\"tuika_");
              out.print(item_count);
              out.write("\" href=\"javascript:addMyCatalogForLogin('");
              out.print(cmdtyPage.getIndividualCode());
              out.write("' , '");
              out.print(item_count);
              out.write("');\" class=\"icon status\">お気に入りに追加");
              out.write("</a>\r\n  ");
              out.write("<span id=\"torokuzumi_");
              out.print(item_count);
              out.write("\" style=\"display:none;\"class=\"icon status\">登録済み");
              out.write("</span>\r\n  ");
}
              out.write("\r\n  ");
if (!cmdtyPage.isCmdtyComposition()){
              out.write("\r\n    ");
if(cmdtyPage.isContractFlg()){
              out.write("<span class=\"price\">契約後表示");
              out.write("</span>\r\n    ");
}else if(cmdtyPage.getBGPriceDispFlg().equals("2")){
              out.write("<span class=\"price\">お問い合わせ下さい");
              out.write("</span>\r\n    ");
}else if(cmdtyPage.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("<span class=\"price\">ログイン表示");
              out.write("</span>\r\n    ");
}else{
              out.write("\r\n      ");
if(cmdtyPage.getFinalUnitPriceWithoutTax().equals(cmdtyPage.getUnitPriceWithoutTax())){
              out.write("\r\n      ");
              out.write("<span class=\"price\">￥");
              out.print(SIUtil.NumberFormat(cmdtyPage.getUnitPriceWithoutTax()));
              out.write("</span>");
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>\r\n      ");
}else{
              out.write("\r\n      ");
              out.write("<p class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(cmdtyPage.getUnitPriceWithoutTax()));
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>");
              out.write("</strike>");
              out.write("<br>\r\n      ");
              out.write("<span class=\"price\">VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(cmdtyPage.getFinalUnitPriceWithoutTax()));
              out.write("</span>");
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>\r\n    ");
}}
              out.write("\r\n  ");
 } else { 
              out.write("\r\n    ");
if(cmdtyPage.isContractFlg()){
              out.write("<span class=\"price\">契約後表示");
              out.write("</span>\r\n    ");
}else if(cmdtyPage.getBGPriceDispFlg().equals("2")){
              out.write("<span class=\"price\">お問い合わせ下さい");
              out.write("</span>\r\n    ");
}else if(cmdtyPage.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("<span class=\"price\">ログイン表示");
              out.write("</span>\r\n    ");
}else{
              out.write("\r\n      ");
 String setUnitPrice = cmdtyPage.getSetUnitPriceWithoutTax(connection); 
              out.write("\r\n      ");
 String setDiscountUnitPrice = cmdtyPage.getSetDiscountUnitPriceWithoutTax(connection); 
              out.write("\r\n      ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
              out.write("\r\n        ");
              out.write("<span class=\"price\">￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>");
              out.write("</span>\r\n      ");
}else{
              out.write("\r\n      ");
              out.write("<span class=\"price\">");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>");
              out.write("</strike>");
              out.write("<br>\r\n        ");
              out.write("<span class=\"price\">VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("</span>");
              out.write("<span class=\"tax\">（税別）");
              out.write("</span>");
              out.write("</span>\r\n    ");
}}
              out.write("\r\n  ");
 } 
              out.write("\r\n  ");
              out.write("<span class=\"star\">　　　");
              out.write("</span>");
              out.write("<span class=\"starCount\">　　　");
              out.write("</span>\r\n  ");
              out.write("<input id=\"cartIndividualCodeTxt_");
              out.print(item_count);
              out.write("\"  name=\"cartIndividualCodeTxt_");
              out.print(item_count);
              out.write("\" type=\"hidden\" value=\"");
              out.print(cmdtyPage.getIndividualCode());
              out.write("\">\r\n  ");
              out.write("<script type=\"text/javascript\">\r\n    initAddMyCatalog(\"");
              out.print(cmdtyPage.getIndividualCode());
              out.write("\", \"");
              out.print(cmdtyPage.getMycatalogFlg());
              out.write("\", \"");
              out.print(item_count);
              out.write("\");\r\n  ");
              out.write("</script>\r\n");
              out.write("</li>");
              out.write("\r\n  ");
              out.write("<!--▲個別アイテム：ここまで▲-->\r\n  ");
              int evalDoAfterBody = _jspx_th_webshop_body_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_body_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_body.reuse(_jspx_th_webshop_body_0);
          out.write("\r\n  ");
}
          out.write("\r\n  ");
          /* ----  webshop:footer ---- */
          jp.co.sint.taglib.SIFooterTag _jspx_th_webshop_footer_0 = (jp.co.sint.taglib.SIFooterTag) _jspx_tagPool_webshop_footer.get(jp.co.sint.taglib.SIFooterTag.class);
          _jspx_th_webshop_footer_0.setPageContext(pageContext);
          _jspx_th_webshop_footer_0.setParent(_jspx_th_webshop_sipage_0);
          int _jspx_eval_webshop_footer_0 = _jspx_th_webshop_footer_0.doStartTag();
          if (_jspx_eval_webshop_footer_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\t\r\n    ");
              out.write("</ul>\r\n  ");
              out.write("</div>\r\n  ");
              out.write("<input name=\"actionNameTxt\" type=\"hidden\" value=\"");
              out.print(SIConfig.SIACTION_CART2);
              out.write("\">\r\n  ");
              out.write("<input id=\"cartIndividualCodeTxt\"  name=\"cartIndividualCodeTxt\" type=\"hidden\" value=\"\">\r\n  ");
              out.write("</form>\r\n  ");
              out.write("<!--▲▲リストここまで▲▲-->\r\n  ");
              out.write("<!--▼▼ページング▼▼-->\r\n  ");
if (mainColl.size() > 0){
              out.write("\r\n  ");
              out.write("<div id=\"pagingBottom\" class=\"paging color1 clr\">\r\n    ");
if(Integer.parseInt(mainID.getPageNumberTxt())>1){
              out.write("\r\n");
              out.write("<p class=\"pagePrev\">");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+SIUtil.sub(mainID.getPageNumberTxt(),"1")+sizeSortTxt);
              out.write("\">前へ");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("<ul class=\"pageNum typeFlat clr\">\r\n  ");
for (int i=mainID.getMinPageNumber(mainColl.size());i<=mainID.getMaxPageNumber(mainColl.size());i++){
              out.write("\r\n    ");
if(String.valueOf(i).equals(mainID.getPageNumberTxt())){
              out.write("\r\n    ");
              out.write("<li class=\"current\">");
              out.write("<span>");
              out.print(i);
              out.write("</span>");
              out.write("</li>\r\n    ");
}else{
              out.write("\r\n    ");
              out.write("<li>");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+String.valueOf(i)+sizeSortTxt);
              out.write("\">");
              out.print(i);
              out.write("</a>");
              out.write("</li>\r\n    ");
}
              out.write("\r\n  ");
}
              out.write("\r\n");
              out.write("</ul>\r\n");
if(Integer.parseInt(mainID.getPageNumberTxt()) < mainID.getMaxPageNumber(mainColl.size())){
              out.write("\r\n");
              out.write("<p class=\"pageNext\">");
              out.write("<a href=\"");
              out.print(webshopSite+loginSite+URL.toString()+"&pageNumberTxt="+SIUtil.add(mainID.getPageNumberTxt(),"1")+sizeSortTxt);
              out.write("\">次へ");
              out.write("</a>");
              out.write("</p>\r\n");
}
              out.write("\r\n");
              out.write("\r\n  ");
              out.write("</div>\r\n  ");
}
              out.write("\r\n  ");
              out.write("<!--▲▲ページング▲▲-->\r\n");
              out.write("</div>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_footer_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_footer_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_footer.reuse(_jspx_th_webshop_footer_0);
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_sipage_0.doAfterBody();
          index = (java.lang.Integer) pageContext.findAttribute("index");
          indexOnPage = (java.lang.Integer) pageContext.findAttribute("indexOnPage");
          cmdtyPage = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmdtyPage");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_sipage_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sipage_type_size_pageNum_onclick_id_collection.reuse(_jspx_th_webshop_sipage_0);
      out.write("\r\n");
      out.write("<!--▲商品一覧：ここまで▲-->\r\n\r\n");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n");
      out.write("<!--▼最近チェックした商品：ここから▼-->\r\n\r\n");
      out.write("<h2 class=\"recentitem-ttl\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mypage/a/list2\"  class=\"linkArrow\">最近チェックした商品");
      out.write("</a>");
      out.write("</h2>\r\n");
      out.write("<div id=\"recentItem\" class=\"colorBox2\">\r\n  ");
Collection commodityHistoryColl=jp.co.sint.servlet.front.SICommoditySrv.readCmdtyHistory(request,connection);
      out.write("\r\n  ");
      out.write("<ul class=\"itemList col-4 clr\">\r\n  ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_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(commodityHistoryColl.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    ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_6 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_6.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_6.setParent(_jspx_th_webshop_isFalse_3);
          _jspx_th_webshop_siiterator_6.setType("jp.co.sint.basic.SICmdty");
          _jspx_th_webshop_siiterator_6.setCollection(commodityHistoryColl);
          _jspx_th_webshop_siiterator_6.setId("historyID");
          _jspx_th_webshop_siiterator_6.setSize(4);
          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.SICmdty historyID = null;
            historyID = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("historyID");
            do {
              out.write("\r\n      ");
              out.write("<!--▼個別アイテム：ここから▼-->\r\n      ");
              out.write("<li class=\"itemList-item grid4\">\r\n        ");
              out.write("\r\n        ");
              out.write("<span class=\"thumb\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.write("<img src=\"");
              out.print(webshopSite);
              out.write("/image/cmdty/");
              out.print(historyID.getCmdtyCode());
              out.write("/");
              out.print(historyID.getCmdtyCode());
              out.write("_");
              out.print(historyID.getIndividualCode());
              out.write("_t.jpg\" width=\"68\" height=\"68\">");
              out.write("</a>");
              out.write("</span>\r\n        ");
              out.write("<span class=\"name\">");
              out.write("<a href=\"");
              out.print(cmdtySrvSite+"/"+historyID.getCmdtyCode()+"/"+historyID.getIndividualCode());
              out.write("\">");
              out.print(SIStringUtil.limitLength(SIHTMLUtil.HTMLEncode(historyID.getCmdtyName()),14,"…"));
              out.write("</a>");
              out.write("</span>\r\n          ");
if(historyID.isContractFlg()){
              out.write("\r\n            BG卸価：契約後表示\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("2")){
              out.write("\r\n            お問い合わせ下さい\r\n          ");
}else if(historyID.getBGPriceDispFlg().equals("1")&&SIHTMLUtil.getUserInfo(request).isNotLogin(request)){
              out.write("\r\n            BG卸価：ログイン表示\r\n          ");
}else{
              out.write("\r\n          ");
              out.write("<span class=\"price\">\r\n            ");
if (!historyID.isCmdtyComposition()){
              out.write("\r\n              ");
if(historyID.getFinalUnitPriceWithoutTax().equals(historyID.getUnitPriceWithoutTax())){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(historyID.getUnitPriceWithoutTax()));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：");
              out.write("<br>￥");
              out.print(SIUtil.NumberFormat(historyID.getFinalUnitPriceWithoutTax()));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}else{
              out.write("\r\n              ");
 String setUnitPrice = historyID.getSetUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
 String setDiscountUnitPrice = historyID.getSetDiscountUnitPriceWithoutTax(connection); 
              out.write("\r\n              ");
if(setUnitPrice.equals(setDiscountUnitPrice)){
              out.write("\r\n                ￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("\r\n              ");
}else{
              out.write("\r\n                ");
              out.write("<strike>￥");
              out.print(SIUtil.NumberFormat(setUnitPrice));
              out.write("</strike>");
              out.write("<br>\r\n                VIP特価：￥");
              out.print(SIUtil.NumberFormat(setDiscountUnitPrice));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
}
              out.write("\r\n          ");
              out.write("</span>\r\n          ");
}
              out.write("\r\n      ");
              out.write("</li>\r\n      ");
              out.write("<!--▲個別アイテム：ここまで▲-->\r\n    ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_6.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_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_size_id_collection.reuse(_jspx_th_webshop_siiterator_6);
          out.write("\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  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_3 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_3.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_3.setParent(null);
      _jspx_th_webshop_isTrue_3.setValue(commodityHistoryColl.size()==0);
      int _jspx_eval_webshop_isTrue_3 = _jspx_th_webshop_isTrue_3.doStartTag();
      if (_jspx_eval_webshop_isTrue_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<li>");
          out.write("<p>最近チェックした商品はありません");
          out.write("</p>");
          out.write("</li>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_3);
      out.write("\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!--▲最近チェックした商品：ここまで▲-->\r\n");
      out.write("\r\n");
      out.write("<!--▲最近チェックした商品：ここまで▲-->\r\n");
      out.write("<!--▼検索系：ここから▼-->\r\n");
 if (!"/advancedsearch".equals(loginSite)) { 
  // 詳細検索では表示しない

      out.write("\r\n");
      out.write("<div id=\"searchAreaEx\">\r\n  ");
      out.write("<ul id=\"plusSearch\" class=\"linkList withIcon\">\r\n    ");
      out.write("<li class=\"opener\">");
      out.write("<a href=\"#\">検索カテゴリを変更する");
      out.write("</a>\r\n");

String groupCode = loginSite.substring(1);
String titleStr = "";
String extension = "jpg";
String rankingInx = "1";
if (loginSite.equals("/hair")) {
  titleStr = "理美容器具/理美容用品";
  rankingInx = "1";
} else if (loginSite.equals("/haircosme")) {
  titleStr = "ヘアケア製品/頭髪用化粧品";
  rankingInx = "4";
} else if (loginSite.equals("/esthe")) {
  titleStr = "エステ機器/エステ用品";
  rankingInx = "11";
} else if (loginSite.equals("/bed")) {
  titleStr = "エステベッド/マッサージベッド";
  rankingInx = "15";
} else if (loginSite.equals("/cosme")) {
  titleStr = "エステ化粧品";
  rankingInx = "19";
} else if (loginSite.equals("/nail")) {
  titleStr = "ネイル商材";
  rankingInx = "27";
} else if (loginSite.equals("/eyelash")) {
  titleStr = "まつげエクステ商材";
  rankingInx = "29";
} else if (loginSite.equals("/book")) {
  titleStr = "本・DVD・CD";
  rankingInx = "33";
  extension = "gif";
}

      out.write("\r\n  ");
      out.write("<ul id=\"categoryList\" class=\"linkList withIcon\">\r\n    ");
int cnt = 0; String index = "00"; 
      out.write("\r\n    ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_7 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_7.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_7.setParent(null);
      _jspx_th_webshop_siiterator_7.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_7.setCollection(UICtgryGroup.getSpCtgryListCollForSearchCtgryInc(connection));
      _jspx_th_webshop_siiterator_7.setId("headID");
      int _jspx_eval_webshop_siiterator_7 = _jspx_th_webshop_siiterator_7.doStartTag();
      if (_jspx_eval_webshop_siiterator_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n      ");
if (groupCode.equals(headID.getValue().split(",")[1]) && ("/2".equals(headID.getValue().split(",")[0]) || "/9".equals(headID.getValue().split(",")[0]))) { 
             cnt++;
             index = String.valueOf(cnt);
             if (cnt < 10) {
               index = "0" + index;
             }
      
          out.write("\r\n        ");
          out.write("<li class=\"child\">\r\n        ");
          out.write("<a href=\"");
          out.print(webshopSite);
          out.print(loginSite);
          out.write("/ctgry/");
          out.print(headID.getValue().split(",")[2]);
          out.write("\">\r\n          ");
          out.write("<span class=\"icon\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/img/");
          out.print( groupCode );
          out.write("/img_category");
          out.print( index );
          out.write(".");
          out.print( extension );
          out.write("\" width=\"35\" height=\"35\" alt=\"\"/>");
          out.write("</span>\r\n          ");
          out.write("<span class=\"name\">");
          out.print(headID.getName());
          out.write("（");
          out.print( headID.getAmount() );
          out.write("）");
          out.write("</span>\r\n        ");
          out.write("</a>\r\n        ");
          out.write("</li>\r\n      ");
 } 
          out.write("\r\n    ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_7.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_7);
      out.write("\r\n  ");
      out.write("</ul>\r\n    ");
      out.write("</li>\r\n    ");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.advancedsearch"));
      out.write("\">詳細検索");
      out.write("</a>");
      out.write("</li>\r\n  ");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
 } 
      out.write("\r\n");
      out.write("<!--▲検索系：ここまで▲-->\r\n");
      out.write("<!--△メイン：ここまで△-->\r\n  ");
      out.write("\r\n");
}
      out.write("\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△メイン：ここまで△-->\r\n  ");
      out.write("<!--▽ページ下部共通：ここから▽-->\r\n  ");
      out.write("<!--▼フッタ：ここから▼-->\r\n  ");

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

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

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

Collection ctgryList = UICtgryGroup.getSpCtgryListColl(connection);
Collection makerColl = new ArrayList();
String searchSite = webshopSite+loginSite;
if (loginSite.equals("/hair")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_HAIR);
} else if (loginSite.equals("/haircosme")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_HAIRCOSME);
} else if (loginSite.equals("/esthe")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_ESTHE);
} else if (loginSite.equals("/bed")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_BED);
} else if (loginSite.equals("/cosme")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_COSME);
} else if (loginSite.equals("/nail")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_NAIL);
} else if (loginSite.equals("/eyelash")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_EYELASH);
} else if (loginSite.equals("/book")) {
  makerColl = UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_BOOK);
} else if (loginSite.equals("/used")) {
  makerColl = UIRegMaker.getFrontSearchCollection_Used(connection);
  searchSite = webshopSite+"/advancedsearch";
}

      out.write("\r\n");
      out.write("<!--▽モーダル用メーカー・ブランドで探す：ここから▽-->\r\n");
      out.write("<div id=\"brandContents\" class=\"modalContents\">\r\n  ");
      out.write("<div class=\"inner\">\r\n    ");
      out.write("<h2>メーカー・ブランドで探す");
      out.write("</h2>\r\n    ");
      out.write("<ul class=\"linkList\">\r\n      ");
      out.write("<span id=\"all\">\r\n      ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_9 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_9.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_9.setParent(null);
      _jspx_th_webshop_siiterator_9.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_9.setCollection(makerColl);
      _jspx_th_webshop_siiterator_9.setId("headID");
      int _jspx_eval_webshop_siiterator_9 = _jspx_th_webshop_siiterator_9.doStartTag();
      if (_jspx_eval_webshop_siiterator_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValue headID = null;
        headID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("headID");
        do {
          out.write("\r\n      ");
if (SIUtil.isNotNull(headID.getValue())){
          out.write("<li>");
          out.write("<a href=\"javascript:goToAdvanceSearch('");
          out.print( headID.getValue());
          out.write("', '");
          out.print( SIHTMLUtil.URLEncode(headID.getName()));
          out.write("');\">");
          out.print( headID.getName());
          out.write("</a>");
          out.write("</li>");
}
          out.write("\r\n      ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_9.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_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_9);
      out.write("\r\n      ");
      out.write("</span>\r\n    ");
      out.write("</ul>\r\n    ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("<form id=\"advancedSearch\" name=\"advancedSearch\" action=\"");
      out.print(searchSite);
      out.write("\" method=\"get\">\r\n  ");
      out.write("<input type=\"hidden\" id=\"maker\" name=\"maker\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" id=\"selectedBrand\"  name=\"selectedBrand\"  value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"srchWordTxt\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"ctc\" value=\"\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"selectDaiCtgry\" value=\"no\"/>\r\n  ");
      out.write("<input type=\"hidden\" name=\"selectTyuCtgry\" value=\"\"/>\r\n  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_4 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_4.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_4.setParent(null);
      _jspx_th_webshop_isTrue_4.setValue(loginSite.equals("/used"));
      int _jspx_eval_webshop_isTrue_4 = _jspx_th_webshop_isTrue_4.doStartTag();
      if (_jspx_eval_webshop_isTrue_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n  ");
          out.write("<input type=\"hidden\" name=\"usedNewFlgTxt\" value=\"used\"/>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_4);
      out.write("\r\n  ");
      out.write("<input type=\"hidden\" name=\"dispModeTxt\" value=\"2\"/>\r\n");
      out.write("</form>\r\n");
      out.write("<!--△モーダル用メーカー・ブランドで探す：ここまで△-->\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\n\r\nvar preCtgry = \"all\";\r\nvar changeCtgry = function(ctgry){\r\n  $(\"#\"+preCtgry).css(\"display\", \"none\");\r\n  $(\"#\"+preCtgry + \"Ctgry\").removeClass(\"selected\");\r\n  $(\"#\"+ctgry).css(\"display\", \"block\");\r\n  $(\"#\"+ctgry + \"Ctgry\").addClass(\"selected\");\r\n  preCtgry = ctgry;\r\n}\r\n\r\nvar goToAdvanceSearch = function(maker, selectedBrand) {\r\n  $(\"#maker\").val(maker);\r\n  $(\"#selectedBrand\").val(selectedBrand);\r\n  $(\"#advancedSearch\").submit();\r\n};\r\n\r\n//-->\r\n");
      out.write("</script>");
      out.write("\r\n  ");
      out.write("<!--△モーダル用メーカー・ブランドで探す：ここまで△-->\r\n  ");
      out.write("<!--▽モーダル用絞り込み検索：ここから▽-->\r\n    ");
      out.write("  ");
      out.write("<div id=\"addSearchContents\" class=\"modalContents\">\r\n    ");
      out.write("<div class=\"inner\">\r\n    ");
 if ("/advancedsearch".equals(loginSite)) { 
      out.write("\r\n      ");
      out.write("<h2>検索条件の変更");
      out.write("</h2>\r\n    ");
 } else { 
      out.write("\r\n      ");
      out.write("<h2>さらに絞り込む");
      out.write("</h2>\r\n    ");
 } 
      out.write("\r\n    ");
      out.write("<form>\r\n      ");
 Collection searchCtgryColl = new ArrayList();
       if (SIConfig.SICATEGORY_ROOT_CODE.equals(mainID.getCtgryCodeTxt())) {
         StringBuffer lSql1 = new StringBuffer();
         lSql1.append("SELECT 'すべて',ctgrycode,0 AS disporder FROM ctgrymtbl WHERE ctgrycode=").append(SIDBUtil.SQL2Str(SIConfig.SICATEGORY_ROOT_CODE," UNION "));
         lSql1.append("SELECT c.ctgryname,c.ctgrycode,g.disporder FROM ctgrymtbl c,ctgrygrouptbl g ");
         lSql1.append("WHERE c.ctgrycode=g.ctgrycode AND g.ctgrygroup=").append(SIDBUtil.SQL2Str(loginSite.substring(1)," "));
         for (int i=0;i<SIConfig.INVISIBLECTGRYS.length;i++){
           lSql1.append("AND c.ctgrycode<>").append(SIDBUtil.SQL2Str(SIConfig.INVISIBLECTGRYS[i]," "));
         }
         lSql1.append("ORDER BY disporder ");
         searchCtgryColl = SIDBUtil.getCollection(connection, lSql1.toString());
       }
       else searchCtgryColl = mainID.getChildCtgry(connection,loginSite);
      out.write("\r\n      ");
 if (loginSite.equals("/advancedsearch")) { 
      out.write("\r\n        ");
      out.write("<fieldset>\r\n          ");
      out.write("<legend>カテゴリ");
      out.write("</legend>\r\n          ");
      out.write("<div class=\"inner2\">\r\n          ");
      out.write("<div class=\"downArrow\">\r\n          ");
      out.write("<select id=\"dCtgry\" class=\"w100\" onchange=\"changeDaiCtgry();\">\r\n            ");
      out.write("<option value=\"no\" title=\"大カテゴリ選択\">大カテゴリ選択");
      out.write("</option>\r\n            ");
 Collection collection = UICtgryGroup.getSpCtgryListColl(connection); 
      out.write("\r\n            ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_10 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_10.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_10.setParent(null);
      _jspx_th_webshop_siiterator_10.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_10.setCollection(collection);
      _jspx_th_webshop_siiterator_10.setId("headID");
      int _jspx_eval_webshop_siiterator_10 = _jspx_th_webshop_siiterator_10.doStartTag();
      if (_jspx_eval_webshop_siiterator_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n            ");
 if ("/".equals(headID.getValue().split(",")[0])) { 
          out.write("\r\n              ");
if (headID.getValue().split(",")[0].equals(mainID.getCtgryCodeTxt())&&headID.getValue().split(",")[1].equals(mainID.getActive())){
          out.write("\r\n                ");
          out.write("<option value=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\" selected>");
          out.print(headID.getName());
          out.write("</option>\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<option value=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\">");
          out.print(headID.getName());
          out.write("</option>\r\n              ");
}
          out.write("\r\n            ");
}
          out.write("\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_10.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_10);
      out.write("\r\n          ");
      out.write("</select>\r\n          ");
      out.write("</div>\r\n          ");
      out.write("<select id=\"tCtgry_no\" class=\"w100\" style=\"display:none;\">\r\n            ");
      out.write("<option value=\"\">----");
      out.write("</option>\r\n          ");
      out.write("</select>\r\n          ");
 String[] ctgry = {"hair", "haircosme", "esthe","bed", "cosme", "nail", "eyelash", "book"}; 
          for (int i = 0; i < ctgry.length; i++) { 
      out.write("\r\n          ");
      out.write("<select id=\"tCtgry_");
      out.print( ctgry[i] );
      out.write("\" class=\"w100\" style=\"display:none;\" onchange=\"selectCtgry(this);\">\r\n            ");
      out.write("<option value=\"\">----");
      out.write("</option>\r\n            ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_11 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_11.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_11.setParent(null);
      _jspx_th_webshop_siiterator_11.setType("jp.co.sint.basic.SINameValueForSP");
      _jspx_th_webshop_siiterator_11.setCollection(collection);
      _jspx_th_webshop_siiterator_11.setId("headID");
      int _jspx_eval_webshop_siiterator_11 = _jspx_th_webshop_siiterator_11.doStartTag();
      if (_jspx_eval_webshop_siiterator_11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValueForSP headID = null;
        headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
        do {
          out.write("\r\n            ");
if (headID.getValue().split(",")[1].equals(ctgry[i]) && !"/".equals(headID.getValue().split(",")[0]) ){ 
          out.write("\r\n              ");
if (headID.getValue().split(",")[0].equals(mainID.getCtgryCodeTxt())&&headID.getValue().split(",")[1].equals(mainID.getActive())){
          out.write("\r\n                ");
          out.write("<option value=\"");
          out.print(headID.getValue().split(",")[2]);
          out.write("\" title=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\" selected>");
          out.print(headID.getName());
          out.write("</option>\r\n              ");
}else{
          out.write("\r\n                ");
          out.write("<option value=\"");
          out.print(headID.getValue().split(",")[2]);
          out.write("\" title=\"");
          out.print(headID.getValue().split(",")[1]);
          out.write("\">");
          out.print(headID.getName());
          out.write("</option>\r\n              ");
}
          out.write("\r\n            ");
} 
          out.write("\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_11.doAfterBody();
          headID = (jp.co.sint.basic.SINameValueForSP) pageContext.findAttribute("headID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_11);
      out.write("\r\n          ");
      out.write("</select>\r\n          ");
} 
      out.write("\r\n          ");
      out.write("<input type=\"hidden\" id=\"ctc\" name=\"ctc\" value=\"");
      out.print( mainID.getCtgryCodeTxt() );
      out.write("\" />\r\n          ");
      out.write("</div>\r\n        ");
      out.write("</fieldset>\r\n      ");
 } else if (searchCtgryColl!=null&&searchCtgryColl.size()>0){ 
      out.write("\r\n        ");
      out.write("<fieldset>\r\n          ");
      out.write("<legend>カテゴリで絞り込む");
      out.write("</legend>\r\n          ");
      out.write("<div class=\"inner2\">\r\n          ");
      out.write("<select id=\"ctgrySelect\" class=\"w100\" onChange=\"ctgryChange();\">\r\n          ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_12 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_12.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_12.setParent(null);
      _jspx_th_webshop_siiterator_12.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_12.setCollection(searchCtgryColl);
      _jspx_th_webshop_siiterator_12.setId("ctgryID");
      int _jspx_eval_webshop_siiterator_12 = _jspx_th_webshop_siiterator_12.doStartTag();
      if (_jspx_eval_webshop_siiterator_12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValue ctgryID = null;
        ctgryID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("ctgryID");
        do {
          out.write("\r\n            ");
          out.write("<option value=\"");
          out.print(ctgryID.getValue());
          out.write("\">");
          out.print(SIHTMLUtil.HTMLEncode(ctgryID.getName()));
          out.write("</option>\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_12.doAfterBody();
          ctgryID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("ctgryID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_12);
      out.write("\r\n          ");
      out.write("</select>\r\n          ");
      out.write("</div>\r\n        ");
      out.write("</fieldset>\r\n      ");
 } 
      out.write("\r\n      ");
      out.write("<fieldset>\r\n        ");
      out.write("<legend>メーカー/ブランドで絞り込む");
      out.write("</legend>\r\n        ");
      out.write("<div class=\"inner2\" style=\"width:280px;\">\r\n        ");
 if (loginSite.equals("/advancedsearch")) {
             String defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker());
        
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_1 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_1.setPageContext(pageContext);
      _jspx_th_webshop_siselect_1.setParent(null);
      _jspx_th_webshop_siselect_1.setName("makerSelect_no");
      _jspx_th_webshop_siselect_1.setDefault(defaultValue);
      _jspx_th_webshop_siselect_1.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),0));
      _jspx_th_webshop_siselect_1.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_no')\"");
      int _jspx_eval_webshop_siselect_1 = _jspx_th_webshop_siselect_1.doStartTag();
      if (_jspx_th_webshop_siselect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_1);
      out.write("\r\n          ");
 defaultValue = ""; if ("hair".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_2 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_2.setPageContext(pageContext);
      _jspx_th_webshop_siselect_2.setParent(null);
      _jspx_th_webshop_siselect_2.setName("makerSelect_hair");
      _jspx_th_webshop_siselect_2.setDefault(defaultValue);
      _jspx_th_webshop_siselect_2.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_HAIR));
      _jspx_th_webshop_siselect_2.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_hair')\"");
      int _jspx_eval_webshop_siselect_2 = _jspx_th_webshop_siselect_2.doStartTag();
      if (_jspx_th_webshop_siselect_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_2);
      out.write("\r\n          ");
 defaultValue = ""; if ("haircosme".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_3 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_3.setPageContext(pageContext);
      _jspx_th_webshop_siselect_3.setParent(null);
      _jspx_th_webshop_siselect_3.setName("makerSelect_haircosme");
      _jspx_th_webshop_siselect_3.setDefault(defaultValue);
      _jspx_th_webshop_siselect_3.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_HAIRCOSME));
      _jspx_th_webshop_siselect_3.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_haircosme')\"");
      int _jspx_eval_webshop_siselect_3 = _jspx_th_webshop_siselect_3.doStartTag();
      if (_jspx_th_webshop_siselect_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_3);
      out.write("\r\n          ");
 defaultValue = ""; if ("esthe".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_4 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_4.setPageContext(pageContext);
      _jspx_th_webshop_siselect_4.setParent(null);
      _jspx_th_webshop_siselect_4.setName("makerSelect_esthe");
      _jspx_th_webshop_siselect_4.setDefault(defaultValue);
      _jspx_th_webshop_siselect_4.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_ESTHE));
      _jspx_th_webshop_siselect_4.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_esthe')\"");
      int _jspx_eval_webshop_siselect_4 = _jspx_th_webshop_siselect_4.doStartTag();
      if (_jspx_th_webshop_siselect_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_4);
      out.write("\r\n          ");
 defaultValue = ""; if ("bed".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_5 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_5.setPageContext(pageContext);
      _jspx_th_webshop_siselect_5.setParent(null);
      _jspx_th_webshop_siselect_5.setName("makerSelect_bed");
      _jspx_th_webshop_siselect_5.setDefault(defaultValue);
      _jspx_th_webshop_siselect_5.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_BED));
      _jspx_th_webshop_siselect_5.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_bed')\"");
      int _jspx_eval_webshop_siselect_5 = _jspx_th_webshop_siselect_5.doStartTag();
      if (_jspx_th_webshop_siselect_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_5);
      out.write("\r\n          ");
 defaultValue = ""; if ("cosme".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_6 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_6.setPageContext(pageContext);
      _jspx_th_webshop_siselect_6.setParent(null);
      _jspx_th_webshop_siselect_6.setName("makerSelect_cosme");
      _jspx_th_webshop_siselect_6.setDefault(defaultValue);
      _jspx_th_webshop_siselect_6.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_COSME));
      _jspx_th_webshop_siselect_6.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_cosme')\"");
      int _jspx_eval_webshop_siselect_6 = _jspx_th_webshop_siselect_6.doStartTag();
      if (_jspx_th_webshop_siselect_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_6);
      out.write("\r\n          ");
 defaultValue = ""; if ("nail".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_7 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_7.setPageContext(pageContext);
      _jspx_th_webshop_siselect_7.setParent(null);
      _jspx_th_webshop_siselect_7.setName("makerSelect_nail");
      _jspx_th_webshop_siselect_7.setDefault(defaultValue);
      _jspx_th_webshop_siselect_7.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_NAIL));
      _jspx_th_webshop_siselect_7.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_nail')\"");
      int _jspx_eval_webshop_siselect_7 = _jspx_th_webshop_siselect_7.doStartTag();
      if (_jspx_th_webshop_siselect_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_7);
      out.write("\r\n          ");
 defaultValue = ""; if ("book".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_8 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_8.setPageContext(pageContext);
      _jspx_th_webshop_siselect_8.setParent(null);
      _jspx_th_webshop_siselect_8.setName("makerSelect_book");
      _jspx_th_webshop_siselect_8.setDefault(defaultValue);
      _jspx_th_webshop_siselect_8.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_BOOK));
      _jspx_th_webshop_siselect_8.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_book')\"");
      int _jspx_eval_webshop_siselect_8 = _jspx_th_webshop_siselect_8.doStartTag();
      if (_jspx_th_webshop_siselect_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_8);
      out.write("\r\n          ");
 defaultValue = ""; if ("eyelash".equals(mainID.getActive()))  defaultValue = SIHTMLUtil.HTMLEncode(mainID.getMaker()); 
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_9 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_9.setPageContext(pageContext);
      _jspx_th_webshop_siselect_9.setParent(null);
      _jspx_th_webshop_siselect_9.setName("makerSelect_eyelash");
      _jspx_th_webshop_siselect_9.setDefault(defaultValue);
      _jspx_th_webshop_siselect_9.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),SIConfig.CTGRYGROUP_INX_EYELASH));
      _jspx_th_webshop_siselect_9.setAttributesText("style=\"display:none;\" onChange=\"makerChange('_eyelash')\"");
      int _jspx_eval_webshop_siselect_9 = _jspx_th_webshop_siselect_9.doStartTag();
      if (_jspx_th_webshop_siselect_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_9);
      out.write("\r\n        ");
 } else {
             int group = 0;
             if (loginSite.equals("/hair")) {
               group = SIConfig.CTGRYGROUP_INX_HAIR;
             } else if (loginSite.equals("/haircosme")) {
               group = SIConfig.CTGRYGROUP_INX_HAIRCOSME;
             } else if (loginSite.equals("/esthe")) {
               group = SIConfig.CTGRYGROUP_INX_ESTHE;
             } else if (loginSite.equals("/bed")) {
               group = SIConfig.CTGRYGROUP_INX_BED;
             } else if (loginSite.equals("/cosme")) {
               group = SIConfig.CTGRYGROUP_INX_COSME;
             } else if (loginSite.equals("/nail")) {
               group = SIConfig.CTGRYGROUP_INX_NAIL;
             } else if (loginSite.equals("/book")) {
               group = SIConfig.CTGRYGROUP_INX_BOOK;
             } else if (loginSite.equals("/eyelash")) {
               group = SIConfig.CTGRYGROUP_INX_EYELASH;
             }
          
      out.write("\r\n          ");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_10 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_10.setPageContext(pageContext);
      _jspx_th_webshop_siselect_10.setParent(null);
      _jspx_th_webshop_siselect_10.setName("makerSelect");
      _jspx_th_webshop_siselect_10.setDefault(SIHTMLUtil.HTMLEncode(mainID.getMaker()));
      _jspx_th_webshop_siselect_10.setCollection(UIRegMaker.getFrontSearchCollection(connection,mainID.getCtgryCodeTxt(),group));
      _jspx_th_webshop_siselect_10.setAttributesText("onChange=\"makerChange('')\"");
      int _jspx_eval_webshop_siselect_10 = _jspx_th_webshop_siselect_10.doStartTag();
      if (_jspx_th_webshop_siselect_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_attributesText_nobody.reuse(_jspx_th_webshop_siselect_10);
      out.write("\r\n        ");
 } 
      out.write("\r\n        ");
      out.write("</div>\r\n      ");
      out.write("</fieldset>\r\n      ");
      out.write("<fieldset>\r\n        ");
      out.write("<legend>価格で絞り込む");
      out.write("</legend>\r\n        ");
      out.write("<div class=\"inner2\">\r\n          ");
      out.write("<div class=\"priceText inputArea\">\r\n            ");
      out.write("<input type=\"text\" id=\"priceLow\" class=\"priceLow\" onblur=\"setPrice('1')\"> ～ ");
      out.write("<input type=\"text\"  id=\"priceHigh\" class=\"priceHigh\" onblur=\"setPrice('1')\">\r\n          ");
      out.write("</div>\r\n          ");
      out.write("<div class=\"priceSelect inputArea\">\r\n            ");
      out.write("<select id=\"priceListLow\" class=\"priceListLow\" onChange=\"setPrice('2')\">\r\n              ");
      out.write("<option value=\"\" selected>下限なし");
      out.write("</option>\r\n              ");
      out.write("<option value='1000'>1,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='2000'>2,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='3000'>3,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='4000'>4,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='5000'>5,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='6000'>6,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='7000'>7,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='8000'>8,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='9000'>9,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='10000'>10,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='15000'>15.000円");
      out.write("</option>\r\n              ");
      out.write("<option value='20000'>20,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='25000'>25,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='30000'>30,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='35000'>35,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='40000'>40,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='45000'>45,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='50000'>50,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='55000'>55,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='60000'>60,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='65000'>65,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='70000'>70,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='75000'>75,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='80000'>80,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='85000'>85,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='90000'>90,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='95000'>95,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='100000'>100,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='110000'>110,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='120000'>120,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='130000'>130,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='140000'>140,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='150000'>150,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='160000'>160,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='170000'>170,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='180000'>180,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='190000'>190,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='200000'>200,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='250000'>250,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='300000'>300,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='350000'>350,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='400000'>400,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='450000'>450,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='500000'>500,000円");
      out.write("</option>\r\n            ");
      out.write("</select>\r\n             ～\r\n            ");
      out.write("<select id=\"priceListHigh\" class=\"priceListHigh\" onChange=\"setPrice('2')\">\r\n              ");
      out.write("<option value='1000'>1,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='2000'>2,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='3000'>3,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='4000'>4,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='5000'>5,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='6000'>6,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='7000'>7,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='8000'>8,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='9000'>9,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='10000'>10,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='15000'>15.000円");
      out.write("</option>\r\n              ");
      out.write("<option value='20000'>20,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='25000'>25,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='30000'>30,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='35000'>35,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='40000'>40,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='45000'>45,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='50000'>50,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='55000'>55,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='60000'>60,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='65000'>65,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='70000'>70,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='75000'>75,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='80000'>80,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='85000'>85,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='90000'>90,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='95000'>95,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='100000'>100,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='110000'>110,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='120000'>120,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='130000'>130,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='140000'>140,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='150000'>150,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='160000'>160,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='170000'>170,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='180000'>180,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='190000'>190,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='200000'>200,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='250000'>250,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='300000'>300,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='350000'>350,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='400000'>400,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='450000'>450,000円");
      out.write("</option>\r\n              ");
      out.write("<option value='500000'>500,000円");
      out.write("</option>\r\n              ");
      out.write("<option value=\"\" selected>上限なし");
      out.write("</option>\r\n            ");
      out.write("</select>\r\n          ");
      out.write("</div>\r\n          ");
      out.write("<div class=\"priceToggle\">\r\n            ");
      out.write("<div class=\"priceText\">\r\n            ");
      out.write("<a href=\"javascript:void(0);\">≫価格を選択する");
      out.write("</a>\r\n              ");
      out.write("</div>\r\n              ");
      out.write("<div class=\"priceSelect\">\r\n            ");
      out.write("<a href=\"javascript:void(0);\">≫価格を入力する");
      out.write("</a>\r\n              ");
      out.write("</div>\r\n          ");
      out.write("</div>\r\n        ");
      out.write("</div>\r\n      ");
      out.write("</fieldset>\r\n      ");
      out.write("<fieldset>\r\n        ");
      out.write("<legend>種別で絞り込む");
      out.write("</legend>\r\n        ");
      out.write("<div class=\"inner2\">\r\n         ");
      out.write("<span class=\"radioWrap\">");
      out.write("<input type=\"radio\" value=\"all\" name=\"usedNewFlg\"  onclick=\"clickRadio();\" ");
if(mainID.getUsedNewFlgTxt().equals("all")){
      out.write("checked");
 } 
      out.write(">");
      out.write("<label for=\"\">すべて");
      out.write("</label>");
      out.write("</span>\r\n         ");
      out.write("<span class=\"radioWrap\">");
      out.write("<input type=\"radio\" value=\"new\" name=\"usedNewFlg\" onclick=\"clickRadio();\" ");
if(mainID.getUsedNewFlgTxt().equals("new")){
      out.write("checked");
 } 
      out.write(">");
      out.write("<label for=\"\">新品");
      out.write("</label>");
      out.write("</span>\r\n         ");
      out.write("<span class=\"radioWrap\">");
      out.write("<input type=\"radio\" value=\"outlet\" name=\"usedNewFlg\" onclick=\"clickRadio();\" ");
if(mainID.getUsedNewFlgTxt().equals("outlet")){
      out.write("checked");
 } 
      out.write(">");
      out.write("<label for=\"\">アウトレット");
      out.write("</label>");
      out.write("</span>\r\n         ");
      out.write("<span class=\"radioWrap\">");
      out.write("<input type=\"radio\" value=\"used\" name=\"usedNewFlg\" onclick=\"clickRadio();\" ");
if(mainID.getUsedNewFlgTxt().equals("used")){
      out.write("checked");
 } 
      out.write(">");
      out.write("<label for=\"\">中古品");
      out.write("</label>");
      out.write("</span>\r\n         ");
      out.write("<span class=\"radioWrap\">");
      out.write("<input type=\"radio\" value=\"spused\" name=\"usedNewFlg\" onclick=\"clickRadio();\" ");
if(mainID.getUsedNewFlgTxt().equals("spused")){
      out.write("checked");
 } 
      out.write(">");
      out.write("<label for=\"\">BG認定中古品");
      out.write("</label>");
      out.write("</span>\r\n        ");
      out.write("</div>\r\n      ");
      out.write("</fieldset>\r\n      ");
      out.write("<fieldset>\r\n        ");
      out.write("<legend>キーワードで絞り込む");
      out.write("</legend>\r\n        ");
      out.write("<div class=\"inner\" style=\"padding:10px;\">\r\n          ");
      out.write("<input type=\"text\" class=\"w100\" id=\"srchWord\" name=\"srchWord\" onblur=\"setSrchWordTxt();\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(srchKeyList.getSrchWordTxt()));
      out.write("\">\r\n        ");
      out.write("</div>\r\n      ");
      out.write("</fieldset>            \r\n      ");
      out.write("<div class=\"inner2\">\r\n      ");
      out.write("<input type=\"submit\" value=\"検索\" id=\"advancedSearchSubmit\" class=\"btnBl w80\" onclick=\"search(); return false;\">\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</form>\r\n      ");
      out.write("<p class=\"modalClose\">閉じる");
      out.write("</p>\r\n    ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("<!-- \r\nfunction clickRadio() {\r\n  var value = $(\"input:radio[name='usedNewFlg']:checked\").val();\r\n  $(\"#usedNewFlgTxt\").val(value);\r\n}\r\n\r\nfunction ctgryChange() {\r\n  var value = $(\"#ctgrySelect\").val();\r\n  $(\"#ctc\").val(value);\r\n}\r\n\r\nfunction makerChange(ctgry) {\r\n  var value = $(\"select[name=makerSelect\" + ctgry + \"]\").val();\r\n  $(\"#maker\").val(value);\r\n}\r\n\r\nfunction setPrice(flg) {\r\n  var priceFrom = \"\";\r\n  var priceTo = \"\";\r\n  if (flg == \"1\") {\r\n    // テキストボックスの場合\r\n    priceFrom = $(\"#priceLow\").val();\r\n    priceTo = $(\"#priceHigh\").val();\r\n  } else {\r\n    // セレクトボックスの場合\r\n    priceFrom = $(\"#priceListLow\").val();\r\n    priceTo = $(\"#priceListHigh\").val();\r\n  }\r\n  $(\"#priceFrom\").val(priceFrom);\r\n  $(\"#priceTo\").val(priceTo);\r\n  $(\"#priceSelectFlg\").val(flg);\r\n}\r\n\r\nfunction setSrchWordTxt() {\r\n  $(\"#srchWordTxt\").val($(\"#srchWord\").val());\r\n}\r\n\r\nfunction init() {\r\n  $(\"#ctgrySelect\").val(\"");
      out.print(mainID.getCtgryCodeTxt());
      out.write("\")\r\n  $(\"#maker\").val(\"");
      out.print(mainID.getMaker());
      out.write("\")\r\n\r\n  var priceSelectFlg = $(\"#priceSelectFlg\").val();\r\n  if (priceSelectFlg == \"\") {\r\n    priceSelectFlg = \"2\";\r\n    $(\"#priceSelectFlg\").val(\"2\")\r\n  }\r\n  \r\n  if (priceSelectFlg == \"1\") {\r\n    $(\".priceToggle .priceSelect\").trigger(\"click\");\r\n    $(\"#priceLow\").val(\"");
      out.print(mainID.getPriceFrom());
      out.write("\");\r\n    $(\"#priceHigh\").val(\"");
      out.print(mainID.getPriceTo());
      out.write("\");\r\n  } else {\r\n    $(\"#priceListLow\").val(\"");
      out.print(mainID.getPriceFrom());
      out.write("\");\r\n    $(\"#priceListHigh\").val(\"");
      out.print(mainID.getPriceTo());
      out.write("\");\r\n  }\r\n}\r\ninit();\r\n-->\r\n");
      out.write("</script>");
      out.write("\r\n  ");
      out.write("<!--▽モーダル用絞り込み検索：ここまで△-->\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△モーダル：ここまで△-->\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

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

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

  private boolean _jspx_meth_webshop_recordCount_0(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_header_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:recordCount ---- */
    jp.co.sint.taglib.SIRecordCountTag _jspx_th_webshop_recordCount_0 = (jp.co.sint.taglib.SIRecordCountTag) _jspx_tagPool_webshop_recordCount_nobody.get(jp.co.sint.taglib.SIRecordCountTag.class);
    _jspx_th_webshop_recordCount_0.setPageContext(pageContext);
    _jspx_th_webshop_recordCount_0.setParent(_jspx_th_webshop_header_0);
    int _jspx_eval_webshop_recordCount_0 = _jspx_th_webshop_recordCount_0.doStartTag();
    if (_jspx_th_webshop_recordCount_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_recordCount_nobody.reuse(_jspx_th_webshop_recordCount_0);
    return false;
  }
}
