package org.apache.jsp;

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

public class a_main_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(5);
    _jspx_includes.add("/include/mobile_filter.jsp");
    _jspx_includes.add("/mobile/au/include/a_login_user_inc.jsp");
    _jspx_includes.add("/mobile/au/include/mobile_a_advicecmdty.jsp");
    _jspx_includes.add("/mobile/au/include/a_nav_inc.jsp");
    _jspx_includes.add("/mobile/au/include/a_footer_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_size_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_session_type_name_id;
  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_siquantity_value_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_default_collection_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_sicurrency_value_nobody;

  public a_main_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_session_type_name_id = 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_siquantity_value_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = 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_isTrue_value.release();
    _jspx_tagPool_webshop_siiterator_type_size_id_collection.release();
    _jspx_tagPool_webshop_session_type_name_id.release();
    _jspx_tagPool_webshop_empty_value.release();
    _jspx_tagPool_webshop_notEmpty_value.release();
    _jspx_tagPool_webshop_siquantity_value_nobody.release();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.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/a_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 : a_main.jsp,v 1.0 2003/12/22 Exp $
 * @author      : Jinwang Chen
 * @Description : AU用のトップ画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Jinwang Chen   2003/12/22  Original
 * Hong M.J       2006/12/06  修正
 */

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

//データベースへのコネンクション(common)
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();
SIUserInfo userLogin=SIHTMLUtil.getUserInfo(request);
String cmdtyDetailSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.au.cmdty.detail");
String webshopSite=SIHTMLUtil.getRootPath(request);
String cmdtyListSrvSite=SIURLMap.getUrl(request,"webshop.servlet.front.au.cmdty.list");
String categorySite = cmdtyListSrvSite + "?a=" + SIConfig.SIACTION_CTGRY+"&ctc=";
Collection makerColl = UIRegMaker.getFrontCollection(connection);
//お知らせのデータの取得(common)
Collection newsColl=new SINewsManager(connection,true).getCollection();
Collection cmdtyColl = new UIMain().getAdviceCmdty(connection,request);
String custAmount = SIDBUtil.getFirstData(connection,"SELECT count(custcode) FROM custtbl WHERE delflg!=9");
String cmdtyAmount = SIDBUtil.getFirstData(connection,"SELECT sum(amount) FROM storestocktbl");
boolean isEnd=UIRegClosedSaleItem.isEnd(connection);

      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("</head>\r\n");
      out.write("<body bgcolor=\"white\">\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">\r\n");
      out.write("<td>");
      out.write("<marquee loop=\"10\">");
      out.write("<font size=\"1\" color=\"black\">日本最大級のﾌﾟﾛ向け理美容器具・ｴｽﾃ機器・ﾈｲﾙ用品・化粧品の卸・通販サイト。只今の登録会員ｻﾛﾝ数:");
      out.print(SIUtil.NumberFormat(custAmount));
      out.write("ｻﾛﾝ様 只今の販売商品点数:");
      out.print(SIUtil.NumberFormat(cmdtyAmount));
      out.write("品!!");
      out.write("</font>");
      out.write("</marquee>");
      out.write("</td>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("\r\n");
if (!SIURLMap.isMobile(request)) {
      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.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");
}else if (SIURLMap.isAU2(request)) {
      out.write("\r\n");
      if (_jspx_meth_response_sendRedirect_1(pageContext))
        return;
      out.write("\r\n");
}
      out.write("\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/bglogo_main.gif\" alt=\"BEAUTY GARAGE Online Shop for Salon Professionals\">\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");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(!isEnd&&SIHTMLUtil.getUserInfo(request).isLogin(request)&&!SIHTMLUtil.getUserInfo(request).getMemberLevelCode().equals("0"));
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<table width=\"100%\" BGCOLOR=\"black\">\r\n");
          out.write("<tr>");
          out.write("<td>");
          out.write("<font color=\"gold\" size=\"1\">BG PREMIERE VIP CLUB");
          out.write("<br>VIP顧客様限定 特別優待SALE");
          out.write("</font>");
          out.write("<br>\r\n");
          out.write("<a href=\"");
          out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.closedsale.main"));
          out.write("\">");
          out.write("<font color=\"white\" size=\"1\">11月15日11:00～25日24:00まで");
          out.write("<br>VIP顧客様限定SALEはｺﾁﾗ!");
          out.write("</font>");
          out.write("</a>");
          out.write("</td>");
          out.write("</tr>\r\n");
          out.write("</table>\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n");
      out.write("<font size=\"1\">");
      out.write("<form action=\"");
      out.print(cmdtyListSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">");
      out.write("<tr>");
      out.write("<td>");
      out.write("<input type=\"text\" name=\"srchWordTxt\" size=\"14\">");
      out.write("<input type=\"submit\" value=\"検索\">　");
      out.write("<font size=\"1\">[");
      out.write("<a href=\"#search\">詳細検索");
      out.write("</a>]");
      out.write("</font>");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n");
      out.write("<input type=\"hidden\" name=\"a\" value=\"");
      out.print(SIConfig.SIACTION_SEARCH);
      out.write("\">\r\n");
      out.write("</form>");
      out.write("</font>\r\n");
      out.write("<div>\r\n");
      out.write("<font size=\"2\">");
      out.write("<font color=\"#235ba9\">▼");
      out.write("</font>");
      out.write("<a href=\"#category\">ｶﾃｺﾞﾘ");
      out.write("</a>&nbsp;|&nbsp;");
      out.write("<font color=\"#235ba9\">▼");
      out.write("</font>");
      out.write("<a href=\"#news\">ﾆｭｰｽ");
      out.write("</a>&nbsp;|&nbsp;");
      out.write("<font color=\"#235ba9\">▼");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.cart"));
      out.write("\">お会計");
      out.write("</a>&nbsp;|&nbsp;");
      out.write("<font color=\"#235ba9\">▼");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.customer.menu"));
      out.write("\">ﾏｲﾍﾟｰｼﾞ");
      out.write("</a>&nbsp;|&nbsp;");
      out.write("<font color=\"#235ba9\">▼");
      out.write("</font>");
      out.write("<a href=\"#login\">ﾛｸﾞｲﾝ");
      out.write("</a>");
      out.write("<br>");
      out.write("</font>\r\n");
      out.write("<hr size=\"1\" color=\"gainsboro\">\r\n\r\n");
      out.write("<!--");
      out.write("<p style=\"margin-bottom:10px; margin-top:0; padding:0; font-size:2;\">");
      out.write("<a href=\"");
      out.print(webshopSite);
      out.write("/mobile/au/campaign_200k/a_top.jsp\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/pickup/campaign_200k/img/fp/mainimg_main.jpg\" alt=\"BG会員ｻﾛﾝ数20万人突破20%OFFｷｬﾝﾍﾟｰﾝ\">");
      out.write("</a>");
      out.write("</p>-->\r\n\r\n");
      out.write("<font size=\"2\">");
      out.write("<img localsrc=\"122\"/>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.catalog"));
      out.write("\">ｶﾀﾛｸﾞからのご注文");
      out.write("</a>");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\">");
      out.write("<img localsrc=\"156\"/>");
      out.write("<a href=\"mallcompany\">全国ｼｮｰﾙｰﾑのご案内");
      out.write("</a>");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\">");
      out.write("<img localsrc=\"56\"/>");
      out.write("<a href=\"http://www.beautygarage.jp/mobile_cal.html\">ｼｮｰﾙｰﾑ営業日ｶﾚﾝﾀﾞｰ");
      out.write("</a>");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\">&nbsp;");
      out.write("</font>\r\n");
      out.write("</div>\r\n\r\n");
      out.write("<a name=\"category\" id=\"category\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/category.gif\" alt=\"商品ｶﾃｺﾞﾘ\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td>\r\n");
      out.write("<font size=\"2\">\r\n");
      out.write("<font color=\"#eda305\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.hair"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIR]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#2ea4cb\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.haircosme"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_HAIRCOSME]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#f2303a\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.esthe"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_ESTHE]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#2dbf22\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.bed"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BED]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#ff579d\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.cosme"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_COSME]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#d073ff\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.nail"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_NAIL]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#B8257D\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.eyelash"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_EYELASH]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font color=\"#6f2700\">■");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.book"));
      out.write("\">");
      out.print(SIStringUtil.toHankakuKana(SIConfig.ctgryGroupName[SIConfig.CTGRYGROUP_BOOK]));
      out.write("</a>");
      out.write("<br>\r\n");
      out.write("<font size=\"1\">&nbsp;");
      out.write("</font>\r\n");
      out.write("</font>\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<a name=\"news\" id=\"news\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/news.gif\" alt=\"ﾆｭｰｽ\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td>\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_size_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setId("newsId");
      _jspx_th_webshop_siiterator_0.setSize(5);
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SINews");
      _jspx_th_webshop_siiterator_0.setCollection(newsColl);
      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.SINews newsId = null;
        newsId = (jp.co.sint.basic.SINews) pageContext.findAttribute("newsId");
        do {
          out.print(newsId.getDescription());
          out.write("<br>");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          newsId = (jp.co.sint.basic.SINews) pageContext.findAttribute("newsId");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_size_id_collection.reuse(_jspx_th_webshop_siiterator_0);
      out.write("\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<hr size=\"1\" color=\"#808080\">\r\n");
      out.write("<a name=\"login\" id=\"login\">");
      out.write("</a>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td>\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/mobile_login_user_inc.jsp,v 1.0 2004/3/16  Exp $
 * @author      : Shionoya Yoshiaki
 * @Description : フロントに顧客が一旦にﾛｸﾞｲﾝしたら、このファイルを通して、自動的に画面に表示します。
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Shionoya       2004/3/16  Original
 */

      out.write("\r\n");
String custReg = "?a=" + SIConfig.SIACTION_LOGIN;
      out.write("\r\n");
      out.write("<form action=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.au.login"));
      out.write("\" method=\"post\">\r\n");
      /* ----  webshop:session ---- */
      jp.co.sint.taglib.SISessionTag _jspx_th_webshop_session_0 = (jp.co.sint.taglib.SISessionTag) _jspx_tagPool_webshop_session_type_name_id.get(jp.co.sint.taglib.SISessionTag.class);
      _jspx_th_webshop_session_0.setPageContext(pageContext);
      _jspx_th_webshop_session_0.setParent(null);
      _jspx_th_webshop_session_0.setName(SIConfig.SISESSION_USERINFO_NAME);
      _jspx_th_webshop_session_0.setId("uid");
      _jspx_th_webshop_session_0.setType("jp.co.sint.basic.SIUserInfo");
      int _jspx_eval_webshop_session_0 = _jspx_th_webshop_session_0.doStartTag();
      if (_jspx_eval_webshop_session_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SIUserInfo uid = null;
        uid = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uid");
        do {
          out.write("\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(_jspx_th_webshop_session_0);
          _jspx_th_webshop_empty_0.setValue(uid.getCustName());
          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("\r\n");
              out.write("<div align=\"left\">");
              out.write("<input type=\"submit\" name=\"del\" value=\"ﾛｸﾞｲﾝ\">");
              out.write("</div>\r\n");
              out.write("<div align=\"left\">");
              out.write("<a href=\"");
              out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.customer")+custReg);
              out.write("\">");
              out.write("<font size=\"2\" color=\"orange\">BG会員登録（無料）>>");
              out.write("</font>");
              out.write("</a>");
              out.write("</div>\r\n");
              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(_jspx_th_webshop_session_0);
          _jspx_th_webshop_notEmpty_0.setValue(uid.getCustName());
          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("\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"2\" color=\"black\">");
              out.print(SIHTMLUtil.HTMLEncode(uid.getCustName()));
              out.write(" 様");
if (SIConfig.SIMALL.getPointEnableFlg().equals("1")){
              out.write("</font>");
              out.write("</div>\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"2\" color=\"black\">(ﾎﾟｲﾝﾄ:");
              /* ----  webshop:siquantity ---- */
              jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_0 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
              _jspx_th_webshop_siquantity_0.setPageContext(pageContext);
              _jspx_th_webshop_siquantity_0.setParent(_jspx_th_webshop_notEmpty_0);
              _jspx_th_webshop_siquantity_0.setValue(uid.getMaxPoint());
              int _jspx_eval_webshop_siquantity_0 = _jspx_th_webshop_siquantity_0.doStartTag();
              if (_jspx_th_webshop_siquantity_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_0);
              out.write("p)");
}
              out.write("</font>");
              out.write("</div>\r\n");
if("3".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
              out.write("\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"1\" color=\"orangered\">あなたは");
              out.print(SIStringUtil.toHankakuKana(uid.getMemberLevelName()));
              out.write("様です。全商品");
              out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
              out.write("%OFF、ﾎﾟｲﾝﾄ100%UPでお買い求めいただけます。");
              out.write("</font>");
              out.write("</div>\r\n");
}else if("2".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
              out.write("\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"1\" color=\"orangered\">あなたは");
              out.print(SIStringUtil.toHankakuKana(uid.getMemberLevelName()));
              out.write("様です。全商品");
              out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
              out.write("%OFF、ﾎﾟｲﾝﾄ50%UPでお買い求めいただけます。");
              out.write("</font>");
              out.write("</div>\r\n");
}else if("1".equals(SIHTMLUtil.getUserInfo(request).getMemberLevelCode())){
              out.write("\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"1\" color=\"orangered\">あなたは");
              out.print(SIStringUtil.toHankakuKana(uid.getMemberLevelName()));
              out.write("様です。全商品");
              out.print(SIHTMLUtil.HTMLEncode(uid.getDiscountRate()));
              out.write("%OFF、ﾎﾟｲﾝﾄ20%UPでお買い求めいただけます。");
              out.write("</font>");
              out.write("</div>\r\n");
}
              out.write("\r\n");
              out.write("<br>\r\n");
              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");
          /* ----  webshop:notEmpty ---- */
          jp.co.sint.taglib.SINotEmptyTag _jspx_th_webshop_notEmpty_1 = (jp.co.sint.taglib.SINotEmptyTag) _jspx_tagPool_webshop_notEmpty_value.get(jp.co.sint.taglib.SINotEmptyTag.class);
          _jspx_th_webshop_notEmpty_1.setPageContext(pageContext);
          _jspx_th_webshop_notEmpty_1.setParent(_jspx_th_webshop_session_0);
          _jspx_th_webshop_notEmpty_1.setValue(uid.getLoginDateTime());
          int _jspx_eval_webshop_notEmpty_1 = _jspx_th_webshop_notEmpty_1.doStartTag();
          if (_jspx_eval_webshop_notEmpty_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"2\" color=\"black\">前回ﾛｸﾞｲﾝ日時：");
              out.write("</font>");
              out.write("</div>\r\n");
              out.write("<div align=\"left\">");
              out.write("<font size=\"2\" color=\"black\">");
              out.print(SIHTMLUtil.HTMLEncode(uid.getLoginDateTime()));
              out.write("</font>");
              out.write("</div>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_notEmpty_1.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_notEmpty_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_notEmpty_value.reuse(_jspx_th_webshop_notEmpty_1);
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_session_0.doAfterBody();
          uid = (jp.co.sint.basic.SIUserInfo) pageContext.findAttribute("uid");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_session_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_session_type_name_id.reuse(_jspx_th_webshop_session_0);
      out.write("\r\n");
      out.write("</form>");
      out.write("\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<a name=\"search\" id=\"search\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/lookfor.gif\" alt=\"検索\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td>\r\n");
      out.write("<form action=\"");
      out.print(cmdtyListSrvSite);
      out.write("\" method=\"post\">\r\n");
      out.write("<font size=\"2\" color=\"black\">▼ﾌﾞﾗﾝﾄﾞ検索");
      out.write("</font>");
      out.write("<br>\r\n");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_0.setPageContext(pageContext);
      _jspx_th_webshop_siselect_0.setParent(null);
      _jspx_th_webshop_siselect_0.setName("maker");
      _jspx_th_webshop_siselect_0.setDefault("");
      _jspx_th_webshop_siselect_0.setCollection(makerColl);
      int _jspx_eval_webshop_siselect_0 = _jspx_th_webshop_siselect_0.doStartTag();
      if (_jspx_th_webshop_siselect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_0);
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">▼ﾜｰﾄﾞ検索");
      out.write("</font>");
      out.write("<br>\r\n");
      out.write("<input type=\"text\" name=\"srchWordTxt\" size=\"14\">");
      out.write("<input type=\"submit\" value=\"検索\">");
      out.write("<br>\r\n");
      out.write("<label>");
      out.write("<input name=\"radioButton\" type=\"radio\" value=\"all\" checked>");
      out.write("<font size=\"2\" color=\"black\">全て");
      out.write("</font>");
      out.write("</label>\r\n");
      out.write("<label>");
      out.write("<input name=\"radioButton\" type=\"radio\" value=\"new\">");
      out.write("<font size=\"2\" color=\"black\">新品");
      out.write("</font>");
      out.write("</label>\r\n");
      out.write("<label>");
      out.write("<input name=\"radioButton\" type=\"radio\" value=\"outlet\">");
      out.write("<font size=\"2\" color=\"black\">ｱｳﾄﾚｯﾄ");
      out.write("</font>");
      out.write("</label>\r\n");
      out.write("<label>");
      out.write("<input name=\"radioButton\" type=\"radio\" value=\"used\">");
      out.write("<font size=\"2\" color=\"black\">中古");
      out.write("</font>");
      out.write("</label>\r\n");
      out.write("<label>");
      out.write("<input name=\"radioButton\" type=\"radio\" value=\"spused\">");
      out.write("<font size=\"2\" color=\"black\">BG認定中古");
      out.write("</font>");
      out.write("</label>");
      out.write("<br>\r\n");
      out.write("<input type=\"hidden\" name=\"a\" value=\"");
      out.print(SIConfig.SIACTION_SEARCH);
      out.write("\">");
      out.write("</form>\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<a name=\"special\" id=\"special\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/special.gif\" alt=\"特集\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td align=\"center\">\r\n");
      out.write("<font size=\"2\" color=\"black\">\r\n");
      out.write("\r\n┌─────────┐");
      out.write("<br>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.coupon"));
      out.write("\">☆ ﾓﾊﾞｲﾙｻｲﾄ限定！ ☆");
      out.write("<br>ｵﾝﾗｲﾝｸｰﾎﾟﾝ発行中");
      out.write("</a>");
      out.write("<br>└─────────┘");
      out.write("<br>\r\n┌─────────┐");
      out.write("<br>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.other.buy"));
      out.write("\">☆ 高価買取！ ☆");
      out.write("<br>必ず高く買取します");
      out.write("</a>");
      out.write("<br>└─────────┘");
      out.write("<br>\r\n┌─────────┐");
      out.write("<br>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.howto.point"));
      out.write("\">☆ BGﾎﾟｲﾝﾄﾌﾟﾛｸﾞﾗﾑ ☆");
      out.write("<br>1ﾎﾟｲﾝﾄ=1円として利用");
      out.write("</a>");
      out.write("<br>└─────────┘");
      out.write("<br>\r\n");
      out.write("<font size=\"1\">&nbsp;");
      out.write("</font>\r\n");
      out.write("</font>\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<a name=\"osusume\" id=\"osusume\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/recommend.gif\" alt=\"ｵｽｽﾒ商品\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\">");
      out.write("<tr>");
      out.write("<td>\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("cmdtyPage");
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_1.setCollection(cmdtyColl);
      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.SICmdty cmdtyPage = null;
        cmdtyPage = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmdtyPage");
        do {
          out.write("\r\n");

String mobileAdviceImageName = cmdtyPage.getCmdtyCode() + "/mobile_" + cmdtyPage.getCmdtyCode()+ "_"+ cmdtyPage.getIndividualCode() + "_t.jpg";
String adviceImageName = cmdtyPage.getCmdtyCode() + "/" + cmdtyPage.getCmdtyCode()+ "_"+ cmdtyPage.getIndividualCode() + "_t.jpg";
File fa = new File(pageContext.getServletContext().getRealPath(SIConfig.SIUPLOAD_FOLDER[SIConfig.SIUPLOAD_INX_CMDTY]+"/"+mobileAdviceImageName));
if(!fa.exists()) mobileAdviceImageName = adviceImageName;

          out.write("\r\n");
if(cmdtyPage.getUsedNewFlg()==3){
          out.write("\r\n");
          out.write("<font color=\"green\" size=\"1\">BG認定中古 ");
          out.write("</font>\r\n");
}else if(cmdtyPage.getUsedNewFlg()==2||cmdtyPage.getUsedNewFlg()==4){
          out.write("\r\n");
          out.write("<font color=\"crimson\" size=\"1\">新古OUTLET ");
          out.write("</font>\r\n");
}else if(cmdtyPage.getUsedNewFlg()==1||cmdtyPage.getUsedNewFlg()==6||cmdtyPage.getUsedNewFlg()==7){
          out.write("\r\n");
          out.write("<font color=\"dodgerblue\" size=\"1\">新品 ");
          out.write("</font>\r\n");
}else{
          out.write("\r\n");
          out.write("<font color=\"brown\" size=\"1\">中古 ");
          out.write("</font>\r\n");
}
          out.write("\r\n");
          out.write("<font color=\"gray\" size=\"1\">");
          out.print(cmdtyPage.getIndividualCode());
          out.write("<br>");
          out.write("</font>\r\n");
          out.write("<a href=\"");
          out.print(cmdtyDetailSrvSite+"?shc="+cmdtyPage.getShopCode()+"&cmc="+cmdtyPage.getCmdtyCode()+"&inc="+cmdtyPage.getIndividualCode()+"&cmpt="+cmdtyPage.getCmdtyCompositionFlg()+"&pageNumberTxt="+cmdtyPage.getPageNumberTxt()+"&cmdtyFlagTxt="+SIConfig.SICMDTY_FLAG_ADVICE);
          out.write("\">");
          out.write("<font size=\"2\" color=\"blue\">");
          out.print(SIHTMLUtil.HTMLEncode(cmdtyPage.getCmdtyName()));
          out.write("</font>");
          out.write("</a>\r\n");
          out.write("\r\n");
if (!cmdtyPage.isCmdtyComposition()){
          out.write("\r\n");
if("1".equals(cmdtyPage.getFreeDeliveryFlg())){
          out.write("&nbsp;");
          out.write("<font color=\"#E10033\" size=\"2\">【送料無料】");
          out.write("</font>");
}
          out.write("<br>\r\n");
 } else { 
          out.write("\r\n");
if(cmdtyPage.getDispCarriageFree(connection)){
          out.write("&nbsp;");
          out.write("<font color=\"#E10033\" size=\"2\">【送料無料】");
          out.write("</font>");
}
          out.write("<br>\r\n");
 } 
          out.write("\r\n");
          out.write("\r\n");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/cmdty/");
          out.print(mobileAdviceImageName);
          out.write("\" width=\"100\" height=\"75\" align=\"middle\">");
          out.write("<br>\r\n");
if(SIUtil.isNotNull(cmdtyPage.getNewFixedPrice())&&!cmdtyPage.getNewFixedPrice().equals("0")){
          out.write("<font size=\"1\" color=\"gray\">M価:");
          /* ----  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(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_0.setValue(cmdtyPage.getNewFixedPriceIncTax());
          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.write("→");
          out.write("</font>");
}
          out.write("\r\n");
if(((userLogin.isLogin(request)&&cmdtyPage.getBGPriceDispFlg().equals("1"))||cmdtyPage.getBGPriceDispFlg().equals("0"))&&!cmdtyPage.isContractFlg()){
          out.write("\r\n");
          out.write("\r\n");
if (!cmdtyPage.isCmdtyComposition()){
          out.write("\r\n");
          out.write("\r\n");
if(cmdtyPage.getFinalUnitPriceWithoutTax().equals(cmdtyPage.getUnitPriceWithoutTax())){
          out.write("\r\n");
          out.write("<font color=\"red\" size=\"1\">");
if(cmdtyPage.getUsedNewFlg()==0||cmdtyPage.getUsedNewFlg()==3){
          out.write("中古特価:");
}else{
          out.write("BG卸価:");
}
          out.write("</font>\r\n");
          out.write("<font color=\"red\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_1 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_1.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_1.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_1.setValue(cmdtyPage.getFinalUnitPriceWithoutTax());
          int _jspx_eval_webshop_sicurrency_1 = _jspx_th_webshop_sicurrency_1.doStartTag();
          if (_jspx_th_webshop_sicurrency_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_1);
          out.write("(税別)");
          out.write("</font>\r\n");
}else{
          out.write("\r\n");
          out.write("<font color=\"gray\" size=\"1\">");
if(cmdtyPage.getUsedNewFlg()==0||cmdtyPage.getUsedNewFlg()==3){
          out.write("中古特価:");
}else{
          out.write("BG卸価:");
}
          out.write("</font>\r\n");
          out.write("<font color=\"gray\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_2 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_2.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_2.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_2.setValue(cmdtyPage.getUnitPriceWithoutTax());
          int _jspx_eval_webshop_sicurrency_2 = _jspx_th_webshop_sicurrency_2.doStartTag();
          if (_jspx_th_webshop_sicurrency_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_2);
          out.write("(税別)");
          out.write("</font>");
          out.write("<br>\r\n");
          out.write("<font color=\"red\" size=\"1\">VIP特価:");
          out.write("</font>\r\n");
          out.write("<font color=\"red\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_3 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_3.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_3.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_3.setValue(cmdtyPage.getFinalUnitPriceWithoutTax());
          int _jspx_eval_webshop_sicurrency_3 = _jspx_th_webshop_sicurrency_3.doStartTag();
          if (_jspx_th_webshop_sicurrency_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_3);
          out.write("(税別)");
          out.write("</font>\r\n");
          out.write("\r\n");
}
          out.write("\r\n");
}else{
          out.write("\r\n");
 String setUnitPrice = cmdtyPage.getSetUnitPriceWithoutTax(connection); 
          out.write("\r\n");
 String setDiscountUnitPrice = cmdtyPage.getSetDiscountUnitPriceWithoutTax(connection); 
          out.write("\r\n");
if(setUnitPrice.equals(setDiscountUnitPrice)){
          out.write("\r\n");
          out.write("<font color=\"red\" size=\"1\">");
if(cmdtyPage.getUsedNewFlg()==0||cmdtyPage.getUsedNewFlg()==3){
          out.write("中古特価:");
}else{
          out.write("BG卸価:");
}
          out.write("</font>\r\n");
          out.write("<font color=\"red\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_4 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_4.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_4.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_4.setValue(setUnitPrice);
          int _jspx_eval_webshop_sicurrency_4 = _jspx_th_webshop_sicurrency_4.doStartTag();
          if (_jspx_th_webshop_sicurrency_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_4);
          out.write("(税別)");
          out.write("</font>\r\n");
}else{
          out.write("\r\n");
          out.write("<font color=\"gray\" size=\"1\">");
if(cmdtyPage.getUsedNewFlg()==0||cmdtyPage.getUsedNewFlg()==3){
          out.write("中古特価:");
}else{
          out.write("BG卸価:");
}
          out.write("</font>\r\n");
          out.write("<font color=\"gray\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_5 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_5.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_5.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_5.setValue(setUnitPrice);
          int _jspx_eval_webshop_sicurrency_5 = _jspx_th_webshop_sicurrency_5.doStartTag();
          if (_jspx_th_webshop_sicurrency_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_5);
          out.write("(税別)");
          out.write("</font>");
          out.write("<br>\r\n");
          out.write("<font color=\"red\" size=\"1\">VIP特価:");
          out.write("</font>\r\n");
          out.write("<font color=\"red\" size=\"1\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_6 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_6.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_6.setParent(_jspx_th_webshop_siiterator_1);
          _jspx_th_webshop_sicurrency_6.setValue(setDiscountUnitPrice);
          int _jspx_eval_webshop_sicurrency_6 = _jspx_th_webshop_sicurrency_6.doStartTag();
          if (_jspx_th_webshop_sicurrency_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_6);
          out.write("(税別)");
          out.write("</font>\r\n");
}
          out.write("\r\n");
          out.write("\r\n");
}}else if(cmdtyPage.isContractFlg()){
          out.write("<font color=\"red\" size=\"1\">BG卸価は契約後表示");
          out.write("</font>\r\n");
}else if(cmdtyPage.getBGPriceDispFlg().equals("2")){
          out.write("<font color=\"red\" size=\"1\">BG卸価:お問い合わせ下さい");
          out.write("</font>\r\n");
}else if(cmdtyPage.getBGPriceDispFlg().equals("1")){
          out.write("<font color=\"red\" size=\"1\">BG卸価:ﾛｸﾞｲﾝ表示");
          out.write("</font>");
}
          out.write("\r\n");
          out.write("<hr size=\"1\" color=\"gray\">\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
          cmdtyPage = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmdtyPage");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_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");
      out.write("<div align=\"right\">");
      out.write("<a href=\"");
      out.print(cmdtyListSrvSite+"?a="+SIConfig.SIACTION_LIST+"&cmdtyFlagTxt="+SIConfig.SICMDTY_FLAG_ADVICE);
      out.write("\">");
      out.write("<font color=\"blue\">more･･･");
      out.write("</font>");
      out.write("</a>");
      out.write("</div>\r\n");
      out.write("<font size=\"1\">&nbsp;");
      out.write("</font>\r\n");
      out.write("</td>");
      out.write("</tr>");
      out.write("</table>\r\n\r\n");
      out.write("<a name=\"menu\" id=\"menu\">");
      out.write("</a>\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/menu.gif\" alt=\"ﾒﾆｭｰ\">");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">   \r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("&nbsp;");
      out.write("<img localsrc=\"184\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.main"));
      out.write("\" accesskey=\"5\">");
      out.write("<font size=\"2\" color=\"blue\">ﾄｯﾌﾟに戻る");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n&nbsp;");
      out.write("<img localsrc=\"185\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.cart"));
      out.write("\" accesskey=\"6\">");
      out.write("<font size=\"2\" color=\"blue\">お会計");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n&nbsp;");
      out.write("<img localsrc=\"186\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.customer.menu"));
      out.write("\" accesskey=\"7\">");
      out.write("<font size=\"2\" color=\"blue\">ﾏｲﾍﾟｰｼﾞ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n&nbsp;");
      out.write("<img localsrc=\"187\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.howto"));
      out.write("\" accesskey=\"8\">");
      out.write("<font size=\"2\" color=\"blue\">ご利用方法");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n&nbsp;");
      out.write("<img localsrc=\"188\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.mall.company"));
      out.write("\" accesskey=\"9\">");
      out.write("<font size=\"2\" color=\"blue\">全国ｼｮｰﾙｰﾑご案内");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>\r\n&nbsp;");
      out.write("<img localsrc=\"325\"/>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.au.login"));
      out.write("\" accesskey=\"0\">");
      out.write("<font size=\"2\" color=\"blue\">ﾛｸﾞｲﾝ");
      out.write("</font>");
      out.write("</a>\r\n");
      out.write("</td>");
      out.write("</tr>\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("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.howto"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">ご利用の手引き");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("<font size=\"1\" color=\"black\">&nbsp;&nbsp;&nbsp;∟&nbsp;");
      out.write("</font>");
      out.write("<font size=\"1\">はじめてご利用の方へ");
      out.write("</font>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.front.au.search"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">商品を探して欲しい");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.other.buy"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">不要な機器を売りたい");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.howto.point"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;ﾎﾟｲﾝﾄｼｽﾃﾑ&nbsp;について");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"1\" color=\"black\">&nbsp;&nbsp;&nbsp;∟&nbsp;");
      out.write("</font>");
      out.write("<font size=\"1\">お得なﾎﾟｲﾝﾄｼｽﾃﾑ");
      out.write("</font>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.qa.top"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">よくあるQ&A");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"1\" color=\"black\">&nbsp;&nbsp;&nbsp;∟&nbsp;");
      out.write("</font>");
      out.write("<font size=\"1\">なんでもご相談下さい");
      out.write("</font>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.after"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">保証/ｱﾌﾀｰ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"1\" color=\"black\">&nbsp;&nbsp;&nbsp;∟&nbsp;");
      out.write("</font>");
      out.write("<font size=\"1\">安心の長期保証");
      out.write("</font>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.salon.main"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">ｻﾛﾝ賠償保険");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.lasor.top"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">ﾚｻﾞｰ張り替えについて");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;◆");
      out.write("</font>");
      out.write("<a href=\"mailto:center@beautygarage.jp\">");
      out.write("<font size=\"2\" color=\"blue\">お問い合わせ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\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>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.other.trade"));
      out.write("\">");
      out.write("<font size=\"1\" color=\"blue\">特定商取引法に関する表記");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>&nbsp;");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.privacy.privacy.main"));
      out.write("\">");
      out.write("<font size=\"1\" color=\"blue\">ﾌﾟﾗｲﾊﾞｼｰﾎﾟﾘｼｰ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>&nbsp;");
      out.write("<a href=\"/agreement/mobile_index.php\">");
      out.write("<font size=\"1\" color=\"blue\">総合利用規約");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>&nbsp;");
      out.write("<a href=\"/agreement/mobile_gl_ec.php\">");
      out.write("<font size=\"1\" color=\"blue\">ｵﾝﾗｲﾝｼｮｯﾌﾟ利用ｶﾞｲﾄﾞﾗｲﾝ");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>&nbsp;");
      out.write("<font size=\"2\" color=\"black\">対応機種：WINｼﾘｰｽﾞ");
      out.write("</font>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      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>\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >All rights reserved.");
      out.write("</font>");
      out.write("</div>\r\n");
      out.write("<img src=\"");
      out.print(SIBGUtil.googleAnalyticsGetImageUrl(request,""));
      out.write("\" />");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\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_response_sendRedirect_1(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  response:sendRedirect ---- */
    org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_1 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
    _jspx_th_response_sendRedirect_1.setPageContext(pageContext);
    _jspx_th_response_sendRedirect_1.setParent(null);
    int _jspx_eval_response_sendRedirect_1 = _jspx_th_response_sendRedirect_1.doStartTag();
    if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_response_sendRedirect_1.setBodyContent(_bc);
        _jspx_th_response_sendRedirect_1.doInitBody();
      }
      do {
        out.write("http://www.beautygarage.jp/errorAU.html");
        int evalDoAfterBody = _jspx_th_response_sendRedirect_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_response_sendRedirect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_1);
    return false;
  }
}
