package org.apache.jsp.membership;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import com.tootsville.user.*;
import org.starhope.appius.mb.*;
import org.starhope.appius.mb.fields.*;
import org.starhope.appius.user.*;
import com.tootsville.WebUtil;
import org.starhope.util.types.*;

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

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/WEB-INF/mb-taglib.tld");
  }

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

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fmb_005ftoasts_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

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

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

    JspFactory _jspxFactory = null;
    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 {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=UTF-8");
      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<!-- Tootsville™ membership and billing system, common header -->\n<div class=\"header\">\n<br />\n<div style=\"text-align: center;\">\n<a href=\"http://www.tootsville.com/playnow.html\" target=\"_self\">Play Now</a> |\n<a href=\"https://members.tootsville.com/shop/\" target=\"_self\">Shop</a> |\n<a href=\"https://members.tootsville.com/membership/register/premium\" target=\"_self\">Membership</a> |\n<a href=\"https://members.tootsville.com/membership/register/\" target=\"_self\">Create A New Account</a> |\n<a href=\"http://www.tootsville.com/web/parents-handbook/index.html\" target=\"_self\">Parents Handbook</a> |\n<a href=\"http://www.tootsville.com/web/need-help-with-online-game/index.html\" target=\"_self\">Need Help</a> |\n<a href=\"http://www.tootsville.com/web/privacy-policy/index.html\" target=\"_self\">Privacy Policy</a> |\n<a href=\"http://www.tootsville.com/web/contact-tootsville/index.html\" target=\"_self\">Contact Us</a>\n</div>\n\n<a href=\"http://www.tootsville.com/\">\n<img src=\"/images/toots-logo.png\" id=\"toots-logo\" alt=\"Tootsville\" title=\"Back to home page\" />\n");
      out.write("</a>\n</div>\n<!-- end header -->\n\n<!-- Google Analytics -->\n<script type=\"text/javascript\">\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\ndocument.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));\n</script><script language=\"text/javascript\">\ntry { var pageTracker = _gat._getTracker(\"UA-10367408-2\"); pageTracker._trackPageview(); } catch(err) {}</script>\n<!--  End of Google Analytics -->\n\n");
      if (_jspx_meth_mb_005ftoasts_005f0(_jspx_page_context))
        return;
      out.write("\n\n<!-- /Header --->");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_mb_005ftoasts_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  mb:toasts
    org.starhope.appius.mb.taglib.Toasts _jspx_th_mb_005ftoasts_005f0 = (org.starhope.appius.mb.taglib.Toasts) _005fjspx_005ftagPool_005fmb_005ftoasts_005fnobody.get(org.starhope.appius.mb.taglib.Toasts.class);
    _jspx_th_mb_005ftoasts_005f0.setPageContext(_jspx_page_context);
    _jspx_th_mb_005ftoasts_005f0.setParent(null);
    int _jspx_eval_mb_005ftoasts_005f0 = _jspx_th_mb_005ftoasts_005f0.doStartTag();
    if (_jspx_th_mb_005ftoasts_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fmb_005ftoasts_005fnobody.reuse(_jspx_th_mb_005ftoasts_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fmb_005ftoasts_005fnobody.reuse(_jspx_th_mb_005ftoasts_005f0);
    return false;
  }
}
