<%
/**
 * Copyright (c) 2000-2007 Liferay, Inc. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
%>

<!-- ******************************** -->
<!-- beginning with portal_normal.jsp -->
<!-- ******************************** -->

<%@ include file="portal_init.jsp" %>
<html dir="<bean:message key="lang.dir" />">

<head>
	<%-- <title><%= company.getName() + " - " + title %></title> --%>
	<title><%= RtsConfig.configuration.application.windowTitle %></title>
	<liferay-util:include page="/html/common/themes/top_head.jsp" />
	<link href="/html/themes/silver/templates/proveo_css.css" rel="stylesheet" type="text/css" />
	
</head>
<body id="proveo_portal-body">

	<!-- include top.jsp -->
	<%@ include file="top.jsp" %>
	
	<!-- if available and signed in, include navigation.jsp -->
	<c:if test="<%= themeDisplay.isSignedIn() %>">
		<%@ include file="navigation.jsp" %>
	</c:if>
	</div>
	<div id="clear"></div>
	<!-- ending layout-top-banner -->

	
	<c:choose>
		<c:when test="<%= selectable || !themeDisplay.isSignedIn()%>">
			<liferay-util:include page="<%= Constants.TEXT_HTML_DIR + tilesContent %>" />
		</c:when>
	<c:otherwise>

		<%
		portletDisplay.recycle();

		portletDisplay.setTitle(title);
		%>

		<liferay-theme:box top="portlet_top.jsp" bottom="portlet_bottom.jsp">
			<table border="0" cellpadding="0" cellspacing="0" width="100%>
			<tr>
				<td>
					<liferay-util:include page="<%= Constants.TEXT_HTML_DIR + tilesContent %>" />
				</td>
			</tr>
			</table>
		</liferay-theme:box>
	</c:otherwise>
</c:choose>


<!-- include bottom.jsp -->
<%@ include file="bottom.jsp" %>


<liferay-util:include page="/html/common/themes/bottom-ext.jsp" />
<liferay-util:include page="/html/common/themes/session_timeout.jsp" />

</body>
</html>

<!-- ******************************** -->
<!--   ending with portal_normal.jsp  -->
<!-- ******************************** -->