<%@ page import="
        org.opencms.workplace.*,
        org.opencms.workplace.administration.*,
        org.opencms.workplace.tools.*,
	org.opencms.jsp.*"
%>
<%
    CmsJspActionElement jsp = new CmsJspActionElement(pageContext, request, response);
    CmsAdminFrameset wp = new CmsAdminFrameset(jsp);
    // reset root
    wp.setParamRoot("demos");
    wp.setParamBase("/");
    wp.getToolManager().initParams(wp);
    // rewrite params
    String params = wp.allParamsAsRequest();
    if (params==null) {
       params = "";
    }
    if (params.length()>0) {
       params = "?" + params;
    }
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<%= wp.getEncoding() %>">
<title><%= wp.key("label.wptitle") %> <%= wp.getSettings().getUser().getName() %>@<%= request.getServerName() %></title>

<script language="javascript"><!--
var _context = "";
//--></script>

</head>
	<frameset cols="<%=(wp.withMenu()?"212,":"")%>*" border="0" frameborder="0" framespacing="0">
<%    if (wp.withMenu()) { %>                
		<frame <%= wp.getFrameSource("admin_menu", jsp.link("../admin/admin-menu.jsp") + params) %> frameborder="0" border="0" noresize scrolling="auto">
<%    } %>
		<frame <%= wp.getFrameSource("admin_content", jsp.link(CmsToolManager.VIEW_JSPPAGE_LOCATION) + params) %> frameborder="0" border="0" framespacing="0" marginheight="7" marginwidth="7" noresize scrolling="auto">
	</frameset>
</html>
