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

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

<vkc:init/>
<html:html locale="true">
<head>

	<title><vkc:message key="vkc" /></title>

	<vkc:cssinclude />
    <script type="text/javascript" src="<vkc:rewrite page='/common/utils.js'/>"></script>

    <meta http-equiv="content-type"  content="text/html; charset=iso-8859-1" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="pragma"        content="no-cache" />
    <meta http-equiv="expires"       content="0" />
    <meta http-equiv="robots"        content="noindex" />
    <meta http-equiv="robots"        content="nofollow" />

    <script type="text/javascript">
	window.name = "CLOSETREEVIEW";
    
	function closeNavigator() {
        if (document.getElementById) {
            parent.document.getElementsByTagName('frameset')[0].cols='0,0,*';
            parent.document.getElementsByTagName('frameset')[1].rows='0,*';
        } else if (document.all) {
            parent.document.all('frameset')[0].cols='0,0,*';
            parent.document.all('frameset')[1].rows='0,*';
        } else if (document.layers) {
            parent.document.layers('frameset')[0].cols='0,0,*';
            parent.document.layers('frameset')[1].rows='0,*';
        }

        var navigatorFrameset = getNavigatorFrameset();
        
        if (navigatorFrameset.MAINVIEW && navigatorFrameset.MAINVIEW.document.images['navigatorImage']) {
            navigatorFrameset.MAINVIEW.document.images['navigatorImage'].src = '<%=ctxPath + "/templates/" + template + "/gfx/navigator.gif"%>';
        }
	}

	</script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<table cellspacing="0" cellpadding="0" width="100%" height="100%" border="0" class="color_toolbar">
  <tr>
    <td align="left">&nbsp;<vkc:message key="vkc.treeview.categories"/></td>
    <td align="right"><vkc:img page="/templates/${template.name}/gfx/trans.gif" width="2" height="1" border="0" alt=""/><vkc:link href="javascript:closeNavigator();"><vkc:img page="/templates/${template.name}/gfx/tree/close.gif" border="0" alt="" titleKey="button.close"/></vkc:link>&nbsp;</td>
  </tr>      
</table>
</body>
</html:html>