package org.apache.jsp.tiles.login;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody.release();
  }

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

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("  \n");
      out.write("  <style type=\"text/css\">\n");
      out.write("\n");
      out.write("      #divForLogin{\n");
      out.write("          width: 400px;\n");
      out.write("          float: left;\n");
      out.write("          height:65px;\n");
      out.write("       }\n");
      out.write("\n");
      out.write("      .login{\n");
      out.write("          margin-left: 70px;\n");
      out.write("          text-align: center;\n");
      out.write("          font-family: Verdana;\n");
      out.write("          font-style: italic;\n");
      out.write("          font-size: 20px;\n");
      out.write("          color:#363636;\n");
      out.write("          height: 40px;\n");
      out.write("          width: 250px;\n");
      out.write("          float:left;\n");
      out.write("      }\n");
      out.write("\n");
      out.write("      #password,#fakepassword{\n");
      out.write("          width: 250px;\n");
      out.write("          height: 40px;\n");
      out.write("          float: left;\n");
      out.write("          margin-bottom: 30px;\n");
      out.write("          margin-left: 70px;\n");
      out.write("          text-align: center;\n");
      out.write("          font-family: Verdana;\n");
      out.write("          font-size: 20px;\n");
      out.write("          font-style: italic;\n");
      out.write("          color: #212121 !important;\n");
      out.write("      }\n");
      out.write("\n");
      out.write("      #forLogin{\n");
      out.write("          width: 400px;\n");
      out.write("          display: block;\n");
      out.write("          margin-left: 300px;\n");
      out.write("          /*margin-top: 50px;*/\n");
      out.write("          border: #dddddd ridge 2px;\n");
      out.write("          padding-top: 30px ;\n");
      out.write("          background-color: #dddddd;\n");
      out.write("          height: 180px;\n");
      out.write("      }\n");
      out.write("       .submit{\n");
      out.write("          margin-left: 10px;\n");
      out.write("          margin-bottom: 20px;\n");
      out.write("          margin-top: 1px;\n");
      out.write("          width:47px;\n");
      out.write("          height: 47px;\n");
      out.write("          background-image: url(\"images/login/log_in.png\");\n");
      out.write("          border:none;\n");
      out.write("      }\n");
      out.write("      #actionMessage {\n");
      out.write("          font-size: 20px;\n");
      out.write("          margin-top: 65px;\n");
      out.write("          /*margin-top: 100px;*/\n");
      out.write("          margin-left:300px;\n");
      out.write("          margin-bottom: 0px;\n");
      out.write("          color: #cd0a0a;\n");
      out.write("      }\n");
      out.write("\n");
      out.write("      #contenet {\n");
      out.write("          padding-top: 150px;\n");
      out.write("      }\n");
      out.write("      #kkk{\n");
      out.write("          /*margin:50px auto;*/\n");
      out.write("          margin-bottom: 65px;\n");
      out.write("      }\n");
      out.write("  </style>\n");
      out.write("  <script type=\"text/javascript\">\n");
      out.write("\n");
      out.write("              function pwdFocus() {\n");
      out.write("                       $('#fakepassword').hide();\n");
      out.write("                       $('#password').show();\n");
      out.write("                       $('#password').focus();\n");
      out.write("                   }\n");
      out.write("\n");
      out.write("                   function pwdBlur() {\n");
      out.write("                       if ($('#password').attr('value') == '') {\n");
      out.write("                           $('#password').hide();\n");
      out.write("                           $('#fakepassword').show();\n");
      out.write("                       }\n");
      out.write("                   }\n");
      out.write("\n");
      out.write("\n");
      out.write("          $(document).ready(function() {\n");
      out.write("//                           $(\"#content\").css(\"min-height\",($(window).height()-300));\n");
      out.write("\n");
      out.write("\n");
      out.write("     //   if($.client.browser==\"Chrome\" ){\n");
      out.write("          //265\n");
      out.write("     //         var  himnakan_tiv=$(\"#header\").height()+$(\"#footer\").height()+2*25+80+2*10-20;\n");
      out.write("   //   }else{\n");
      out.write("          //312\n");
      out.write("\n");
      out.write("    //  }\n");
      out.write("\n");
      out.write("     var  himnakan_tiv=$(\"#header\").height()+2*25+($(\"#footer\").height()+parseFloat($(\"#footer\").css(\"margin-top\").split(\"p\")[0]));\n");
      out.write("//       alert($.client.browser) ;\n");
      out.write("//           if($.client.browser==\"Chrome\" ){himnakan_tiv=himnakan_tiv;}\n");
      out.write("         $(\"#content\").css(\"min-height\",($(window).height()-himnakan_tiv));\n");
      out.write("\n");
      out.write("              var value;\n");
      out.write("\n");
      out.write("                  $('.login').focus(function() {\n");
      out.write("                                value = $(this).val();\n");
      out.write("                            if(value==\"Username\"){\n");
      out.write("                                $(this).val(\"\");\n");
      out.write("                             }\n");
      out.write("                  });\n");
      out.write("                  $('.login').blur(function() {\n");
      out.write("                        if ($(this).val() == \"\") {\n");
      out.write("                            $(this).val(\"Username\");\n");
      out.write("                        }\n");
      out.write("                  });\n");
      out.write("         });\n");
      out.write("  </script>\n");
      out.write("       <div id=\"actionMessage\" style=\"height: 50px;\">\n");
      out.write("            ");
      if (_jspx_meth_s_005factionmessage_005f0(_jspx_page_context))
        return;
      out.write("\n");
      out.write("       </div>\n");
      out.write("  <form action=\"login.action\" method=\"post\"  id=\"kkk\">\n");
      out.write("      <div id=\"forLogin\" >\n");
      out.write("              <div id=\"divForLogin\">\n");
      out.write("                 <input type=\"text\" class=\"login\" name=\"login\"  value=\"Username\"/>\n");
      out.write("              </div>\n");
      out.write("              <div style=\"width: 400px; float: left;display: inline;height: 65px;\">\n");
      out.write("                 <input style=\"color: #ccc\" type=\"text\" name=\"fakepassword\" id=\"fakepassword\" value=\"Password\" onfocus=\"pwdFocus()\" />\n");
      out.write("                 <input style=\"display: none\" type=\"password\" name=\"password\" id=\"password\" value=\"\" onblur=\"pwdBlur()\" />\n");
      out.write("                 <input type=\"submit\"  class=\"submit\" name=\"submit\" value=\"\"/>\n");
      out.write("              </div>\n");
      out.write("              <div style=\"width: 400px; float: left;display: inline; text-align:center;\">\n");
      out.write("                    <a href=\"forgotPassword.action\" style=\"text-decoration:none;color: teal;\">Forgot password</a>\n");
      out.write("              </div>\n");
      out.write("      </div>\n");
      out.write("  </form>");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_s_005factionmessage_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:actionmessage
    org.apache.struts2.views.jsp.ui.ActionMessageTag _jspx_th_s_005factionmessage_005f0 = (org.apache.struts2.views.jsp.ui.ActionMessageTag) _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody.get(org.apache.struts2.views.jsp.ui.ActionMessageTag.class);
    _jspx_th_s_005factionmessage_005f0.setPageContext(_jspx_page_context);
    _jspx_th_s_005factionmessage_005f0.setParent(null);
    int _jspx_eval_s_005factionmessage_005f0 = _jspx_th_s_005factionmessage_005f0.doStartTag();
    if (_jspx_th_s_005factionmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody.reuse(_jspx_th_s_005factionmessage_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005factionmessage_005fnobody.reuse(_jspx_th_s_005factionmessage_005f0);
    return false;
  }
}
