<%-- $Id: MainLayout.jsp,v 1.18.4.12 2004/06/10 11:43:49 satyad Exp $ --%>

<%@page contentType="text/html;charset=UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<html>
<head>
<title><fmt:message key="webclient.mainwindow.title"/></title>
<%@include file="/webclient/common/jspf/commonIncludes.jspf" %>
</head>
<body class="bgNone">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr> 
    <td valign="top" class="tabsBg">
       <tiles:insert attribute="Tab"/>
    </td>
  </tr>
  <tr>
  <td class="topStrip" height="5"></td>
  </tr>
  <tr>
    <td>
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  	<tr>
  	   <td valign="top" width="180">
  		
  	     <table width="100%" border="0" cellspacing="0" cellpadding="0">
		
	       <tr align="left" valign="top"> 
		<td height="5" align="right">
                  <%--img src="/webclient/common/images/<c:out value="${selectedskin}"/>/curveRight.gif" width="4" height="4" alt=""align="top" border=0--%>
                </td>
	       </tr>
		
	       <tr>
		<td valign="top" colspan="2" height="220">
                   <tiles:insert attribute="Tree"/>
                </td>
	       </tr>
		
	       <%--tr>
		<td colspan="2" valign="top">
                   <tiles:insert attribute="AccPanel"/>
                </td>
	       </tr--%>		            
		
	     </table>
	   </td>
	   <td width="2"><img src="/webclient/common/images/trans.gif" width=1 height=1></td>

	   <td width="4" valign="top" align="left">
               <%--img src="/webclient/common/images/<c:out value="${selectedskin}"/>/curveLeft.gif" width="4" align="top" height="4"--%>
	   </td>
		
	   <td valign="top">
	     <table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
		  <td>
                     <tiles:insert attribute="MainPage"/>
                  </td>
	        </tr>
	     </table>
	   </td>	
	</tr>
       </table>
    </td>
  </tr>
</table>

<c:if test="${initParam.showPageLoadingTime == 'true'}">
  <%
     long endTime = System.currentTimeMillis();
     Long start = (Long)request.getAttribute("startTime");
     long loadingtime = 0;
     if(start != null)
     {
        long startTime = start.longValue();
        loadingtime = endTime - startTime;
     }
  %>
  <table class="botBorder" width="100%" border="0" cellspacing="2" cellpadding="0">
    <tr>
    <td align="center" valign="bottom" height="1"><span class="boldText">Loading Time : <%= loadingtime %> ms </span></td>
    </tr>
  </table>
</c:if>

</body>
</html>
