<%@ 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 = "TREEVIEW";
	
	/**
	 * Workaround for non-working location.replace( 'someaction.do?someparam=fsdf#27' )
	 * on IE, NS, Mozilla
     */
	function setAnchor() {
	    <logic:present parameter="anchor">
		  <bean:parameter id="anchor2" name="anchor"/>
		  window.location.hash = '<%=anchor2%>';
	    </logic:present>
	}
	
	</script>

	<style type="text/css">
		a:link    { font-weight: normal; text-decoration: none; color: #000000; }
		a:visited { font-weight: normal; text-decoration: none; color: #000000; }		
		a:hover	  {	color: #fd7b11; text-decoration: underline;}
	</style>

</head>

<body onload="javascript:setAnchor();" marginwidth=0 marginheight=0 topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<html:form action="/treeview.do" method="post">
  <tr><td colspan=2><vkc:img page="/templates/${template.name}/gfx/trans.gif" width="2" height="3" border="0" alt=""/></td></tr>

  <tr>
    <td colspan=2>
      <table cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td align="left"><vkc:img page="/templates/${template.name}/gfx/trans.gif" width="2" height="1" border="0" alt=""/><vkc:img page="/templates/${template.name}/gfx/my_computer.gif" border="0" alt=""/></td>
	  </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td><vkc:img page="/templates/${template.name}/gfx/trans.gif" width="5" height="1" border="0" alt=""/></td>
    <td align="left" nowrap="nowrap" width=100%><vkc:treeview linkPath="/showCategory.do?categoryId=" imageDir="/templates/${template.name}/gfx/tree" target="MAINVIEW"/></td>
  </tr>

</html:form>
</table>
</body>
</html:html>