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

public class casher_res_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(3);
    _jspx_includes.add("/sp/cart/../include/chk_userinfo_inc.jsp");
    _jspx_includes.add("/sp/include/header_no_menu_inc.jsp");
    _jspx_includes.add("/sp/include/footer_no_menu_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_encodeRedirectUrl;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_format_pattern;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_currentTime_nobody;

  public casher_res_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_encodeRedirectUrl = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_format_pattern = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_currentTime_nobody = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_response_encodeRedirectUrl.release();
    _jspx_tagPool_datetime_format_pattern.release();
    _jspx_tagPool_datetime_currentTime_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-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : casher_res.jsp,v 1.0 2003/11/20 Exp $
 * @author      : Jinwang Chen
 * @Description : 受付最終結果
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Jinwang Chen   2003/11/20  Original
 */

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

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/chk_userinfo_inc.jsp,v 1.0 2003/10/07 Exp $
 * @author      : Jinwang Chen
 * @Description : フロント側に、ユーザーがログイン情報を確認します。
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/07/28  Original
 */

      out.write("\r\n");
      out.write("\r\n\r\n");
SIUserInfo lUserInfo=SIHTMLUtil.getUserInfo(request);
      out.write("\r\n");
if (lUserInfo.isNotLogin(request) && !SIConfig.SIWEBSHOP_DEVELOPING){
      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.write("\r\n    ");
          /* ----  response:encodeRedirectUrl ---- */
          org.apache.taglibs.response.EncodeRedirectURLTag _jspx_th_response_encodeRedirectUrl_0 = (org.apache.taglibs.response.EncodeRedirectURLTag) _jspx_tagPool_response_encodeRedirectUrl.get(org.apache.taglibs.response.EncodeRedirectURLTag.class);
          _jspx_th_response_encodeRedirectUrl_0.setPageContext(pageContext);
          _jspx_th_response_encodeRedirectUrl_0.setParent(_jspx_th_response_sendRedirect_0);
          int _jspx_eval_response_encodeRedirectUrl_0 = _jspx_th_response_encodeRedirectUrl_0.doStartTag();
          if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_encodeRedirectUrl_0.setBodyContent(_bc);
              _jspx_th_response_encodeRedirectUrl_0.doInitBody();
            }
            do {
              out.print(SIHTMLUtil.getRootPath(request));
              out.write("/sp/customer/login.jsp");
              int evalDoAfterBody = _jspx_th_response_encodeRedirectUrl_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_encodeRedirectUrl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_encodeRedirectUrl_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_encodeRedirectUrl.reuse(_jspx_th_response_encodeRedirectUrl_0);
          out.write("\r\n  ");
          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");
}
      out.write("\r\n");
      out.write("\r\n");

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

//各サイトの設定(common)
String mainSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.main");
String webshopSite=SIHTMLUtil.getRootPath(request);
String thanksSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.thanks");
String orderReceiptSrvSite=SIURLMap.getHttpsUrl(request,"webshop.servlet.front.orderreceipt");

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html lang=\"ja\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=Shift_JIS\" />\r\n");
      out.write("<title>レジ（ご注文完了） | 理美容器具・エステ機器・美容用品の卸販売 BEAUTY GARAGE");
      out.write("</title>\r\n  ");
      out.write("<meta 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/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("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<!-- Yahoo Code for &#36092;&#20837;/&#36009;&#22770; Conversion Page -->\r\n");
      out.write("<script type=\"text/javascript\">\r\n/* ");
      out.write("<![CDATA[ */\r\nvar yahoo_conversion_id = 1000004346;\r\nvar yahoo_conversion_label = \"EsyfCPef9QEQoauD5wM\";\r\nvar yahoo_conversion_value = 0;\r\nif (");
      out.print(casherID.getSumOfF());
      out.write(") {\r\n  yahoo_conversion_value = ");
      out.print(casherID.getSumOfF());
      out.write(";\r\n}\r\n/* ]]> */\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"https://s.yimg.jp/images/listing/tool/cv/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=\"https://b91.yahoo.co.jp/pagead/conversion/1000004346/?value=");
      out.print(casherID.getSumOfF());
      out.write("&amp;label=EsyfCPef9QEQoauD5wM&amp;guid=ON&amp;script=0&amp;disvt=true\"/>\r\n");
      out.write("</div>\r\n");
      out.write("</noscript>\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\" >\r\n");
      out.write("<!--\r\nfunction sendGoikenConfirm() {\r\n  with (document.casherForm) {\r\n    if(bodyArea.value == '') {\r\n      vex.dialog.alert(\"ご意見・ご要望をご記入の上、送信下さい\");\r\n    }else{\r\n      actionNameTxt.value='");
      out.print(SIConfig.SIACTION_MAIL);
      out.write("';\r\n      submit();\r\n    }\r\n  }\r\n}\r\nfunction receipt() {\r\n  with (document.casherForm){\r\n    var url = '");
      out.print(orderReceiptSrvSite+"?detailOrderCodeHid="+casherID.getOrderCode());
      out.write("';\r\n    window.open(url,'receipt','width=740,height=540,top=20,left=20,menubar=0,toolbar=0,status=1,scrollbars=1,resizable=1');\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n  ");
      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\r\n");
 //▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<!--▼ヘッダ：ここから▼-->\r\n");
      out.write("<header id=\"header\" class=\"small\">\r\n  ");
      out.write("<div id=\"header-inner\">\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  ");
      out.write("</div>\r\n");
      out.write("</header>\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");
      out.write("<!-- GTM dataLayer -->\r\n");
      out.write("<script>\r\ndataLayer.push({\r\n");
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
  Connection connection=databaseConnection.getConnection(); 
      out.write("\r\n");
      out.print(SIBGUtil.getTransactionData(connection,casherID.getOrderCode()));
      out.write("\r\n");

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

      out.write(",\r\n\t'event': 'Conversion'\r\n});\r\n");
      out.write("</script>\r\n");
      out.write("<!-- /GTM dataLayer -->\r\n  ");
      out.write("<!--▽メイン：ここから▽-->\r\n  ");
      out.write("<div id=\"container\">\r\n  ");
      out.write("<h2>ご注文完了");
      out.write("</h2>\r\n  ");
      out.write("<div class=\"inner\">\r\n  ");
      out.write("<!--▼ステップ図：ここから▼-->\r\n  ");
      out.write("<div class=\"stepFlow\">\r\n    ");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/sp/lib_image/cart/img_flow_cart_step3.gif\" width=\"300\" height=\"25\" alt=\"\" class=\"w100\"/>");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--▲ステップ図：ここまで▲-->\r\n  ");
      out.write("<p class=\"mt20\">ご注文を受け付けました。（受付日時：");
      if (_jspx_meth_datetime_format_0(pageContext))
        return;
      out.write("）");
      out.write("</p>\r\n  ");
      out.write("<p>お客様のご注文番号は");
      out.write("<span class=\"order-number fs16\">");
      out.print(casherID.getOrderCode());
      out.write("</span>です。");
      out.write("</p>\r\n  ");
      out.write("<p>ご登録頂いておりますメールアドレス宛にご注文受付メールを送信しましたのでご確認ください。 ");
      out.write("</p>\r\n  ");
      out.write("<h3>■ ");
      out.print(SIHTMLUtil.HTMLEncode(casherID.getMsgTitleTxt()));
      out.write("</h3>\r\n  ");
      out.write("<p>商品のお届けにつきましては、ご指定頂いた納品希望日にお答えできるよう最大限努力いたしますが、在庫・出荷状況によっては、納品日のご希望に沿えないことがございます。\r\n  予めご了承いただきますようお願い申し上げます。なお、そのような場合には、実際にお届け可能な日を事前にお客様にご連絡させていただきます。");
      out.write("<br>\r\n  納品希望日の特定がない場合、商品の到着は商品の到着は翌日～3日前後が目安となります。（※銀行振込の場合は入金確認後の発送となります）");
      out.write("<br>\r\n  また配送の都合上、複数便に分かれてのお届けとなる可能性がございますので、予めご了承ください。\r\n  ");
      out.write("</p>\r\n  \r\n  ");
      out.write("<h3>■ 「銀行振込」をご選択されたお客様へ");
      out.write("</h3>\r\n  ");
      out.write("<p>ご注文後、1週間以内に当社口座へお振込をお願いいたします。入金確認後、商品を発送させていただきます。");
      out.write("</p>\r\n  ");
      out.write("<p>※お振込の際、「受注番号」を振込人名義の先頭に付加していただきますようお願いいたします。");
      out.write("<strong>例）012345ヤマダタロウ");
      out.write("</strong>");
      out.write("</p>\r\n  ");
      out.write("<p>振込人名義に「受注番号」がない場合や、振込人名義がご注文時のお名前と異なる場合、入金確認までにお時間を頂戴することになり、納品日のご希望に沿えない場合がございます。該当されるお客様にはお手数ではございますが、当社までその旨ご連絡ください。");
      out.write("</p>\r\n  ");
      out.write("<p>商品代金のお振込先は、以下の通りになります。");
      out.write("</p>\r\n   ");
      out.write("<p class=\"colorBox2\">＜お振込先＞");
      out.write("<br>三菱東京UFJ銀行　西新宿支店　（普）5524863　カ）ビューティガレージ");
      out.write("</p>\r\n   ");
      out.write("<p class=\"fs10\">※商品代金のお振込先や商品お届け日の詳細は、別途メールでもご案内させていただきます。");
      out.write("</p>\r\n\r\n  ");
      out.write("<h3>■ 「代金引換」「カード」「全額ポイントでのお支払」をご選択されたお客様へ");
      out.write("</h3>\r\n  ");
      out.write("<p>ご注文後、直ちに商品の出荷手配に入らせていただきますため、これ以降のご注文内容の変更（注文数量の増減、配送先・配送希望日の変更等）は承れません。");
      out.write("</p>\r\n  ");
      out.write("<p>商品を追加される場合は新規にご注文を承らせていただきます。予めご了承ください。");
      out.write("</p>\r\n  \r\n  ");
      out.write("<h3>■ みなさまの声をお聞かせください ");
      out.write("<span style=\"color:#f00; font-weight: normal;\">（任意）");
      out.write("</span>");
      out.write("</h3>\r\n  ");
      out.write("<p>ご意見・ご要望、当社スタッフへの叱咤・激励など、みなさまの声をお聞かせください。お寄せいただきましたご意見・ご要望は真摯に受け止め、みなさまにより一層ご満足いただけるよう、当社のサービス向上を目指すための活動に反映させていただきます。");
      out.write("</p>\r\n  ");
      out.write("<p class=\"mb10\">");
      out.write("<strong>※下記フォーマットにご記入の上、ご送信ください。");
      out.write("</strong>");
      out.write("</p>\r\n  \r\n  ");
      out.write("<form name=\"casherForm\" action=\"");
      out.print(thanksSrvSite);
      out.write("\" method=\"post\">\r\n    ");
      out.write("<div class=\"formTable goiken\">\r\n    ");
      out.write("<fieldset>\r\n      ");
      out.write("<legend>表題");
      out.write("</legend>\r\n      ");
      out.write("<div class=\"inner\">\r\n        ");
      out.write("<select name=\"titleParam\">\r\n          ");
      out.write("<option value=\"その他全般\">ご意見の種類を選択してください");
      out.write("</option>\r\n          ");
      out.write("<option value=\"商品について\">商品について");
      out.write("</option>\r\n          ");
      out.write("<option value=\"サービスについて\">サービスについて");
      out.write("</option>\r\n          ");
      out.write("<option value=\"スタッフの対応マナーについて\">スタッフの対応マナーについて");
      out.write("</option>\r\n          ");
      out.write("<option value=\"ホームページについて\">ホームページについて");
      out.write("</option>\r\n          ");
      out.write("<option value=\"その他全般\">その他全般");
      out.write("</option>\r\n        ");
      out.write("</select>\r\n        ");
      out.write("<input type=\"hidden\" name=\"orderCode\" value=\"");
      out.print(casherID.getOrderCode());
      out.write("\"/>\r\n        ");
      out.write("<input type=\"hidden\" name=\"detailOrderCodeHid\" value=\"\"/>\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\">\r\n        ");
      out.write("<p>ご来場の際のご希望やご相談されたい事柄などございましたら、お気軽にご記入ください。");
      out.write("</p>\r\n        ");
      out.write("<textarea name=\"bodyArea\" class=\"w100\" rows=\"5\">");
      out.write("</textarea>\r\n      ");
      out.write("</div>\r\n    ");
      out.write("</fieldset>\r\n    ");
      out.write("<input type=\"button\" class=\"btnYl w80\" value=\"送信する\" onclick=\"sendGoikenConfirm();\">\r\n    ");
      out.write("</div>\r\n    ");
      out.write("<input type=\"hidden\" name=\"shc\" value=\"0\"/>\r\n     ");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"\"/>\r\n  ");
      out.write("</form>\r\n  \r\n  ");
      out.write("<p class=\"btn arrow\">");
      out.write("<a href=\"");
      out.print(mainSrvSite);
      out.write("\">ビューティガレージトップへ");
      out.write("</a>");
      out.write("</p>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("</div>\r\n  ");
      out.write("<!--△メイン：ここまで△-->\r\n  \r\n  ");
      out.write("<!--▼フッタ：ここから▼-->\r\n    ");
 //▼アプリでは非表示：ここから▼
 if (request.getHeader("user-agent").indexOf("bg-webview-")==-1) { 
      out.write("\r\n");
      out.write("<!--▼フッタ：ここから▼-->\r\n");
      out.write("<footer id=\"footer\" class=\"topBorder\">\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");

String analyticsParam = (String) session.getAttribute(SIConfig.SISESSION_ANALYTICS_PARAM_NAME13);
session.removeAttribute(SIConfig.SISESSION_ANALYTICS_PARAM_NAME13);

      out.write("\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar _gaq = _gaq || [];\r\nvar 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_gaq.push(['_setVar',navigator.userAgent]);\r\n_gaq.push(['_trackPageview']);\r\n");
      out.print(analyticsParam);
      out.write("\r\n_gaq.push(['_trackTrans']);\r\n(function() {\r\n  var ga = document.createElement('script');\r\n  ga.type = 'text/javascript';\r\n  ga.async = true;\r\n  //ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r\n  ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';\r\n  var s = document.getElementsByTagName('script')[0];\r\n  s.parentNode.insertBefore(ga, s);\r\n})();\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<!-- Google Code for purchase Conversion Page -->\r\n");
      out.write("<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar google_conversion_id = 1070225407;\r\nvar google_conversion_language = \"ja\";\r\nvar google_conversion_format = \"1\";\r\nvar google_conversion_color = \"CCCCCC\";\r\nif (");
      out.print(casherID.getSumOfF());
      out.write(") {\r\n  var google_conversion_value = ");
      out.print(casherID.getSumOfF());
      out.write(";\r\n}\r\nvar google_conversion_label = \"purchase\";\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"JavaScript\" src=\"https://www.googleadservices.com/pagead/conversion.js\">\r\n");
      out.write("</script>\r\n");
      out.write("<noscript>\r\n");
      out.write("<img height=1 width=1 border=0 src=\"https://www.googleadservices.com/pagead/conversion/1070225407/?value=");
      out.print(casherID.getSumOfF());
      out.write("&label=purchase&script=0\">\r\n");
      out.write("</noscript>\r\n");
      out.write("<!-- Google Code for 購入/販売 Conversion Page -->\r\n");
      out.write("<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar google_conversion_id = 1039187569;\r\nvar google_conversion_language = \"ja\";\r\nvar google_conversion_format = \"3\";\r\nvar google_conversion_color = \"ffffff\";\r\nvar google_conversion_label = \"rC-VCNu6YxDx_MLvAw\";\r\nif (");
      out.print(casherID.getSumOfF());
      out.write(") {\r\n  var google_conversion_value = ");
      out.print(casherID.getSumOfF());
      out.write(";\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"JavaScript\" src=\"https://www.googleadservices.com/pagead/conversion.js\">\r\n");
      out.write("</script>\r\n");
      out.write("<noscript>\r\n");
      out.write("<img height=\"1\" width=\"1\" border=\"0\" src=\"https://www.googleadservices.com/pagead/conversion/1039187569/?value=");
      out.print(casherID.getSumOfF());
      out.write("&label=rC-VCNu6YxDx_MLvAw&amp;script=0\"/>\r\n");
      out.write("<img height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"https://www.googleadservices.com/pagead/conversion/1039187569/?label=rC-VCNu6YxDx_MLvAw&amp;guid=ON&amp;script=0\"/>\r\n");
      out.write("</noscript>\r\n\r\n");
      out.write("<!-- User Insight PCCV Code Start : beautygarage.jp -->\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("<!--\r\nvar _uiconv = _uiconv || [];\r\nvar _uiconv_value = {};\r\n_uiconv_value['id'] = 'con_buy'; /* conversion name */\r\n_uiconv_value['price'] = '");
      out.print(casherID.getSumOfF());
      out.write("'; /* price */\r\n_uiconv_value['item_code'] = ''; /* item name */\r\n_uiconv_value['lg_id'] = ''; /* login id */\r\n_uiconv_value['free_1'] = '';\r\n_uiconv_value['free_2'] = '';\r\n_uiconv_value['free_3'] = '';\r\n_uiconv_value['free_4'] = '';\r\n_uiconv_value['free_5'] = '';\r\n_uiconv_value['free_6'] = '';\r\n_uiconv_value['free_7'] = '';\r\n_uiconv_value['free_8'] = '';\r\n_uiconv_value['free_9'] = '';\r\n_uiconv_value['free_10'] = '';\r\n_uiconv.push(_uiconv_value);\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("<!-- User Insight PCCV Code Start : beautygarage.jp -->\r\n\r\n");
      out.write("<!-- microad_blade_track : for レジ（ご注文完了） -->\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' : 'convtrack18288', '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 : for レジ（ご注文完了） -->\r\n\r\n");
      out.write("<!-- YDN Conversion -->\r\n");
      out.write("<img src=\"//b90.yahoo.co.jp/c?yahoo_ydn_conv_io=ruiI5OYOLDUQeZiV6mvv&yahoo_ydn_conv_label=ZWGT3UUFCM8HZBRU3M0AB6399&yahoo_ydn_conv_transaction_id=&yahoo_ydn_conv_amount=");
      out.print(casherID.getSumOfF());
      out.write("&guid=ON\" width=\"1\" height=\"1\" border=\"0\" />\r\n");
      out.write("<!-- /YDN Conversion -->\r\n");
      out.write("</body>\r\n");
      out.write("</html>\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_datetime_format_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:format ---- */
    org.apache.taglibs.datetime.FormatTag _jspx_th_datetime_format_0 = (org.apache.taglibs.datetime.FormatTag) _jspx_tagPool_datetime_format_pattern.get(org.apache.taglibs.datetime.FormatTag.class);
    _jspx_th_datetime_format_0.setPageContext(pageContext);
    _jspx_th_datetime_format_0.setParent(null);
    _jspx_th_datetime_format_0.setPattern("yyyy/MM/dd HH:mm:ss");
    int _jspx_eval_datetime_format_0 = _jspx_th_datetime_format_0.doStartTag();
    if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_datetime_format_0.setBodyContent(_bc);
        _jspx_th_datetime_format_0.doInitBody();
      }
      do {
        if (_jspx_meth_datetime_currentTime_0(_jspx_th_datetime_format_0, pageContext))
          return true;
        int evalDoAfterBody = _jspx_th_datetime_format_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_datetime_format_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_format_pattern.reuse(_jspx_th_datetime_format_0);
    return false;
  }

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