%@page import="com.liferay.portal.util.PortalUtil"%>
<%@page import="com.liferay.portal.kernel.util.Validator"%>
<%@page import="com.liferay.portal.kernel.util.StringPool"%>
<%@page import="com.liferay.portal.model.Group"%>
<%@ page import="com.liferay.portal.service.PortletLocalServiceUtil" %>
<%@ page import="com.liferay.portal.model.Portlet" %>
<%@ page import="com.liferay.portal.kernel.util.GetterUtil" %>
<%@ page import="com.liferay.portal.kernel.util.PropsUtil" %>
<%@ include file="/init.jsp" %>
<%
if(PortalUtil.getControlPanelPlid(company.getCompanyId()) != themeDisplay.getPlid()){
Portlet portlet = PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletDisplay.getId());
String articleKey = "cookiesJournalarticleId";
String articleId = StringPool.BLANK;
Group group = themeDisplay.getScopeGroup();
if(group.getExpandoBridge().hasAttribute(articleKey)){
articleId = String.valueOf(group.getExpandoBridge().getAttribute(articleKey,false));
}
if (Validator.isNotNull(articleId)) {
%>