<%@ page language="java" buffer="100kb" errorPage="/common/error.jsp"%>

<%@ page import="java.util.HashMap" %>
<%@ page import="vkc.db.serializer.VKCSysParameterSerializer"%>

<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="vkc-taglib"  prefix="vkc"   %>

<html:html locale="true">
<head>
    <meta http-equiv="content-type"  content="text/html; charset=iso-8859-1" />
    <link rel="SHORTCUT ICON" href="<vkc:rewrite page='/templates/${template.name}/gfx/vkc.ico'/>">
    <title><vkc:message key="vkc" /></title>

    <script language='JavaScript' type="text/javascript">  
    window.name = 'MAINFRAMESET';
    
    if (<%=VKCSysParameterSerializer.retrieveIntValue("LOGIN", "StandaloneModus", 1)%> != 0) {
        if (top != self) {
            top.location = self.location;
        }
    }
    </script>
</head>
<frameset rows="82, *, 25" border="0" frameborder="0" framespacing="0">
<bean:parameter id="categoryId" name="categoryId" value="<%= String.valueOf(vkc.db.entities.VKCCategory.ROOT_CATEGORY_ID)%>"/>
<bean:parameter id="anchorvalue" name="anchor" value="top"/>
<bean:parameter id="sysLinkMessageKey" name="sysLinkMessageKey" value=""/>
<%
	HashMap params = new HashMap();
	
	params.put("categoryId", categoryId);
	params.put("anchor", anchorvalue);
	
	if (request.getParameter("sysLinkMessageKey") != null) {
		params.put("sysLinkMessageKey", sysLinkMessageKey);
	}
	
	request.setAttribute("params", params);
%>
<vkc:frame page="/vkcTabView.do" frameborder="0" scrolling="no" frameName="TABVIEW" noresize="true"/>
<vkc:frame page="/showCategory.do" name="params" frameborder="0" scrolling="auto" frameName="MAINVIEW"/>
<vkc:frame page="/copyrightView.do" frameborder="0" scrolling="no" frameName="COPYRIGHTVIEW" noresize="true"/>
</frameset>
</html:html>