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.*;

public class i_reserve_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(3);
    _jspx_includes.add("/mobile/imode/other/../include/i_header_inc.jsp");
    _jspx_includes.add("/mobile/imode/other/../include/i_nav_inc.jsp");
    _jspx_includes.add("/mobile/imode/other/../include/i_footer_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_actionErrors;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_empty_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_notEmpty_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_sicurrency_value_nobody;

  public i_reserve_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_actionErrors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_empty_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_notEmpty_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_sicurrency_value_nobody = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_actionErrors.release();
    _jspx_tagPool_webshop_empty_value.release();
    _jspx_tagPool_webshop_notEmpty_value.release();
    _jspx_tagPool_webshop_sicurrency_value_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/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-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : i_reserve.jsp,v 1.0 2004/03/09 Exp $
 * @author      : fukuda
 * @Description : 商品予約画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * fukuda         2004/03/09  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");

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

//本画面に関わるbeansのデータ
UIReserve reserveID=(UIReserve)session.getAttribute(SIConfig.SISESSION_RESERVE_EDIT_NAME);
if (reserveID==null)reserveID=new UIReserve();
//各フロント画面に共通(common)
String currCtgryCode=reserveID.getCtgryCodeTxt();

//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();

//商品予約の取得
SICartCmdty cartCmdty=new SICartCmdty(reserveID.getRsrvShopCodeTxt(),reserveID.getRsrvCmdtyCodeTxt(),reserveID.getRsrvIndividualCodeTxt(),
reserveID.getRsrvStndrdCodeTxt1(),reserveID.getRsrvElementCodeTxt1(),
reserveID.getRsrvStndrdCodeTxt2(),reserveID.getRsrvElementCodeTxt2());

boolean hasCmdty=cartCmdty.reset(connection);
//7.1.1 ST0237 追加 ここから
if (!hasCmdty){
      out.write("\r\n");
      /* ----  response:sendRedirect ---- */
      org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
      _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
      _jspx_th_response_sendRedirect_0.setParent(null);
      int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
      if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
          out = _bc;
          _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
          _jspx_th_response_sendRedirect_0.doInitBody();
        }
        do {
          out.print(SIURLMap.getUrl(request,"webshop.servlet.front.imode.main"));
          int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
          out = pageContext.popBody();
      }
      if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
      out.write("\r\n");
}

//7.1.1 ST0237 追加 ここまで
//会員値引き率をセット
SIUserInfo userLogin=SIHTMLUtil.getUserInfo(request);
if(userLogin.isLogin(request)){
  cartCmdty.setMemberDiscountRate(userLogin.getDiscountRate());
}
String webshopSite=SIHTMLUtil.getRootPath(request);
//各ｻｲﾄの設定(common)
String rsrvSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.imode.reserve");
//String lAmountName="";

      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>商品予約 | 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 ★★★ -->\r\n");
      out.write("<!-- mc-marker convert-insert ::\r\n\t");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/mobile/common/other_cmn.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n\t");
      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>\r\n");
      out.write("<form name=\"webshopFrm\" action=\"");
      out.print(rsrvSrvSite);
      out.write("\" method=\"post\">\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");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr BGCOLOR=\"cyan\">");
      out.write("<td>");
      out.write("<div align=\"center\">&#xE689;&nbsp;");
      out.write("<font size=\"3\" color=\"black\">商品予約");
      out.write("</font>&nbsp;&#xE689;");
      out.write("</div>");
      out.write("</td>");
      out.write("</tr>\r\n\t  ");
      out.write("<tr>");
      out.write("<td>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("<font size=\"1\" color=\"red\">");
      if (_jspx_meth_webshop_actionErrors_0(pageContext))
        return;
      out.write("</font>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.write("<font size=\"2\" color=\"black\">●");
      out.write("</font>商品ｺｰﾄﾞ");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.print(SIHTMLUtil.HTMLEncode(cartCmdty.getIndividualCode()));
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.write("<font size=\"2\" color=\"black\">●");
      out.write("</font>商品名");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.print(SIHTMLUtil.HTMLEncode(cartCmdty.getCartCmdtyName()));
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.write("<font size=\"2\" color=\"black\">●");
      out.write("</font>予約可能数");
      out.write("</font>");
      out.write("<br>\r\n");
      /* ----  webshop:empty ---- */
      jp.co.sint.taglib.SIEmptyTag _jspx_th_webshop_empty_0 = (jp.co.sint.taglib.SIEmptyTag) _jspx_tagPool_webshop_empty_value.get(jp.co.sint.taglib.SIEmptyTag.class);
      _jspx_th_webshop_empty_0.setPageContext(pageContext);
      _jspx_th_webshop_empty_0.setParent(null);
      _jspx_th_webshop_empty_0.setValue(cartCmdty.getRsrvAmount());
      int _jspx_eval_webshop_empty_0 = _jspx_th_webshop_empty_0.doStartTag();
      if (_jspx_eval_webshop_empty_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("<font size=\"2\" color=\"black\">無制限");
          out.write("</font>");
          out.write("<br>");
          int evalDoAfterBody = _jspx_th_webshop_empty_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_empty_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_empty_value.reuse(_jspx_th_webshop_empty_0);
      out.write("\r\n");
      /* ----  webshop:notEmpty ---- */
      jp.co.sint.taglib.SINotEmptyTag _jspx_th_webshop_notEmpty_0 = (jp.co.sint.taglib.SINotEmptyTag) _jspx_tagPool_webshop_notEmpty_value.get(jp.co.sint.taglib.SINotEmptyTag.class);
      _jspx_th_webshop_notEmpty_0.setPageContext(pageContext);
      _jspx_th_webshop_notEmpty_0.setParent(null);
      _jspx_th_webshop_notEmpty_0.setValue(cartCmdty.getRsrvAmount());
      int _jspx_eval_webshop_notEmpty_0 = _jspx_th_webshop_notEmpty_0.doStartTag();
      if (_jspx_eval_webshop_notEmpty_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("<font size=\"2\" color=\"black\">");
          out.print(cartCmdty.getRsrvAmount());
          out.write("</font>");
          out.write("<br>");
          out.write("<input type=\"hidden\" name=\"rsrvAmountTxt\" value=\"");
          out.print(cartCmdty.getRsrvAmount());
          out.write("\">");
          int evalDoAfterBody = _jspx_th_webshop_notEmpty_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_notEmpty_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_notEmpty_value.reuse(_jspx_th_webshop_notEmpty_0);
      out.write("\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.write("<font size=\"2\" color=\"black\">●");
      out.write("</font>予約数");
      out.write("</font>");
      out.write("<br>");
      out.write("<input type=\"text\" name=\"amountTxt\" value=\"");
      out.print(reserveID.getAmountTxt());
      out.write("\" size=\"3\" maxlength=\"8\" istyle=\"4\">");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">");
      out.write("<font size=\"2\" color=\"black\">●");
      out.write("</font>単価");
      out.write("</font>");
      out.write("<br>");
      out.write("<font size=\"2\" color=\"black\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_0 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_0.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_0.setParent(null);
      _jspx_th_webshop_sicurrency_0.setValue(cartCmdty.getFinalUnitPriceIncTax());
      int _jspx_eval_webshop_sicurrency_0 = _jspx_th_webshop_sicurrency_0.doStartTag();
      if (_jspx_th_webshop_sicurrency_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_0);
      out.print(cartCmdty.getTaxFlgName());
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<input type=\"submit\" name=\"reserve\" value=\"予約する\">\r\n");
      out.write("<input type=\"hidden\" name=\"cmdtyFlagTxt\" value=\"");
      out.print(reserveID.getCmdtyFlagTxt());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"shopCode\" value=\"");
      out.print(reserveID.getShopCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"ctc\" value=\"");
      out.print(currCtgryCode);
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"");
      out.print(SIConfig.SIACTION_CONFIRM);
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"splitFlgRdo\" value=\"\">\r\n");
      out.write("</form>\r\n");
      out.write("<br>");
      out.write("<br>\r\n\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);
    }
  }

  private boolean _jspx_meth_webshop_actionErrors_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:actionErrors ---- */
    jp.co.sint.taglib.SIActionErrorsTag _jspx_th_webshop_actionErrors_0 = (jp.co.sint.taglib.SIActionErrorsTag) _jspx_tagPool_webshop_actionErrors.get(jp.co.sint.taglib.SIActionErrorsTag.class);
    _jspx_th_webshop_actionErrors_0.setPageContext(pageContext);
    _jspx_th_webshop_actionErrors_0.setParent(null);
    int _jspx_eval_webshop_actionErrors_0 = _jspx_th_webshop_actionErrors_0.doStartTag();
    if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_webshop_actionErrors_0.setBodyContent(_bc);
        _jspx_th_webshop_actionErrors_0.doInitBody();
      }
      do {
        out.write("<br>");
        int evalDoAfterBody = _jspx_th_webshop_actionErrors_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_webshop_actionErrors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_actionErrors.reuse(_jspx_th_webshop_actionErrors_0);
    return false;
  }
}
