org.apache.jsp.html.common.themes.bottom_jsp.java Source code

Java tutorial

Introduction

Here is the source code for org.apache.jsp.html.common.themes.bottom_jsp.java

Source

    package org.apache.jsp.html.common.themes;

    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import com.liferay.counter.service.CounterLocalServiceUtil;
    import com.liferay.portal.NoSuchUserException;
    import com.liferay.portal.kernel.captcha.CaptchaMaxChallengesException;
    import com.liferay.portal.kernel.captcha.CaptchaTextException;
    import com.liferay.portal.kernel.bean.BeanParamUtil;
    import com.liferay.portal.kernel.bean.BeanPropertiesUtil;
    import com.liferay.portal.kernel.cal.Recurrence;
    import com.liferay.portal.kernel.configuration.Filter;
    import com.liferay.portal.kernel.dao.orm.QueryUtil;
    import com.liferay.portal.kernel.dao.search.DAOParamUtil;
    import com.liferay.portal.kernel.dao.search.DisplayTerms;
    import com.liferay.portal.kernel.dao.search.ResultRow;
    import com.liferay.portal.kernel.dao.search.RowChecker;
    import com.liferay.portal.kernel.dao.search.ScoreSearchEntry;
    import com.liferay.portal.kernel.dao.search.SearchContainer;
    import com.liferay.portal.kernel.dao.search.SearchEntry;
    import com.liferay.portal.kernel.dao.search.TextSearchEntry;
    import com.liferay.portal.kernel.exception.PortalException;
    import com.liferay.portal.kernel.exception.SystemException;
    import com.liferay.portal.kernel.io.unsync.UnsyncStringReader;
    import com.liferay.portal.kernel.json.JSONArray;
    import com.liferay.portal.kernel.json.JSONFactoryUtil;
    import com.liferay.portal.kernel.json.JSONObject;
    import com.liferay.portal.kernel.language.LanguageUtil;
    import com.liferay.portal.kernel.language.LanguageWrapper;
    import com.liferay.portal.kernel.language.UnicodeLanguageUtil;
    import com.liferay.portal.kernel.log.Log;
    import com.liferay.portal.kernel.log.LogFactoryUtil;
    import com.liferay.portal.kernel.log.LogUtil;
    import com.liferay.portal.kernel.messaging.DestinationNames;
    import com.liferay.portal.kernel.messaging.MessageBusUtil;
    import com.liferay.portal.kernel.portlet.DynamicRenderRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletMode;
    import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
    import com.liferay.portal.kernel.portlet.LiferayPortletURL;
    import com.liferay.portal.kernel.portlet.LiferayWindowState;
    import com.liferay.portal.kernel.search.Field;
    import com.liferay.portal.kernel.servlet.BrowserSnifferUtil;
    import com.liferay.portal.kernel.servlet.ImageServletTokenUtil;
    import com.liferay.portal.kernel.servlet.ServletContextUtil;
    import com.liferay.portal.kernel.servlet.SessionErrors;
    import com.liferay.portal.kernel.servlet.SessionMessages;
    import com.liferay.portal.kernel.servlet.StringServletResponse;
    import com.liferay.portal.kernel.util.ArrayUtil;
    import com.liferay.portal.kernel.util.BooleanWrapper;
    import com.liferay.portal.kernel.util.BreadcrumbsUtil;
    import com.liferay.portal.kernel.util.CalendarFactoryUtil;
    import com.liferay.portal.kernel.util.CalendarUtil;
    import com.liferay.portal.kernel.util.CharPool;
    import com.liferay.portal.kernel.util.Constants;
    import com.liferay.portal.kernel.util.ContentTypes;
    import com.liferay.portal.kernel.util.DateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.DateUtil;
    import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.FileUtil;
    import com.liferay.portal.kernel.util.GetterUtil;
    import com.liferay.portal.kernel.util.HtmlUtil;
    import com.liferay.portal.kernel.util.Http;
    import com.liferay.portal.kernel.util.HttpUtil;
    import com.liferay.portal.kernel.util.IntegerWrapper;
    import com.liferay.portal.kernel.util.JavaConstants;
    import com.liferay.portal.kernel.util.KeyValuePair;
    import com.liferay.portal.kernel.util.KeyValuePairComparator;
    import com.liferay.portal.kernel.util.ListUtil;
    import com.liferay.portal.kernel.util.LocaleUtil;
    import com.liferay.portal.kernel.util.LocalizationUtil;
    import com.liferay.portal.kernel.util.LongWrapper;
    import com.liferay.portal.kernel.util.MathUtil;
    import com.liferay.portal.kernel.util.ObjectValuePair;
    import com.liferay.portal.kernel.util.ObjectValuePairComparator;
    import com.liferay.portal.kernel.util.OrderByComparator;
    import com.liferay.portal.kernel.util.OrderedProperties;
    import com.liferay.portal.kernel.util.ParamUtil;
    import com.liferay.portal.kernel.util.PrefsParamUtil;
    import com.liferay.portal.kernel.util.PropertiesParamUtil;
    import com.liferay.portal.kernel.util.PropertiesUtil;
    import com.liferay.portal.kernel.util.PropsKeys;
    import com.liferay.portal.kernel.util.Randomizer;
    import com.liferay.portal.kernel.util.ReleaseInfo;
    import com.liferay.portal.kernel.util.ServerDetector;
    import com.liferay.portal.kernel.util.SetUtil;
    import com.liferay.portal.kernel.util.SortedProperties;
    import com.liferay.portal.kernel.util.StackTraceUtil;
    import com.liferay.portal.kernel.util.StringBundler;
    import com.liferay.portal.kernel.util.StringComparator;
    import com.liferay.portal.kernel.util.StringPool;
    import com.liferay.portal.kernel.util.StringUtil;
    import com.liferay.portal.kernel.util.Time;
    import com.liferay.portal.kernel.util.TimeZoneUtil;
    import com.liferay.portal.kernel.util.UnicodeFormatter;
    import com.liferay.portal.kernel.util.UnicodeProperties;
    import com.liferay.portal.kernel.util.Validator;
    import com.liferay.portal.kernel.workflow.WorkflowConstants;
    import com.liferay.portal.language.LanguageImpl;
    import com.liferay.portal.model.*;
    import com.liferay.portal.model.impl.*;
    import com.liferay.portal.security.auth.AuthTokenUtil;
    import com.liferay.portal.security.auth.PrincipalException;
    import com.liferay.portal.security.permission.ActionKeys;
    import com.liferay.portal.security.permission.PermissionChecker;
    import com.liferay.portal.service.*;
    import com.liferay.portal.service.permission.GroupPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPrototypePermissionUtil;
    import com.liferay.portal.service.permission.LayoutSetPrototypePermissionUtil;
    import com.liferay.portal.service.permission.PortletPermissionUtil;
    import com.liferay.portal.struts.StrutsUtil;
    import com.liferay.portal.theme.PortletDisplay;
    import com.liferay.portal.theme.ThemeDisplay;
    import com.liferay.portal.util.ContentUtil;
    import com.liferay.portal.util.CookieKeys;
    import com.liferay.portal.util.JavaScriptBundleUtil;
    import com.liferay.portal.util.Portal;
    import com.liferay.portal.util.PortalUtil;
    import com.liferay.portal.util.PortletCategoryKeys;
    import com.liferay.portal.util.PortletKeys;
    import com.liferay.portal.util.PrefsPropsUtil;
    import com.liferay.portal.util.PropsUtil;
    import com.liferay.portal.util.PropsValues;
    import com.liferay.portal.util.SessionClicks;
    import com.liferay.portal.util.SessionTreeJSClicks;
    import com.liferay.portal.util.ShutdownUtil;
    import com.liferay.portal.util.WebAppPool;
    import com.liferay.portal.util.WebKeys;
    import com.liferay.portal.util.comparator.PortletCategoryComparator;
    import com.liferay.portal.util.comparator.PortletTitleComparator;
    import com.liferay.portlet.InvokerPortlet;
    import com.liferay.portlet.PortalPreferences;
    import com.liferay.portlet.PortletConfigFactoryUtil;
    import com.liferay.portlet.PortletInstanceFactoryUtil;
    import com.liferay.portlet.PortletPreferencesFactoryUtil;
    import com.liferay.portlet.PortletResponseImpl;
    import com.liferay.portlet.PortletSetupUtil;
    import com.liferay.portlet.PortletURLImpl;
    import com.liferay.portlet.PortletURLUtil;
    import com.liferay.portlet.RenderParametersPool;
    import com.liferay.portlet.RenderRequestFactory;
    import com.liferay.portlet.RenderRequestImpl;
    import com.liferay.portlet.RenderResponseFactory;
    import com.liferay.portlet.RenderResponseImpl;
    import com.liferay.portlet.UserAttributes;
    import com.liferay.portlet.portletconfiguration.util.PortletConfigurationUtil;
    import com.liferay.util.CreditCard;
    import com.liferay.util.Encryptor;
    import com.liferay.util.JS;
    import com.liferay.util.PKParser;
    import com.liferay.util.PwdGenerator;
    import com.liferay.util.State;
    import com.liferay.util.StateUtil;
    import com.liferay.util.TextFormatter;
    import com.liferay.util.UniqueList;
    import com.liferay.util.format.PhoneNumberUtil;
    import com.liferay.util.log4j.Levels;
    import com.liferay.util.mail.InternetAddressUtil;
    import com.liferay.util.portlet.PortletRequestUtil;
    import com.liferay.util.servlet.DynamicServletRequest;
    import com.liferay.util.servlet.SessionParameters;
    import com.liferay.util.servlet.UploadException;
    import com.liferay.util.xml.XMLFormatter;
    import java.io.Serializable;
    import java.math.BigDecimal;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.text.DateFormat;
    import java.text.DecimalFormat;
    import java.text.Format;
    import java.text.MessageFormat;
    import java.text.NumberFormat;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Calendar;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Currency;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import java.util.Set;
    import java.util.Stack;
    import java.util.TimeZone;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import javax.portlet.MimeResponse;
    import javax.portlet.PortletConfig;
    import javax.portlet.PortletContext;
    import javax.portlet.PortletException;
    import javax.portlet.PortletMode;
    import javax.portlet.PortletPreferences;
    import javax.portlet.PortletRequest;
    import javax.portlet.PortletResponse;
    import javax.portlet.PortletSession;
    import javax.portlet.PortletURL;
    import javax.portlet.RenderRequest;
    import javax.portlet.RenderResponse;
    import javax.portlet.ResourceURL;
    import javax.portlet.UnavailableException;
    import javax.portlet.ValidatorException;
    import javax.portlet.WindowState;
    import org.apache.commons.math.util.MathUtils;
    import org.apache.struts.Globals;
    import com.liferay.counter.service.CounterLocalServiceUtil;
    import com.liferay.portal.NoSuchUserException;
    import com.liferay.portal.kernel.captcha.CaptchaMaxChallengesException;
    import com.liferay.portal.kernel.captcha.CaptchaTextException;
    import com.liferay.portal.kernel.bean.BeanParamUtil;
    import com.liferay.portal.kernel.bean.BeanPropertiesUtil;
    import com.liferay.portal.kernel.cal.Recurrence;
    import com.liferay.portal.kernel.configuration.Filter;
    import com.liferay.portal.kernel.dao.orm.QueryUtil;
    import com.liferay.portal.kernel.dao.search.DAOParamUtil;
    import com.liferay.portal.kernel.dao.search.DisplayTerms;
    import com.liferay.portal.kernel.dao.search.ResultRow;
    import com.liferay.portal.kernel.dao.search.RowChecker;
    import com.liferay.portal.kernel.dao.search.ScoreSearchEntry;
    import com.liferay.portal.kernel.dao.search.SearchContainer;
    import com.liferay.portal.kernel.dao.search.SearchEntry;
    import com.liferay.portal.kernel.dao.search.TextSearchEntry;
    import com.liferay.portal.kernel.exception.PortalException;
    import com.liferay.portal.kernel.exception.SystemException;
    import com.liferay.portal.kernel.io.unsync.UnsyncStringReader;
    import com.liferay.portal.kernel.json.JSONArray;
    import com.liferay.portal.kernel.json.JSONFactoryUtil;
    import com.liferay.portal.kernel.json.JSONObject;
    import com.liferay.portal.kernel.language.LanguageUtil;
    import com.liferay.portal.kernel.language.LanguageWrapper;
    import com.liferay.portal.kernel.language.UnicodeLanguageUtil;
    import com.liferay.portal.kernel.log.Log;
    import com.liferay.portal.kernel.log.LogFactoryUtil;
    import com.liferay.portal.kernel.log.LogUtil;
    import com.liferay.portal.kernel.messaging.DestinationNames;
    import com.liferay.portal.kernel.messaging.MessageBusUtil;
    import com.liferay.portal.kernel.portlet.DynamicRenderRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletMode;
    import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
    import com.liferay.portal.kernel.portlet.LiferayPortletURL;
    import com.liferay.portal.kernel.portlet.LiferayWindowState;
    import com.liferay.portal.kernel.search.Field;
    import com.liferay.portal.kernel.servlet.BrowserSnifferUtil;
    import com.liferay.portal.kernel.servlet.ImageServletTokenUtil;
    import com.liferay.portal.kernel.servlet.ServletContextUtil;
    import com.liferay.portal.kernel.servlet.SessionErrors;
    import com.liferay.portal.kernel.servlet.SessionMessages;
    import com.liferay.portal.kernel.servlet.StringServletResponse;
    import com.liferay.portal.kernel.util.ArrayUtil;
    import com.liferay.portal.kernel.util.BooleanWrapper;
    import com.liferay.portal.kernel.util.BreadcrumbsUtil;
    import com.liferay.portal.kernel.util.CalendarFactoryUtil;
    import com.liferay.portal.kernel.util.CalendarUtil;
    import com.liferay.portal.kernel.util.CharPool;
    import com.liferay.portal.kernel.util.Constants;
    import com.liferay.portal.kernel.util.ContentTypes;
    import com.liferay.portal.kernel.util.DateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.DateUtil;
    import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.FileUtil;
    import com.liferay.portal.kernel.util.GetterUtil;
    import com.liferay.portal.kernel.util.HtmlUtil;
    import com.liferay.portal.kernel.util.Http;
    import com.liferay.portal.kernel.util.HttpUtil;
    import com.liferay.portal.kernel.util.IntegerWrapper;
    import com.liferay.portal.kernel.util.JavaConstants;
    import com.liferay.portal.kernel.util.KeyValuePair;
    import com.liferay.portal.kernel.util.KeyValuePairComparator;
    import com.liferay.portal.kernel.util.ListUtil;
    import com.liferay.portal.kernel.util.LocaleUtil;
    import com.liferay.portal.kernel.util.LocalizationUtil;
    import com.liferay.portal.kernel.util.LongWrapper;
    import com.liferay.portal.kernel.util.MathUtil;
    import com.liferay.portal.kernel.util.ObjectValuePair;
    import com.liferay.portal.kernel.util.ObjectValuePairComparator;
    import com.liferay.portal.kernel.util.OrderByComparator;
    import com.liferay.portal.kernel.util.OrderedProperties;
    import com.liferay.portal.kernel.util.ParamUtil;
    import com.liferay.portal.kernel.util.PrefsParamUtil;
    import com.liferay.portal.kernel.util.PropertiesParamUtil;
    import com.liferay.portal.kernel.util.PropertiesUtil;
    import com.liferay.portal.kernel.util.PropsKeys;
    import com.liferay.portal.kernel.util.Randomizer;
    import com.liferay.portal.kernel.util.ReleaseInfo;
    import com.liferay.portal.kernel.util.ServerDetector;
    import com.liferay.portal.kernel.util.SetUtil;
    import com.liferay.portal.kernel.util.SortedProperties;
    import com.liferay.portal.kernel.util.StackTraceUtil;
    import com.liferay.portal.kernel.util.StringBundler;
    import com.liferay.portal.kernel.util.StringComparator;
    import com.liferay.portal.kernel.util.StringPool;
    import com.liferay.portal.kernel.util.StringUtil;
    import com.liferay.portal.kernel.util.Time;
    import com.liferay.portal.kernel.util.TimeZoneUtil;
    import com.liferay.portal.kernel.util.UnicodeFormatter;
    import com.liferay.portal.kernel.util.UnicodeProperties;
    import com.liferay.portal.kernel.util.Validator;
    import com.liferay.portal.kernel.workflow.WorkflowConstants;
    import com.liferay.portal.language.LanguageImpl;
    import com.liferay.portal.model.*;
    import com.liferay.portal.model.impl.*;
    import com.liferay.portal.security.auth.AuthTokenUtil;
    import com.liferay.portal.security.auth.PrincipalException;
    import com.liferay.portal.security.permission.ActionKeys;
    import com.liferay.portal.security.permission.PermissionChecker;
    import com.liferay.portal.service.*;
    import com.liferay.portal.service.permission.GroupPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPrototypePermissionUtil;
    import com.liferay.portal.service.permission.LayoutSetPrototypePermissionUtil;
    import com.liferay.portal.service.permission.PortletPermissionUtil;
    import com.liferay.portal.struts.StrutsUtil;
    import com.liferay.portal.theme.PortletDisplay;
    import com.liferay.portal.theme.ThemeDisplay;
    import com.liferay.portal.util.ContentUtil;
    import com.liferay.portal.util.CookieKeys;
    import com.liferay.portal.util.JavaScriptBundleUtil;
    import com.liferay.portal.util.Portal;
    import com.liferay.portal.util.PortalUtil;
    import com.liferay.portal.util.PortletCategoryKeys;
    import com.liferay.portal.util.PortletKeys;
    import com.liferay.portal.util.PrefsPropsUtil;
    import com.liferay.portal.util.PropsUtil;
    import com.liferay.portal.util.PropsValues;
    import com.liferay.portal.util.SessionClicks;
    import com.liferay.portal.util.SessionTreeJSClicks;
    import com.liferay.portal.util.ShutdownUtil;
    import com.liferay.portal.util.WebAppPool;
    import com.liferay.portal.util.WebKeys;
    import com.liferay.portal.util.comparator.PortletCategoryComparator;
    import com.liferay.portal.util.comparator.PortletTitleComparator;
    import com.liferay.portlet.InvokerPortlet;
    import com.liferay.portlet.PortalPreferences;
    import com.liferay.portlet.PortletConfigFactoryUtil;
    import com.liferay.portlet.PortletInstanceFactoryUtil;
    import com.liferay.portlet.PortletPreferencesFactoryUtil;
    import com.liferay.portlet.PortletResponseImpl;
    import com.liferay.portlet.PortletSetupUtil;
    import com.liferay.portlet.PortletURLImpl;
    import com.liferay.portlet.PortletURLUtil;
    import com.liferay.portlet.RenderParametersPool;
    import com.liferay.portlet.RenderRequestFactory;
    import com.liferay.portlet.RenderRequestImpl;
    import com.liferay.portlet.RenderResponseFactory;
    import com.liferay.portlet.RenderResponseImpl;
    import com.liferay.portlet.UserAttributes;
    import com.liferay.portlet.portletconfiguration.util.PortletConfigurationUtil;
    import com.liferay.util.CreditCard;
    import com.liferay.util.Encryptor;
    import com.liferay.util.JS;
    import com.liferay.util.PKParser;
    import com.liferay.util.PwdGenerator;
    import com.liferay.util.State;
    import com.liferay.util.StateUtil;
    import com.liferay.util.TextFormatter;
    import com.liferay.util.UniqueList;
    import com.liferay.util.format.PhoneNumberUtil;
    import com.liferay.util.log4j.Levels;
    import com.liferay.util.mail.InternetAddressUtil;
    import com.liferay.util.portlet.PortletRequestUtil;
    import com.liferay.util.servlet.DynamicServletRequest;
    import com.liferay.util.servlet.SessionParameters;
    import com.liferay.util.servlet.UploadException;
    import com.liferay.util.xml.XMLFormatter;
    import java.io.Serializable;
    import java.math.BigDecimal;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.text.DateFormat;
    import java.text.DecimalFormat;
    import java.text.Format;
    import java.text.MessageFormat;
    import java.text.NumberFormat;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Calendar;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Currency;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import java.util.Set;
    import java.util.Stack;
    import java.util.TimeZone;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import javax.portlet.MimeResponse;
    import javax.portlet.PortletConfig;
    import javax.portlet.PortletContext;
    import javax.portlet.PortletException;
    import javax.portlet.PortletMode;
    import javax.portlet.PortletPreferences;
    import javax.portlet.PortletRequest;
    import javax.portlet.PortletResponse;
    import javax.portlet.PortletSession;
    import javax.portlet.PortletURL;
    import javax.portlet.RenderRequest;
    import javax.portlet.RenderResponse;
    import javax.portlet.ResourceURL;
    import javax.portlet.UnavailableException;
    import javax.portlet.ValidatorException;
    import javax.portlet.WindowState;
    import org.apache.commons.math.util.MathUtils;
    import org.apache.struts.Globals;
    import com.liferay.portal.kernel.servlet.taglib.aui.ScriptData;
    import com.liferay.taglib.aui.ScriptTag;
    import com.liferay.portal.monitoring.RequestStatus;
    import com.liferay.portal.monitoring.statistics.DataSample;
    import com.liferay.portal.monitoring.statistics.DataSampleThreadLocal;
    import com.liferay.portal.monitoring.statistics.portal.PortalRequestDataSample;

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

        public static final String BUTTON_INPUT_PREFIX = "aui-button-input";

        public static final String BUTTON_PREFIX = "aui-button";

        public static final String FIELD_PREFIX = "aui-field";

        public static final String INPUT_PREFIX = "aui-field-input";

        public static final String LABEL_PREFIX = "aui-field-label";

        private static String _buildCss(String prefix, String baseTypeCss, boolean inlineField, boolean disabled,
                boolean choiceField, boolean first, boolean last, String cssClass) {
            StringBundler sb = new StringBundler();

            sb.append(prefix);

            if (choiceField) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-choice");
            } else if (baseTypeCss.equals("textarea") || baseTypeCss.equals("password")
                    || baseTypeCss.equals("string")) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-text");
            } else if (baseTypeCss.equals("select")) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-select");
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-menu");
            } else if (baseTypeCss.equals("button")) {
            } else {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-");
                sb.append(baseTypeCss);
            }

            if (inlineField) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-inline");
            }

            if (disabled) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-disabled");
            }

            if (first) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-first");
            } else if (last) {
                sb.append(StringPool.SPACE);
                sb.append(prefix);
                sb.append("-last");
            }

            if (Validator.isNotNull(cssClass)) {
                sb.append(StringPool.SPACE);
                sb.append(cssClass);
            }

            return sb.toString();
        }

        private static String _buildData(Map<String, Object> data) {
            if ((data == null) || (data.isEmpty())) {
                return StringPool.BLANK;
            }

            StringBundler sb = new StringBundler(data.size() * 5);

            for (Map.Entry<String, Object> entry : data.entrySet()) {
                String dataKey = entry.getKey();
                String dataValue = String.valueOf(entry.getValue());

                sb.append("data-");
                sb.append(dataKey);
                sb.append("=\"");
                sb.append(dataValue);
                sb.append("\" ");
            }

            return sb.toString();
        }

        private static String _buildDynamicAttributes(Map<String, Object> dynamicAttributes) {
            if ((dynamicAttributes == null) || dynamicAttributes.isEmpty()) {
                return StringPool.BLANK;
            }

            StringBundler sb = new StringBundler(dynamicAttributes.size() * 4);

            for (Map.Entry<String, Object> entry : dynamicAttributes.entrySet()) {
                String key = entry.getKey();
                String value = String.valueOf(entry.getValue());

                if (!key.equals("class")) {
                    sb.append(key);
                    sb.append("=\"");
                    sb.append(value);
                    sb.append("\" ");
                }
            }

            return sb.toString();
        }

        private static String _buildLabel(String inlineLabel, boolean showForLabel, String forLabel) {
            StringBundler sb = new StringBundler();

            sb.append("class=\"" + LABEL_PREFIX);

            if (Validator.isNotNull(inlineLabel) && !inlineLabel.equals("right")) {
                sb.append("-inline-label");
            }

            sb.append("\"");

            if (showForLabel) {
                sb.append(" for=\"" + forLabel + "\"");
            }

            return sb.toString();
        }

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

        private static java.util.List _jspx_dependants;

        static {
            _jspx_dependants = new java.util.ArrayList(31);
            _jspx_dependants.add("/html/common/init.jsp");
            _jspx_dependants.add("/html/common/init-ext.jsp");
            _jspx_dependants.add("/html/common/themes/bottom_js.jspf");
            _jspx_dependants.add("/html/portal/layout/view/portlet_js.jspf");
            _jspx_dependants.add("/html/common/themes/session_timeout.jspf");
            _jspx_dependants.add("/html/taglib/aui/script/page.jsp");
            _jspx_dependants.add("/html/taglib/init.jsp");
            _jspx_dependants.add("/html/taglib/init-ext.jsp");
            _jspx_dependants.add("/html/common/themes/bottom_monitoring.jspf");
            _jspx_dependants.add("/WEB-INF/tld/displaytag.tld");
            _jspx_dependants.add("/WEB-INF/tld/c.tld");
            _jspx_dependants.add("/WEB-INF/tld/fmt.tld");
            _jspx_dependants.add("/WEB-INF/tld/fn.tld");
            _jspx_dependants.add("/WEB-INF/tld/sql.tld");
            _jspx_dependants.add("/WEB-INF/tld/x.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-portlet.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-aui.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-portlet-ext.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-security.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-theme.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-ui.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-util.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-bean.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-bean-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-html.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-html-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-logic.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-logic-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-nested.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-tiles.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-tiles-el.tld");
        }

        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005faui_005fscript;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody;

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

        public Object getDependants() {
            return _jspx_dependants;
        }

        public void _jspInit() {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005faui_005fscript = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_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_005fliferay_002dtheme_005fdefineObjects_005fnobody.release();
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
            _005fjspx_005ftagPool_005faui_005fscript.release();
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition.release();
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.release();
            _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_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; 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;


/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      //  liferay-theme:defineObjects
      com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.get(com.liferay.taglib.theme.DefineObjectsTag.class);
      _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
      _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
      int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doStartTag();
      if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
      com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
      com.liferay.portal.model.Company company = null;
      com.liferay.portal.model.Account account = null;
      com.liferay.portal.model.User user = null;
      com.liferay.portal.model.User realUser = null;
      com.liferay.portal.model.Contact contact = null;
      com.liferay.portal.model.Layout layout = null;
      java.util.List layouts = null;
      java.lang.Long plid = null;
      com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
      java.lang.Long scopeGroupId = null;
      com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
      java.util.Locale locale = null;
      java.util.TimeZone timeZone = null;
      com.liferay.portal.model.Theme theme = null;
      com.liferay.portal.model.ColorScheme colorScheme = null;
      com.liferay.portal.theme.PortletDisplay portletDisplay = null;
      java.lang.Long portletGroupId = null;
      themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
      company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
      account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
      user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
      realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
      contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
      layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
      layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
      plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
      layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context.findAttribute("layoutTypePortlet");
      scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
      permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context.findAttribute("permissionChecker");
      locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
      timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
      theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
      colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
      portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context.findAttribute("portletDisplay");
      portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');
      out.write('\n');
      out.write('\n');
      out.write('\n');
      out.write('\n');

List<Portlet> portlets = (List<Portlet>)request.getAttribute(WebKeys.LAYOUT_PORTLETS);

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f0.setParent(null);
      // /html/common/themes/bottom.jsp(27,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f0.setTest( portlets != null );
      int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
      if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('\n');
          out.write('   ');

   Set<String> footerPortalCssSet = new LinkedHashSet<String>();

   for (Portlet portlet : portlets) {
      for (String footerPortalCss : portlet.getFooterPortalCss()) {
         if (!HttpUtil.hasProtocol(footerPortalCss)) {
            footerPortalCss = PortalUtil.getStaticResourceURL(request, request.getContextPath() + footerPortalCss, portlet.getTimestamp());
         }

         if (!footerPortalCssSet.contains(footerPortalCss)) {
            footerPortalCssSet.add(footerPortalCss);
   
          out.write("\n");
          out.write("\n");
          out.write("\t\t\t\t<link href=\"");
          out.print( HtmlUtil.escape(footerPortalCss) );
          out.write("\" rel=\"stylesheet\" type=\"text/css\" />\n");
          out.write("\n");
          out.write("\t");

         }
      }
   }

   Set<String> footerPortletCssSet = new LinkedHashSet<String>();

   for (Portlet portlet : portlets) {
      for (String footerPortletCss : portlet.getFooterPortletCss()) {
         if (!HttpUtil.hasProtocol(footerPortletCss)) {
            footerPortletCss = PortalUtil.getStaticResourceURL(request, portlet.getContextPath() + footerPortletCss, portlet.getTimestamp());
         }

         if (!footerPortletCssSet.contains(footerPortletCss)) {
            footerPortletCssSet.add(footerPortletCss);
   
          out.write("\n");
          out.write("\n");
          out.write("\t\t\t\t<link href=\"");
          out.print( HtmlUtil.escape(footerPortletCss) );
          out.write("\" rel=\"stylesheet\" type=\"text/css\" />\n");
          out.write("\n");
          out.write("\t");

         }
      }
   }
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      out.write('\n');
      out.write('\n');
      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f1.setParent(null);
      // /html/common/themes/bottom.jsp(73,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f1.setTest( portlets != null );
      int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
      if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('\n');
          out.write('   ');

   Set<String> footerPortalJavaScriptSet = new LinkedHashSet<String>();

   for (Portlet portlet : portlets) {
      for (String footerPortalJavaScript : portlet.getFooterPortalJavaScript()) {
         if (!HttpUtil.hasProtocol(footerPortalJavaScript)) {
            footerPortalJavaScript = PortalUtil.getStaticResourceURL(request, request.getContextPath() + footerPortalJavaScript, portlet.getTimestamp());
         }

         if (!footerPortalJavaScriptSet.contains(footerPortalJavaScript) && !themeDisplay.isIncludedJs(footerPortalJavaScript)) {
            footerPortalJavaScriptSet.add(footerPortalJavaScript);
   
          out.write("\n");
          out.write("\n");
          out.write("\t\t\t\t<script src=\"");
          out.print( HtmlUtil.escape(footerPortalJavaScript) );
          out.write("\" type=\"text/javascript\"></script>\n");
          out.write("\n");
          out.write("\t");

         }
      }
   }

   Set<String> footerPortletJavaScriptSet = new LinkedHashSet<String>();

   for (Portlet portlet : portlets) {
      for (String footerPortletJavaScript : portlet.getFooterPortletJavaScript()) {
         if (!HttpUtil.hasProtocol(footerPortletJavaScript)) {
            footerPortletJavaScript = PortalUtil.getStaticResourceURL(request, portlet.getContextPath() + footerPortletJavaScript, portlet.getTimestamp());
         }

         if (!footerPortletJavaScriptSet.contains(footerPortletJavaScript)) {
            footerPortletJavaScriptSet.add(footerPortletJavaScript);
   
          out.write("\n");
          out.write("\n");
          out.write("\t\t\t\t<script src=\"");
          out.print( HtmlUtil.escape(footerPortletJavaScript) );
          out.write("\" type=\"text/javascript\"></script>\n");
          out.write("\n");
          out.write("\t");

         }
      }
   }
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f2.setParent(null);
      // /html/portal/layout/view/portlet_js.jspf(17,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f2.setTest( (layout != null) && (LayoutPermissionUtil.contains(permissionChecker, layout, ActionKeys.UPDATE)) );
      int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
      if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('   ');
          if (_jspx_meth_aui_005fscript_005f0(_jspx_th_c_005fif_005f2, _jspx_page_context))
            return;
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      out.write('\n');
      out.write('\n');
      //  aui:script
      com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f1 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition.get(com.liferay.taglib.aui.ScriptTag.class);
      _jspx_th_aui_005fscript_005f1.setPageContext(_jspx_page_context);
      _jspx_th_aui_005fscript_005f1.setParent(null);
      // /html/common/themes/bottom_js.jspf(19,0) name = position type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_aui_005fscript_005f1.setPosition("inline");
      int _jspx_eval_aui_005fscript_005f1 = _jspx_th_aui_005fscript_005f1.doStartTag();
      if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_aui_005fscript_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_aui_005fscript_005f1.doInitBody();
        }
        do {
          out.write("\n");
          out.write("\tLiferay.Util.addInputFocus();\n");
          out.write("\n");
          out.write("\t");
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fscript_005f1);
          // /html/common/themes/bottom_js.jspf(22,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f3.setTest( !themeDisplay.isStatePopUp() );
          int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
          if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\n");
              out.write("\n");
              out.write("\t\t");

      String scroll = ParamUtil.getString(request, "scroll");
      
              out.write("\n");
              out.write("\n");
              out.write("\t\t");
              //  c:if
              org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
              _jspx_th_c_005fif_005f4.setPageContext(_jspx_page_context);
              _jspx_th_c_005fif_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f3);
              // /html/common/themes/bottom_js.jspf(28,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_c_005fif_005f4.setTest( Validator.isNotNull(scroll) );
              int _jspx_eval_c_005fif_005f4 = _jspx_th_c_005fif_005f4.doStartTag();
              if (_jspx_eval_c_005fif_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\n");
                  out.write("\t\t\tLiferay.on(\n");
                  out.write("\t\t\t\t'allPortletsReady',\n");
                  out.write("\t\t\t\tfunction(event) {\n");
                  out.write("\t\t\t\t\tdocument.getElementById('");
                  out.print( HtmlUtil.escape(scroll) );
                  out.write("').scrollIntoView();\n");
                  out.write("\t\t\t\t}\n");
                  out.write("\t\t\t);\n");
                  out.write("\t\t");
                  int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
                return;
              }
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
              out.write('\n');
              out.write('   ');
              int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_aui_005fscript_005f1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_aui_005fscript_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition.reuse(_jspx_th_aui_005fscript_005f1);
        return;
      }
      _005fjspx_005ftagPool_005faui_005fscript_0026_005fposition.reuse(_jspx_th_aui_005fscript_005f1);
      out.write('\n');
      out.write('\n');
      if (_jspx_meth_aui_005fscript_005f2(_jspx_page_context))
        return;
      out.write('\n');
      out.write('\n');

Group group = null;

if (layout != null) {
   group = layout.getGroup();
}

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f5.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f5.setParent(null);
      // /html/common/themes/bottom_js.jspf(57,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f5.setTest( (layout != null) && (!group.hasStagingGroup() || group.isStagingGroup()) && LayoutPermissionUtil.contains(permissionChecker, layout, ActionKeys.UPDATE) );
      int _jspx_eval_c_005fif_005f5 = _jspx_th_c_005fif_005f5.doStartTag();
      if (_jspx_eval_c_005fif_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('   ');
          //  aui:script
          com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f3 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.get(com.liferay.taglib.aui.ScriptTag.class);
          _jspx_th_aui_005fscript_005f3.setPageContext(_jspx_page_context);
          _jspx_th_aui_005fscript_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
          // /html/common/themes/bottom_js.jspf(58,1) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_aui_005fscript_005f3.setUse("liferay-layout,liferay-navigation");
          int _jspx_eval_aui_005fscript_005f3 = _jspx_th_aui_005fscript_005f3.doStartTag();
          if (_jspx_eval_aui_005fscript_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_aui_005fscript_005f3.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_aui_005fscript_005f3.doInitBody();
            }
            do {
              out.write("\n");
              out.write("\t\tvar layoutOptions = {};\n");
              out.write("\n");
              out.write("\t\tif (!themeDisplay.isFreeformLayout()) {\n");
              out.write("\t\t\tlayoutOptions = {\n");
              out.write("\t\t\t\tdragNodes: '#main-content .portlet-boundary',\n");
              out.write("\t\t\t\tdropContainer: '.portlet-dropzone',\n");
              out.write("\t\t\t\tdropNodes: '.portlet-column',\n");
              out.write("\t\t\t\temptyColumnClass: 'empty',\n");
              out.write("\t\t\t\thandles: ['.portlet-title', '.portlet-title-default'],\n");
              out.write("\t\t\t\tinvalid: '.portlet-static',\n");
              out.write("\t\t\t\tnestedPortletId: '_");
              out.print( PortletKeys.NESTED_PORTLETS );
              out.write("_INSTANCE',\n");
              out.write("\t\t\t\tportletBoundary: '.portlet-boundary'\n");
              out.write("\t\t\t};\n");
              out.write("\t\t}\n");
              out.write("\t\telse {\n");
              out.write("\t\t\tlayoutOptions = {\n");
              out.write("\t\t\t\tdragNodes: '#main-content .portlet-boundary',\n");
              out.write("\t\t\t\tdropContainer: '.portlet-dropzone',\n");
              out.write("\t\t\t\tdropNodes: '.portlet-column',\n");
              out.write("\t\t\t\temptyColumnClass: 'empty',\n");
              out.write("\t\t\t\tfreeForm: true,\n");
              out.write("\t\t\t\tfreeformPlaceholderClass: 'lfr-freeform-layout-drag-indicator',\n");
              out.write("\t\t\t\thandles: ['.portlet-header-bar', '.portlet-title-default', '.portlet-topper'],\n");
              out.write("\t\t\t\tnestedPortletId: '_");
              out.print( PortletKeys.NESTED_PORTLETS );
              out.write("_INSTANCE',\n");
              out.write("\t\t\t\tportletBoundary: '.portlet-boundary'\n");
              out.write("\t\t\t};\n");
              out.write("\t\t}\n");
              out.write("\n");
              out.write("\t\t");
              //  c:if
              org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f6 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
              _jspx_th_c_005fif_005f6.setPageContext(_jspx_page_context);
              _jspx_th_c_005fif_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fscript_005f3);
              // /html/common/themes/bottom_js.jspf(87,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_c_005fif_005f6.setTest( layout.isTypePortlet() );
              int _jspx_eval_c_005fif_005f6 = _jspx_th_c_005fif_005f6.doStartTag();
              if (_jspx_eval_c_005fif_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\n");
                  out.write("\t\t\tLiferay.once(\n");
                  out.write("\t\t\t\t'initLayout',\n");
                  out.write("\t\t\t\tfunction() {\n");
                  out.write("\t\t\t\t\tLiferay.Layout.init(layoutOptions);\n");
                  out.write("\t\t\t\t}\n");
                  out.write("\t\t\t);\n");
                  out.write("\n");
                  out.write("\t\t\tvar mainContent = A.one('#main-content');\n");
                  out.write("\n");
                  out.write("\t\t\tif (mainContent) {\n");
                  out.write("\t\t\t\tmainContent.once(\n");
                  out.write("\t\t\t\t\t'mousemove',\n");
                  out.write("\t\t\t\t\tfunction() {\n");
                  out.write("\t\t\t\t\t\tLiferay.fire('initLayout');\n");
                  out.write("\t\t\t\t\t}\n");
                  out.write("\t\t\t\t);\n");
                  out.write("\t\t\t}\n");
                  out.write("\t\t");
                  int evalDoAfterBody = _jspx_th_c_005fif_005f6.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_c_005fif_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
                return;
              }
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
              out.write("\n");
              out.write("\n");
              out.write("\t\tLiferay.once(\n");
              out.write("\t\t\t'initNavigation',\n");
              out.write("\t\t\tfunction() {\n");
              out.write("\t\t\t\tnew Liferay.Navigation(\n");
              out.write("\t\t\t\t\t{\n");
              out.write("\t\t\t\t\t\tlayoutIds: [");
              out.print( ListUtil.toString(layouts, "layoutId") );
              out.write("],\n");
              out.write("\t\t\t\t\t\tnavBlock: navBlock,\n");
              out.write("\t\t\t\t\t\thasPermission: ");
              out.print( GroupPermissionUtil.contains(permissionChecker, scopeGroupId, ActionKeys.MANAGE_LAYOUTS) );
              out.write("\n");
              out.write("\t\t\t\t\t}\n");
              out.write("\t\t\t\t);\n");
              out.write("\t\t\t}\n");
              out.write("\t\t);\n");
              out.write("\n");
              out.write("\t\tvar navBlock = A.one('#navigation');\n");
              out.write("\n");
              out.write("\t\tif (navBlock) {\n");
              out.write("\t\t\tnavBlock.once(\n");
              out.write("\t\t\t\t'mousemove',\n");
              out.write("\t\t\t\tfunction() {\n");
              out.write("\t\t\t\t\tLiferay.fire('initNavigation');\n");
              out.write("\t\t\t\t}\n");
              out.write("\t\t\t);\n");
              out.write("\t\t}\n");
              out.write("\t");
              int evalDoAfterBody = _jspx_th_aui_005fscript_005f3.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_aui_005fscript_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f3);
            return;
          }
          _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f3);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f5.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
      out.write('\n');
      out.write('\n');
      //  aui:script
      com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f4 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.get(com.liferay.taglib.aui.ScriptTag.class);
      _jspx_th_aui_005fscript_005f4.setPageContext(_jspx_page_context);
      _jspx_th_aui_005fscript_005f4.setParent(null);
      // /html/common/themes/bottom_js.jspf(133,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_aui_005fscript_005f4.setUse("liferay-menu,liferay-notice,liferay-poller");
      int _jspx_eval_aui_005fscript_005f4 = _jspx_th_aui_005fscript_005f4.doStartTag();
      if (_jspx_eval_aui_005fscript_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_aui_005fscript_005f4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_aui_005fscript_005f4.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_aui_005fscript_005f4.doInitBody();
        }
        do {
          out.write("\n");
          out.write("\tnew Liferay.Menu();\n");
          out.write("\n");
          out.write("\tLiferay.Notice.prototype.setClosing();\n");
          out.write("\n");
          out.write("\t");
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f7 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f7.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fscript_005f4);
          // /html/common/themes/bottom_js.jspf(138,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f7.setTest( themeDisplay.isSignedIn() );
          int _jspx_eval_c_005fif_005f7 = _jspx_th_c_005fif_005f7.doStartTag();
          if (_jspx_eval_c_005fif_005f7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\n");
              out.write("\t\tLiferay._editControlsState = '");
              out.print( GetterUtil.getString(SessionClicks.get(request, "liferay_toggle_controls", null), "visible") );
              out.write("';\n");
              out.write("\n");
              out.write("\t\tif (Liferay.Util) {\n");
              out.write("\t\t\tLiferay.Util.toggleControls();\n");
              out.write("\t\t}\n");
              out.write("\n");
              out.write("\t\tLiferay.Poller.init(\n");
              out.write("\t\t\t{\n");
              out.write("\t\t\t\tencryptedUserId: '");
              out.print( Encryptor.encrypt(company.getKeyObj(), String.valueOf(themeDisplay.getUserId())) );
              out.write("',\n");
              out.write("\t\t\t\tsupportsComet: ");
              out.print( ServerDetector.isSupportsComet() );
              out.write("\n");
              out.write("\t\t\t}\n");
              out.write("\t\t);\n");
              out.write("\t");
              int evalDoAfterBody = _jspx_th_c_005fif_005f7.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_aui_005fscript_005f4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_aui_005fscript_005f4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_aui_005fscript_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f4);
        return;
      }
      _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f4);
      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f8 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f8.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f8.setParent(null);
      // /html/common/themes/session_timeout.jspf(17,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f8.setTest( themeDisplay.isSignedIn() && !PropsValues.SESSION_DISABLED );
      int _jspx_eval_c_005fif_005f8 = _jspx_th_c_005fif_005f8.doStartTag();
      if (_jspx_eval_c_005fif_005f8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('\n');
          out.write('   ');

   String autoRememberMe = CookieKeys.getCookie(request, CookieKeys.REMEMBER_ME);
   
          out.write('\n');
          out.write('\n');
          out.write('   ');
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f9 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f9.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f8);
          // /html/common/themes/session_timeout.jspf(23,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f9.setTest( Validator.isNull(autoRememberMe) );
          int _jspx_eval_c_005fif_005f9 = _jspx_th_c_005fif_005f9.doStartTag();
          if (_jspx_eval_c_005fif_005f9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\n");
              out.write("\n");
              out.write("\t\t");

      int sessionTimeout = PropsValues.SESSION_TIMEOUT;
      int sessionTimeoutMinute = sessionTimeout * (int)Time.MINUTE;
      int sessionTimeoutWarning = PropsValues.SESSION_TIMEOUT_WARNING;
      int sessionTimeoutWarningMinute = sessionTimeoutWarning * (int)Time.MINUTE;
      int timeoutDiff = (sessionTimeout - sessionTimeoutWarning) * (int)Time.MINUTE;

      Calendar sessionTimeoutCal = CalendarFactoryUtil.getCalendar(timeZone);

      sessionTimeoutCal.add(Calendar.MILLISECOND, sessionTimeoutMinute);
      
              out.write("\n");
              out.write("\n");
              out.write("\t\t");
              //  c:if
              org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f10 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
              _jspx_th_c_005fif_005f10.setPageContext(_jspx_page_context);
              _jspx_th_c_005fif_005f10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f9);
              // /html/common/themes/session_timeout.jspf(37,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_c_005fif_005f10.setTest( sessionTimeoutWarning > 0 );
              int _jspx_eval_c_005fif_005f10 = _jspx_th_c_005fif_005f10.doStartTag();
              if (_jspx_eval_c_005fif_005f10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\n");
                  out.write("\t\t\t");
                  //  aui:script
                  com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f5 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.get(com.liferay.taglib.aui.ScriptTag.class);
                  _jspx_th_aui_005fscript_005f5.setPageContext(_jspx_page_context);
                  _jspx_th_aui_005fscript_005f5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f10);
                  // /html/common/themes/session_timeout.jspf(38,3) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                  _jspx_th_aui_005fscript_005f5.setUse("liferay-session");
                  int _jspx_eval_aui_005fscript_005f5 = _jspx_th_aui_005fscript_005f5.doStartTag();
                  if (_jspx_eval_aui_005fscript_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_aui_005fscript_005f5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.pushBody();
                      _jspx_th_aui_005fscript_005f5.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                      _jspx_th_aui_005fscript_005f5.doInitBody();
                    }
                    do {
                      out.write("\n");
                      out.write("\t\t\t\tLiferay.Session.init(\n");
                      out.write("\t\t\t\t\t{\n");
                      out.write("\t\t\t\t\t\tautoExtend: ");
                      out.print( PropsValues.SESSION_TIMEOUT_AUTO_EXTEND );
                      out.write(",\n");
                      out.write("\t\t\t\t\t\ttimeout: ");
                      out.print( sessionTimeout );
                      out.write(",\n");
                      out.write("\t\t\t\t\t\ttimeoutWarning: ");
                      out.print( sessionTimeoutWarning );
                      out.write(",\n");
                      out.write("\t\t\t\t\t\tredirectOnExpire: ");
                      out.print( PropsValues.SESSION_TIMEOUT_REDIRECT_ON_EXPIRE );
                      out.write("\n");
                      out.write("\t\t\t\t\t}\n");
                      out.write("\t\t\t\t);\n");
                      out.write("\t\t\t");
                      int evalDoAfterBody = _jspx_th_aui_005fscript_005f5.doAfterBody();
                      if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                    } while (true);
                    if (_jspx_eval_aui_005fscript_005f5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.popBody();
                    }
                  }
                  if (_jspx_th_aui_005fscript_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f5);
                    return;
                  }
                  _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f5);
                  out.write('\n');
                  out.write('   ');
                  out.write('   ');
                  int evalDoAfterBody = _jspx_th_c_005fif_005f10.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_c_005fif_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
                return;
              }
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
              out.write('\n');
              out.write('   ');
              int evalDoAfterBody = _jspx_th_c_005fif_005f9.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f8.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      //  liferay-theme:defineObjects
      com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f1 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.get(com.liferay.taglib.theme.DefineObjectsTag.class);
      _jspx_th_liferay_002dtheme_005fdefineObjects_005f1.setPageContext(_jspx_page_context);
      _jspx_th_liferay_002dtheme_005fdefineObjects_005f1.setParent(null);
      int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f1 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f1.doStartTag();
      if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f1);
        return;
      }
      _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f1);
      themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
      company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
      account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
      user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
      realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
      contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
      layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
      layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
      plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
      layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context.findAttribute("layoutTypePortlet");
      scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
      permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context.findAttribute("permissionChecker");
      locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
      timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
      theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
      colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
      portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context.findAttribute("portletDisplay");
      portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');

PortletRequest portletRequest = (PortletRequest)request.getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

PortletResponse portletResponse = (PortletResponse)request.getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

String namespace = StringPool.BLANK;

boolean useNamespace = GetterUtil.getBoolean((String)request.getAttribute("aui:form:useNamespace"), true);

if ((portletResponse != null) && useNamespace) {
   namespace = portletResponse.getNamespace();
}

String currentURL = PortalUtil.getCurrentURL(request);

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

      out.write('\n');
      out.write('\n');
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");

ScriptData scriptData = (ScriptData)request.getAttribute(ScriptTag.class.getName());

if (scriptData == null) {
   scriptData = (ScriptData)request.getAttribute(WebKeys.AUI_SCRIPT_DATA);

   if (scriptData != null) {
      request.removeAttribute(WebKeys.AUI_SCRIPT_DATA);
   }
}

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f11 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f11.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f11.setParent(null);
      // /html/taglib/aui/script/page.jsp(34,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f11.setTest( scriptData != null );
      int _jspx_eval_c_005fif_005f11 = _jspx_th_c_005fif_005f11.doStartTag();
      if (_jspx_eval_c_005fif_005f11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("\t<script type=\"text/javascript\">\n");
          out.write("\t\t// <![CDATA[\n");
          out.write("\n");
          out.write("\t\t\t");

         StringBundler rawSB = scriptData.getRawSB();

         rawSB.writeTo(out);

         StringBundler callbackSB = scriptData.getCallbackSB();
         
          out.write("\n");
          out.write("\n");
          out.write("\t\t\t");
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f12 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f12.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f12.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f11);
          // /html/taglib/aui/script/page.jsp(46,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f12.setTest( callbackSB.index() > 0 );
          int _jspx_eval_c_005fif_005f12 = _jspx_th_c_005fif_005f12.doStartTag();
          if (_jspx_eval_c_005fif_005f12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\n");
              out.write("\n");
              out.write("\t\t\t\t");

            Set<String> useSet = scriptData.getUseSet();

            StringBundler useSB = new StringBundler(useSet.size() * 4);

            for (String use : useSet) {
               useSB.append(StringPool.APOSTROPHE);
               useSB.append(use);
               useSB.append(StringPool.APOSTROPHE);
               useSB.append(StringPool.COMMA_AND_SPACE);
            }
            
              out.write("\n");
              out.write("\n");
              out.write("\t\t\t\tAUI().use(\n");
              out.write("\n");
              out.write("\t\t\t\t\t");

               useSB.writeTo(out);
               
              out.write("\n");
              out.write("\n");
              out.write("\t\t\t\t\tfunction(A) {\n");
              out.write("\n");
              out.write("\t\t\t\t\t\t");

                  callbackSB.writeTo(out);
                  
              out.write("\n");
              out.write("\n");
              out.write("\t\t\t\t\t}\n");
              out.write("\t\t\t\t);\n");
              out.write("\t\t\t");
              int evalDoAfterBody = _jspx_th_c_005fif_005f12.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
          out.write("\n");
          out.write("\t\t// ]]>\n");
          out.write("\t</script>\n");
          int evalDoAfterBody = _jspx_th_c_005fif_005f11.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
      out.write('\n');
      out.write('\n');
      out.write('\n');
      out.write('\n');

StringBundler pageBottomSB = (StringBundler)request.getAttribute(WebKeys.PAGE_BOTTOM);

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f13 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f13.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f13.setParent(null);
      // /html/common/themes/bottom.jsp(129,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f13.setTest( pageBottomSB != null );
      int _jspx_eval_c_005fif_005f13 = _jspx_th_c_005fif_005f13.doStartTag();
      if (_jspx_eval_c_005fif_005f13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('\n');
          out.write('   ');

   pageBottomSB.writeTo(out);
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f13.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
      out.write('\n');
      out.write('\n');
      out.write("\n");
      out.write("\n");
      out.write("<script src=\"");
      out.print( HtmlUtil.escape(PortalUtil.getStaticResourceURL(request, themeDisplay.getPathThemeJavaScript() + "/main.js")) );
      out.write("\" type=\"text/javascript\"></script>\n");
      out.write("\n");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f14 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f14.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f14.setParent(null);
      // /html/common/themes/bottom.jsp(141,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f14.setTest( layout != null );
      int _jspx_eval_c_005fif_005f14 = _jspx_th_c_005fif_005f14.doStartTag();
      if (_jspx_eval_c_005fif_005f14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('\n');
          out.write('   ');
          out.write('\n');
          out.write('\n');
          out.write('   ');

   UnicodeProperties typeSettings = layout.getTypeSettingsProperties();
   
          out.write("\n");
          out.write("\n");
          out.write("\t<script type=\"text/javascript\">\n");
          out.write("\t\t// <![CDATA[\n");
          out.write("\t\t\t");
          out.print( GetterUtil.getString(typeSettings.getProperty("javascript-1")) );
          out.write("\n");
          out.write("\t\t\t");
          out.print( GetterUtil.getString(typeSettings.getProperty("javascript-2")) );
          out.write("\n");
          out.write("\t\t\t");
          out.print( GetterUtil.getString(typeSettings.getProperty("javascript-3")) );
          out.write("\n");
          out.write("\t\t// ]]>\n");
          out.write("\t</script>\n");
          out.write("\n");
          out.write("\t");
          out.write('\n');
          out.write('\n');
          out.write('   ');

   UnicodeProperties groupTypeSettings = layout.getGroup().getTypeSettingsProperties();

   String googleAnalyticsId = groupTypeSettings.getProperty("googleAnalyticsId");

   if (Validator.isNotNull(googleAnalyticsId)) {
   
          out.write("\n");
          out.write("\n");
          out.write("\t\t<script type=\"text/javascript\">\n");
          out.write("\t\t\tvar _gaq = _gaq || [];\n");
          out.write("\n");
          out.write("\t\t\t_gaq.push(['_setAccount', '");
          out.print( googleAnalyticsId );
          out.write("']);\n");
          out.write("\t\t\t_gaq.push(['_trackPageview']);\n");
          out.write("\n");
          out.write("\t\t\t(function() {\n");
          out.write("\t\t\t\tvar ga = document.createElement('script');\n");
          out.write("\n");
          out.write("\t\t\t\tga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n");
          out.write("\t\t\t\tga.setAttribute('async', 'true');\n");
          out.write("\n");
          out.write("\t\t\t\tdocument.documentElement.firstChild.appendChild(ga);\n");
          out.write("\t\t\t})();\n");
          out.write("\t\t</script>\n");
          out.write("\n");
          out.write("\t");

   }
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f14.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f15 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f15.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f15.setParent(null);
      // /html/common/themes/bottom.jsp(189,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f15.setTest( PropsValues.MONITORING_PORTAL_REQUEST );
      int _jspx_eval_c_005fif_005f15 = _jspx_th_c_005fif_005f15.doStartTag();
      if (_jspx_eval_c_005fif_005f15 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('   ');

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");

PortalRequestDataSample portalRequestDataSample = (PortalRequestDataSample)request.getAttribute(WebKeys.PORTAL_REQUEST_DATA_SAMPLE);

if (portalRequestDataSample != null) {
   portalRequestDataSample.capture(RequestStatus.SUCCESS);

   MessageBusUtil.sendMessage(DestinationNames.MONITORING, portalRequestDataSample);

   DataSampleThreadLocal.addDataSample(portalRequestDataSample);
}

          out.write('\n');
          out.write('\n');
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f16 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f16.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f16.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f15);
          // /html/common/themes/bottom_monitoring.jspf(34,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f16.setTest( PropsValues.MONITORING_SHOW_PER_REQUEST_DATA_SAMPLE );
          int _jspx_eval_c_005fif_005f16 = _jspx_th_c_005fif_005f16.doStartTag();
          if (_jspx_eval_c_005fif_005f16 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\n");
              out.write("\n");
              out.write("\t<!--\n");
              out.write("\t");

   List<DataSample> dataSamples = DataSampleThreadLocal.getDataSamples();
   
              out.write('\n');
              out.write('\n');
              out.write('   ');

   for (DataSample dataSample : dataSamples) {
   
              out.write("\n");
              out.write("\n");
              out.write("\t\t");
              out.print( dataSample );
              out.write("<br />\n");
              out.write("\n");
              out.write("\t");

   }
   
              out.write("\n");
              out.write("\t-->\n");
              out.write("\n");
              int evalDoAfterBody = _jspx_th_c_005fif_005f16.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f15.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
      out.write('\n');
      out.write('\n');
      if (_jspx_meth_liferay_002dutil_005finclude_005f0(_jspx_page_context))
        return;
    } 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_aui_005fscript_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2,
                PageContext _jspx_page_context) throws Throwable {
            PageContext pageContext = _jspx_page_context;
            JspWriter out = _jspx_page_context.getOut();
            //  aui:script
            com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript
                    .get(com.liferay.taglib.aui.ScriptTag.class);
            _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context);
            _jspx_th_aui_005fscript_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
            int _jspx_eval_aui_005fscript_005f0 = _jspx_th_aui_005fscript_005f0.doStartTag();
            if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                    out = _jspx_page_context.pushBody();
                    _jspx_th_aui_005fscript_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                    _jspx_th_aui_005fscript_005f0.doInitBody();
                }
                do {
                    out.write("\n");
                    out.write("\t\tLiferay.provide(\n");
                    out.write("\t\t\tLiferay.Portlet,\n");
                    out.write("\t\t\t'refreshLayout',\n");
                    out.write("\t\t\tfunction(portletBound) {\n");
                    out.write("\t\t\t\tif (!portletBound.isStatic) {\n");
                    out.write("\t\t\t\t\tLiferay.Layout.refresh(portletBound);\n");
                    out.write("\t\t\t\t}\n");
                    out.write("\t\t\t},\n");
                    out.write("\t\t\t['liferay-layout']\n");
                    out.write("\t\t);\n");
                    out.write("\t");
                    int evalDoAfterBody = _jspx_th_aui_005fscript_005f0.doAfterBody();
                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                } while (true);
                if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                    out = _jspx_page_context.popBody();
                }
            }
            if (_jspx_th_aui_005fscript_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f0);
                return true;
            }
            _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f0);
            return false;
        }

        private boolean _jspx_meth_aui_005fscript_005f2(PageContext _jspx_page_context) throws Throwable {
            PageContext pageContext = _jspx_page_context;
            JspWriter out = _jspx_page_context.getOut();
            //  aui:script
            com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f2 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse
                    .get(com.liferay.taglib.aui.ScriptTag.class);
            _jspx_th_aui_005fscript_005f2.setPageContext(_jspx_page_context);
            _jspx_th_aui_005fscript_005f2.setParent(null);
            // /html/common/themes/bottom_js.jspf(39,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_aui_005fscript_005f2.setUse("aui-base");
            int _jspx_eval_aui_005fscript_005f2 = _jspx_th_aui_005fscript_005f2.doStartTag();
            if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                    out = _jspx_page_context.pushBody();
                    _jspx_th_aui_005fscript_005f2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                    _jspx_th_aui_005fscript_005f2.doInitBody();
                }
                do {
                    out.write("\n");
                    out.write("\tLiferay.Util.addInputType();\n");
                    out.write("\n");
                    out.write("\tLiferay.Portlet.ready(\n");
                    out.write("\t\tfunction(portletId, node) {\n");
                    out.write("\t\t\tLiferay.Util.addInputType(node);\n");
                    out.write("\t\t}\n");
                    out.write("\t);\n");
                    int evalDoAfterBody = _jspx_th_aui_005fscript_005f2.doAfterBody();
                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                } while (true);
                if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                    out = _jspx_page_context.popBody();
                }
            }
            if (_jspx_th_aui_005fscript_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f2);
                return true;
            }
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f2);
            return false;
        }

        private boolean _jspx_meth_liferay_002dutil_005finclude_005f0(PageContext _jspx_page_context) throws Throwable {
            PageContext pageContext = _jspx_page_context;
            JspWriter out = _jspx_page_context.getOut();
            //  liferay-util:include
            com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f0 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody
                    .get(com.liferay.taglib.util.IncludeTag.class);
            _jspx_th_liferay_002dutil_005finclude_005f0.setPageContext(_jspx_page_context);
            _jspx_th_liferay_002dutil_005finclude_005f0.setParent(null);
            // /html/common/themes/bottom.jsp(193,0) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_liferay_002dutil_005finclude_005f0.setPage("/html/common/themes/bottom-ext.jsp");
            int _jspx_eval_liferay_002dutil_005finclude_005f0 = _jspx_th_liferay_002dutil_005finclude_005f0
                    .doStartTag();
            if (_jspx_th_liferay_002dutil_005finclude_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody
                        .reuse(_jspx_th_liferay_002dutil_005finclude_005f0);
                return true;
            }
            _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody
                    .reuse(_jspx_th_liferay_002dutil_005finclude_005f0);
            return false;
        }
    }