package org.apache.jsp;

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

public class i_ctgry_list_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(4);
    _jspx_includes.add("/mobile/imode/cmdty/../include/i_header_inc.jsp");
    _jspx_includes.add("/mobile/imode/cmdty/../../common/searchctgry_inc.jsp");
    _jspx_includes.add("/mobile/imode/cmdty/../include/i_nav_inc.jsp");
    _jspx_includes.add("/mobile/imode/cmdty/../include/i_footer_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;

  public i_ctgry_list_jsp() {
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
  }

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

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


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../util/i_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-2007 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : i_ctgry_list.jsp,v 1.0 2007/01/26 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : 商品リスト用のトップ画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Naotaka        2007/01/26  Original
 */

      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

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

String currCtgryCode=cmdtyListID.getCtgryCodeTxt();
if(currCtgryCode.equals(SIConfig.SICATEGORY_ROOT_CODE)){
  currCtgryCode = "";
}
//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
//カテゴリの条件SQL文の設定
cmdtyListID.setCtgryConditionSQLL("c2",currCtgryCode);
//商品リストの取得
Collection cmdtyColl=cmdtyListID.getCollection(connection,request);
//各ｻｲﾄの設定(common)
String webshopSite=SIHTMLUtil.getRootPath(request);
String cmdtyListSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.imode.cmdty.list");
String cmdtyDetailSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.imode.cmdty.detail");
String rsrvSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.imode.reserve");
StringBuffer queryBuf=new StringBuffer();
queryBuf.append("a=").append(SIConfig.SIACTION_LIST);

if (SIUtil.isNotNull(cmdtyListID.getSrchWordTxt())){
  queryBuf.append("&srchWordTxt="+SIHTMLUtil.URLEncode(cmdtyListID.getSrchWordTxt()));
}
if (SIUtil.isNotNull(currCtgryCode)){
  queryBuf.append("&ctc="+SIHTMLUtil.URLEncode(currCtgryCode));
}
queryBuf.append("&cmdtyFlagTxt="+SIHTMLUtil.URLEncode(cmdtyListID.getCmdtyFlagTxt()));
queryBuf.append("&radioButton="+SIHTMLUtil.URLEncode(cmdtyListID.getSrchKey().getRadioButton()));
queryBuf.append("&cmdtySortSel="+SIHTMLUtil.URLEncode(cmdtyListID.getCmdtySortSel()));
//会員値引き率をセット
SIUserInfo userLogin=SIHTMLUtil.getUserInfo(request);
String discountRate="0";
if(userLogin.isLogin(request)){
discountRate = userLogin.getDiscountRate();
}

      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=SHIFT_JIS\">\r\n");
      out.write("<meta name=\"keywords\" content=\"美容器具,美容機器,エステ機器,エステ用品,中古,リサイクル,アウトレット,通販,BEAUTY GARAGE,ビューティガレージ\" />\r\n");
      out.write("<meta name=\"description\" content=\"日本最大級のプロ向け理美容器具・エステ機器・ネイル用品・化粧品の卸・通販サイト。器具から消耗品・化粧品まで、理美容・エステに必要なモノはなんでも揃います！\" />\r\n");
      out.write("<title>");
      out.print(SIHTMLUtil.HTMLEncode(SIConfig.SIMALL.getFrontShopName()));
      out.write(" | BEAUTY GARAGE");
      out.write("</title>\r\n");
      out.write("<!-- mc-marker convert-insert when='CAR == SMART' :: \r\n");
      out.write("<meta http-equiv=\"content-script-type\" content=\"text/javascript\" />  \r\n");
      out.write("<meta http-equiv=\"content-style-type\" content=\"text/css\" />\r\n");
      out.write("<script src=\"");
      out.print(webshopSite);
      out.write("/mobile/common/sp.js\" type=\"text/javascript\">");
      out.write("</script>\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/mobile/common/sp.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen,print\" />\r\n -->\r\n \r\n  ");
      out.write("<!-- ★★★ 追加CSS・JS ★★★ -->\r\n");
      out.write("<!-- mc-marker convert-insert :: \r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/mobile/common/cmn.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/mobile/common/header.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n -->\r\n");
      out.write("</head>\r\n");
      out.write("<body bgcolor=\"white\">\r\n");
      out.write("<!-- mc-marker non-simple-custom -->\r\n\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("<SCRIPT type=\"text/javascript\">setTimeout(\"link()\", 0); function link(){location.href='http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/main';}");
      out.write("</SCRIPT> -->\r\n\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("<a href=\"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/main\"> -->");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/sp_renew_banner.png\" width=\"100%\" alt=\"スマートフォンサイト全面リニューアル！！新サイトはコチラ\" style=\"margin-bottom: 10px; overflow: hidden; display: block;\"> -->");
      out.write("<!-- mc-marker insert :: ");
      out.write("</a>\r\n -->\r\n  \r\n");
      out.write("<!-- mc-marker remove-begin -->\r\n");
      out.write("<img src=\"/ws/img/mobile/bglogo.gif\" alt=\"BEAUTY GARAGE\">");
      out.write("<br>\r\n");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("<!-- ★★★ 新規挿入ヘッダー(2階層目以降Ver.) ★★★ -->\r\n");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<header class=\"under\">\r\n");
      out.write("<h1>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.main"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/header/img_h1_under.png\" width=\"100%\" alt=\"BEAUTY GARAGE\">");
      out.write("</a>");
      out.write("</h1>\r\n");
      out.write("<ul>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.customer.menu"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/header/btn_mypage.png\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.imode.customer.hist"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/header/btn_history.png\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.cart"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/header/btn_cart.png\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("<div class=\"bg_clr\">&nbsp;");
      out.write("</div>\r\n");
      out.write("</header> -->\r\n");

response.setHeader("Expires", "-1");
response.addHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("max-age", 0);

      out.write("\r\n\r\n");
      out.write("<font size=\"3\" color=\"black\">");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyListID.getDisplayTitleName()));
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("</p> -->\r\n");
if(cmdtyColl.size()==0){
      out.write("\r\n");
      out.write("</center>\r\n");
      out.write("<hr size=\"1\" color=\"blue\">\r\n");
      out.write("<font size=\"2\" color=\"black\">登録されている商品がありません。");
      out.write("</font>\r\n");
}else{
      out.write("\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.print(cmdtyColl.size());
      out.write("件");
      out.write("</font>");
      out.write("<br>\r\n");
String mother = SIDBUtil.getFirstData(connection,"SELECT parentCtgryCode From ctgrymtbl WHERE ctgryCode='"+cmdtyListID.getCtgryCodeTxt()+"'");
if(SIUtil.isNull(mother)){
      out.write("\r\n");
      out.write("<br>");
      out.write("<font color=\"gray\">◆ｶﾃｺﾞﾘ一覧");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#eda305\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIR]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getHairCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#2ea4cb\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIRCOSME]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table> \r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getHairCosmeCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#f2303a\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_ESTHE]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table> \r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getEstheCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#2dbf22\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table> \r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getBedCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#ff579d\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_COSME]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table> \r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getCosmeCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"#d073ff\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_NAIL]));
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table> \r\n");
      out.write("<font size=\"2\">");
      out.print(UICtgryGroup.getNailCtgryPlateMobile(connection,cmdtyListSrvSite));
      out.write("</font>\r\n");
      out.write("<font size=\"1\">");
      out.write("<br>&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");
}else{
  String lSql = SICtgry.getChildListSql(cmdtyListID.getCtgryCodeTxt());
  Collection ctgryColl = SIDBUtil.getCollectionHankaku(connection,lSql);
  if(ctgryColl.size()>0 && SIUtil.isNull(cmdtyListID.getMaker())){

      out.write("\r\n");
      out.write("<!-- mc-marker remove-begin when='CAR == SMART' -->  \t\r\n");
      out.write("<br>");
      out.write("<font color=\"gray\">◆詳細ｶﾃｺﾞﾘで絞込み");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<!-- mc-marker remove-end -->\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(SIStringUtil.isBelong(SIConfig.MAKERCTGRY,cmdtyListID.getCtgryCodeTxt()));
      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("<!-- mc-marker menu-begin mcsp='fi_bd' style='01' color='df02' open=''  font='01' -->\r\n");
          out.write("<br>");
          out.write("<font color=\"gray\">◆ﾌﾞﾗﾝﾄﾞで絞込み");
          out.write("</font>\r\n");
if (userLogin.isLogin(request)) {lSql = SIMaker.getChildListSql(cmdtyListID.getCtgryCodeTxt());
} else {lSql = SIMaker.getChildListSql2(cmdtyListID.getCtgryCodeTxt());}
Collection makerListColl = SIDBUtil.getCollectionHankaku(connection,lSql);
          out.write("\r\n");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_0.setParent(_jspx_th_webshop_isTrue_0);
          _jspx_th_webshop_siiterator_0.setId("ctgryID");
          _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SINameValue");
          _jspx_th_webshop_siiterator_0.setCollection(makerListColl);
          int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
          if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SINameValue ctgryID = null;
            ctgryID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("ctgryID");
            do {
              out.write("\r\n");
              out.write("<font color=\"blue\">○");
              out.write("<a href=\"");
              out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_LIST+"&ctc="+cmdtyListID.getCtgryCodeTxt()+"&maker="+ctgryID.getValue());
              out.write("\">");
              out.print(ctgryID.getName());
              out.write("</a>");
              out.write("</font>");
              out.write("<br>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_0.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_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");
          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("<!-- mc-marker menu-end -->");
      out.write("<br>\r\n");
      out.write("<!-- mc-marker convert-insert when='CAR == SMART' :: \r\n  \t \t");
      out.write("<table width=\"100%\" BGCOLOR=\"#235ba9\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"white\">◆詳細ｶﾃｺﾞﾘで絞込み");
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n-->\r\n\r\n");
      out.write("<!-- mc-marker insert when='CAR == SMART' :: ");
      out.write("<div id=\"look-ahead\"> -->\r\n\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_1.setParent(null);
      _jspx_th_webshop_siiterator_1.setId("ctgryID");
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_1.setCollection(ctgryColl);
      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.SINameValue ctgryID = null;
        ctgryID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("ctgryID");
        do {
          out.write("\r\n");
 String CtgryName = ctgryID.getName(); 
	if ( CtgryName.getBytes("Shift-JIS").length <= 18 ){
		int SpCount = (19 - CtgryName.getBytes("Shift-JIS").length) /2;
  		for ( int i=0 ; i < SpCount;i++){
  				CtgryName = CtgryName + "　";
  		}
	}
          out.write("\r\n    \r\n");
          out.write("<!-- mc-marker remove-begin when='CAR == SMART' -->\r\n  \t");
          out.write("<font color=\"blue\">○\r\n");
          out.write("<!-- mc-marker remove-end -->\r\n");
          out.write("<!-- mc-marker link-begin mcsp='fi_bd' style='01' color='gd02'-->\r\n");
 if (SIURLMap.isMobile(request)){
          out.write("\r\n   \t\t");
          out.write("<a href=\"");
          out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_LIST+"&ctc="+ctgryID.getValue());
          out.write("\">");
          out.print(ctgryID.getName());
if("JU".equals(ctgryID.getValue())){
          out.write("(理美容)");
}else if("JE".equals(ctgryID.getValue())){
          out.write("(ｴｽﾃ)");
}else if("JB".equals(ctgryID.getValue())){
          out.write("(ﾍﾞｯﾄﾞ)");
}
          out.write("</a>");
          out.write("</font>");
          out.write("<br>\r\n");
}else{
          out.write("\r\n \t\t");
          out.write("<a href=\"");
          out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_LIST+"&ctc="+ctgryID.getValue());
          out.write("\">");
          out.print(CtgryName);
if("JU".equals(ctgryID.getValue())){
          out.write("(理美容)");
}else if("JE".equals(ctgryID.getValue())){
          out.write("(ｴｽﾃ)");
}else if("JB".equals(ctgryID.getValue())){
          out.write("(ﾍﾞｯﾄﾞ)");
}
          out.write("</a>");
          out.write("</font>");
          out.write("<br>\r\n");
}
          out.write("\r\n");
          out.write("<!-- mc-marker link-end -->\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.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_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\r\n");
      out.write("<!-- mc-marker insert when='CAR == SMART' :: ");
      out.write("</div\"> -->\r\n\r\n");
      out.write("<!-- mc-marker remove-begin when='CAR == SMART' -->\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(SIStringUtil.isBelong(SIConfig.MAKERCTGRY,cmdtyListID.getCtgryCodeTxt()));
      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("<br>");
          out.write("<font color=\"gray\">◆ﾒｰｶｰ/ﾌﾞﾗﾝﾄﾞで絞込み");
          out.write("</font>\r\n");
if (userLogin.isLogin(request)) {lSql = SIMaker.getChildListSql(cmdtyListID.getCtgryCodeTxt());
} else {lSql = SIMaker.getChildListSql2(cmdtyListID.getCtgryCodeTxt());}
Collection makerListColl = SIDBUtil.getCollectionHankaku(connection,lSql);
          out.write("\r\n");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_2 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_2.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_2.setParent(_jspx_th_webshop_isTrue_1);
          _jspx_th_webshop_siiterator_2.setId("ctgryID");
          _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SINameValue");
          _jspx_th_webshop_siiterator_2.setCollection(makerListColl);
          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.SINameValue ctgryID = null;
            ctgryID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("ctgryID");
            do {
              out.write("\r\n");
              out.write("<font color=\"blue\">○");
              out.write("<a href=\"");
              out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_LIST+"&ctc="+cmdtyListID.getCtgryCodeTxt()+"&maker="+ctgryID.getValue());
              out.write("\">");
              out.print(ctgryID.getName());
              out.write("</a>");
              out.write("</font>");
              out.write("<br>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_2.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_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_2);
          out.write("\r\n");
          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("<!-- mc-marker remove-end -->\r\n");
}else if(SIUtil.isNotNull(cmdtyListID.getMaker())){
      out.write("\r\n");
      out.write("<br>");
      out.write("<font color=\"blue\">○");
      out.write("<a href=\"");
      out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_CTGRY+"&ctc="+cmdtyListID.getCtgryCodeTxt());
      out.write("\">ﾒｰｶｰ/ﾌﾞﾗﾝﾄﾞ選択へ戻る");
      out.write("</a>");
      out.write("</font>\r\n");
}else{
      out.write("\r\n");
      out.write("<br>");
      out.write("<font color=\"blue\">○");
      out.write("<a href=\"");
      out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_CTGRY+"&ctc="+mother);
      out.write("\">ｶﾃｺﾞﾘ選択へ戻る");
      out.write("</a>");
      out.write("</font>\r\n");
}}
      out.write("\r\n");
      out.write("<br>");
      out.write("<br>\r\n");
}
      out.write("\r\n");
      out.write("<!-- mc-marker remove-begin -->\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<hr size=\"1\" color=\"blue\">");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("<!-- ★★★ 新規挿入ナビゲーション ★★★ -->\r\n");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<nav class=\"gNav\">\r\n");
      out.write("<ul>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.customer.menu"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/gnav01.png\" alt=\"マイページ\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.imode.customer.hist"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/gnav02.png\" alt=\"購入履歴\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.catalog"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/gnav03.png\" alt=\"カタログ注文\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.cart"));
      out.write("\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/gnav04.png\" alt=\"カート\">");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("</nav> -->\r\n\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("<nav class=\"guideLink\"> -->\r\n\r\n");
      out.write("<!-- mc-marker remove-begin when='CAR == SMART' -->\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63883;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.main"));
      out.write("\" accesskey=\"5\">");
      out.write("<font size=\"2\" color=\"blue\">ﾄｯﾌﾟに戻る");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63884;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.cart"));
      out.write("\" accesskey=\"6\">");
      out.write("<font size=\"2\" color=\"blue\">お会計");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63885;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.customer.menu"));
      out.write("\" accesskey=\"7\">");
      out.write("<font size=\"2\" color=\"blue\">ﾏｲﾍﾟｰｼﾞ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63886;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.howto"));
      out.write("\" accesskey=\"8\">");
      out.write("<font size=\"2\" color=\"blue\">ご利用方法");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63887;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.mall.company"));
      out.write("\" accesskey=\"9\">");
      out.write("<font size=\"2\" color=\"blue\">全国ｼｮｰﾙｰﾑご案内");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;&#63888;&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.imode.login"));
      out.write("\" accesskey=\"0\">");
      out.write("<font size=\"2\" color=\"blue\">ﾛｸﾞｲﾝ");
      out.write("</font>");
      out.write("</a>\r\n");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("<!-- mc-marker convert-insert when='CAR == SMART' :: \r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;●&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.main"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">トップページ");
      out.write("</font>");
      out.write("</a>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;●&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.howto"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">ご利用方法");
      out.write("</font>");
      out.write("</a>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;●&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.mall.company"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">全国ショールームご案内");
      out.write("</font>");
      out.write("</a>\r\n");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;●&nbsp;");
      out.write("</font>");
      out.write("<a href=\"http://www.beautygarage.jp/mobile_cal.html\">");
      out.write("<font size=\"2\" color=\"blue\">ショールーム営業日カレンダー");
      out.write("</font>");
      out.write("</a>\r\n -->");
      out.write("\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("</nav> -->");
      out.write("<!-- mc-marker remove-begin -->");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<tr>");
      out.write("<td>");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("<!-- mc-marker remove-begin -->\r\n");
      out.write("<!-- mobile専用 -->\r\n");
      out.write("<hr size=\"1\" color=\"blue\">\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >Copyright by");
      out.write("</font>");
      out.write("</div>\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >BEAUTY GARAGE INC.");
      out.write("</font>");
      out.write("</div>");
      out.write("<!-- mc-marker insert :: ");
      out.write("<br> -->\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >All rights reserved.");
      out.write("</font>");
      out.write("</div>");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("<!--// mobile専用 //-->\r\n");
      out.write("<!-- mc-marker insert :: ");
      out.write("</nav> -->\r\n\r\n");
      out.write("<!-- ★★★ 追記含むフッター ★★★ -->\r\n");
      out.write("<!-- mc-marker insert :: \r\n");
      out.write("<footer> \r\n");
      out.write("<h2 class=\"ttl\">BGグループ総合コンシェルジュサービス");
      out.write("</h2>\r\n\r\n");
      out.write("<div id=\"bg_svnav\">\r\n");
      out.write("<ul class=\"clearFix\">\r\n");
      out.write("<li class=\"fudousan\">");
      out.write("<a href=\"http://www.salonfudousan.net/\" target=\"_blank\">不動産のことなら");
      out.write("<br />");
      out.write("<span>サロン不動産ネット");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"design\">");
      out.write("<a href=\"http://www.salondesign.jp/\" target=\"_blank\">内・外装のことなら");
      out.write("<br />");
      out.write("<span>サロン店舗設計デザイン");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"hoken\">");
      out.write("<a href=\"http://www.salonhoken.net/\" target=\"_blank\">総合保険のことなら");
      out.write("<br />");
      out.write("<span>サロン保険ネット");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"system\">");
      out.write("<a href=\"http://www.salonsystem.jp/\" target=\"_blank\">システム導入のことなら");
      out.write("<br />");
      out.write("<span>サロンシステムナビ");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"career\">");
      out.write("<a href=\"http://www.s-career.jp/\" target=\"_blank\">人材紹介のことなら");
      out.write("<br />");
      out.write("<span>サロンキャリア");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"beautytv\">");
      out.write("<a href=\"http://www.beauty-tv.jp/\" target=\"_blank\">e-ラーニングなら");
      out.write("<br />");
      out.write("<span>SAKURA Beauty TV");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"shukyaku\">");
      out.write("<a href=\"http://www.shukyaku.jp/\" target=\"_blank\">集客支援・HP制作なら");
      out.write("<br />");
      out.write("<span>サロン集客ナビ");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li class=\"kaitori\">");
      out.write("<a href=\"http://www.biyoukaitori.jp/\" target=\"_blank\">器具買取のことなら");
      out.write("<br />");
      out.write("<span>美容機器総合買取センター");
      out.write("</span>");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("</div> -->\r\n");
      out.write("<!-- mc-marker insert :: \r\n");
      out.write("<div class=\"funcArea\">\r\n");
      out.write("<div id=\"txt_links\">\r\n");
      out.write("<ul class=\"clearFix\">\r\n");
      out.write("<li>");
      out.write("<a href=\"http://sp.beautygarage.jp/bg/www.beautygarage.jp/ws/mobile/imode/other/i_trade.jsp\">特定商取引法に関する表記");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"http://sp.beautygarage.jp/bg/www.beautygarage.jp/ws/mobile/imode/other/i_privacy_policy_main.jsp\">ﾌﾟﾗｲﾊﾞｼｰﾎﾟﾘｼｰ");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"http://sp.beautygarage.jp/bg/www.beautygarage.jp/agreement/mobile_index.php\">総合利用規約");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"http://sp.beautygarage.jp/bg/www.beautygarage.jp/agreement/mobile_gl_ec.php\">ｵﾝﾗｲﾝｼｮｯﾌﾟ利用ｶﾞｲﾄﾞﾗｲﾝ");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"telArea\">\r\n");
      out.write("<ul class=\"clearFix\">\r\n");
      out.write("<li>");
      out.write("<a href=\"tel:0120974554\"> -->");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/btn_inquiry.png\" /> -->");
      out.write("<!-- mc-marker insert :: ");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("<li>");
      out.write("<a href=\"tel:0120919969\"> -->");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/btn_mente.png\" /> -->");
      out.write("<!-- mc-marker insert :: ");
      out.write("</a>");
      out.write("</li>\r\n");
      out.write("</ul>\r\n");
      out.write("<p>受付時間  AM10:00～PM6:30（※日・祝日除く）");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("<div id=\"copyright\">\r\n");
      out.write("<div id=\"cr_flbox\">\r\n");
      out.write("<p>Copyright by BEAUTY GARAGE INC.");
      out.write("<br />All rights reserved.");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("<div id=\"cr_frbox\">\r\n");
      out.write("<p>");
      out.write("<a href=\"http://www.beautygarage.jp");
      out.print(webshopSite);
      out.write("/main\"> -->");
      out.write("<!-- mc-marker convert-insert :: ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/sp/cmn/ft_topc.png\" width=\"75\" height=\"27\" /> -->");
      out.write("<!-- mc-marker insert :: ");
      out.write("</a>");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("</footer>\r\n-->\r\n\r\n");
      out.write("<!-- mc-marker convert-insert :: \r\n");
      out.write("<script>$(function(){\r\nif(navigator.userAgent.indexOf('iPhone') > 0 ){ $(\"body\").addClass('iphone'); } });\r\n");
      out.write("</script>\r\n-->\r\n\r\n");
      out.write("<img src=\"");
      out.print(SIBGUtil.googleAnalyticsGetImageUrl(request,""));
      out.write("\" />\r\n");
      out.write("\r\n");
if(!SIURLMap.isMobile(request)){
      out.write("\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");
      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 -->\r\n");
}
      out.write("\r\n");
      out.write("<!-- mc-marker remove-begin -->");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>");
      out.write("<!-- mc-marker remove-end -->\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
}catch(Exception e){e.printStackTrace();throw new ServletException();}finally{databaseConnection.close();}
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}
