<%--
  /**
   * Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
   * Use is subject to license terms.
   *
   * "@(#)top.jsp    1.17    03/04/11     SMI"
   * 
   */
 --%>

<!-- BEGIN SECTION:  start page header -->
<!-- MANDATORY section on all pages -->





<% boolean loggedIn=false; %>
<% if (session.getAttribute(com.sun.netstorage.array.mgmt.cfg.core.Constants.HttpSessionFields.CONFIG_CONTEXT) != null && session.getAttribute("_stall_thread") == null) {
	
	loggedIn = true;
}

String helpDir = 
  com.sun.netstorage.array.mgmt.cfg.core.Constants.DEFAULT_HELPDIR;
String localeStr = request.getLocale().toString();
// if we have a locale string
if(localeStr != null || !"".equals(localeStr)) {
  //  and it's either japanese, chinese, or french
  //   then append the locale str
  if ("ja".equals(localeStr) ||
      "fr".equals(localeStr)) {
     helpDir = helpDir + "_" + localeStr;
  } else if("zh_CN".equalsIgnoreCase(localeStr)) {
     helpDir = helpDir + "_zh_CN";
  }
}
%>

<div class="simple-layout">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
  <!-- header blue-background table with major manu tabs -->
  <table bgcolor="#666699" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr valign="top">
      <td colspan="2" width="99%">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td colspan="5" valign="bottom">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
		  <td><img src="images/general/dot.gif" width="100" height="1" border="0"/></td>
                  <td valign="top">
                    <% if (loggedIn && haveTabs) { %>
                    <%@ include file="top_major_tabs.jsp" %>
		    <% } %>                    
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</td>
</tr>
  <% if (loggedIn&& haveTabs ) { %>
  <tr>
  <td>
  <%@ include file="top_minor_tabs.jsp" %>
  </td>
  </tr>
  <% } %>
</table>
</div>
<!-- END SECTION:  end page header -->



