<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/tlds/app.tld" prefix="app" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/component.tld" prefix="component" %>
<app:checkLogoff/>

<html:html locale="true">

<app:admin/>

<jsp:include page="header.jsp"/>

<script language="JavaScript">
  function logon() {
    document.Login.submit();
  }
</script>


<body bgcolor="#FFFFFF" leftmargin="0" marginwidth="0" marginheight="0" topmargin="0"
      onload="document.UserNameForm.elements['username'].focus();">


<table bgcolor="#666699" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr valign="top">
    <td width="1%"><A href="http://www.sun.com" target="_blank" title="Open a window to the Sun.com website"><IMG alt="Sun Microsystems, Inc." border="0" height="60" src="../images/sunlogo_web.gif" width="118"></A></td>
    <td colspan="2" width="99%">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr bgcolor="#000000">          
          <td><IMG alt="" border="0" height="37" src="../images/white-black.gif" width="2"></td>
          <td><IMG alt="" border="0" height="37" src="../images/dot.gif" width="2"></td>
          <td><IMG alt="" border="0" src="../images/logo/StorADE_banner.gif"></td>
          <td><IMG alt="" border="0" height="25" src="../images/dot.gif" width="5"></td>
          <td align="right" nowrap> <IMG alt="" border="0" height="25" src="../images/dot.gif" width="220"> </td>
          <td><IMG alt="" border="0" height="25" src="../images/dot.gif" width="5"></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td><IMG alt="" border="0" height="1" src="../images/dot.gif" width="2"></td>
          <td colspan="5"><IMG alt="" border="0" height="1" src="../images/dot.gif" width="1"></td>
        </tr>
        <tr height="35">
          <td><IMG alt="" border="0" height="35" src="../images/dot.gif" width="2"></td>
          <td colspan="5" valign="bottom"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr bgcolor="#FFFFCC">
    <td colspan="3"><IMG alt="" border="0" height="6" src="../images/dot.gif" width="1"></td>
  </tr>
</table>  

<logic:present name="alertBean" scope="page">
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><IMG alt="" border="0" height="1" src="../images/dot.gif" width="40"></td>
    <td><IMG alt="" border="0" height="1" src="../images/dot.gif" width="80"></td>
    <td>
       <component:bigHorizontalSpacer />
       <component:inlineAlert beanName="alertBean" /> 
    </td>
    <td><IMG alt="" border="0" height="1" src="../images/dot.gif" width="40"></td>
    <td><IMG alt="" border="0" height="1" src="../images/dot.gif" width="80"></td>
  </tr>
</table>
</logic:present>


<!-- BEGIN TABLE FOR LAYOUT OF IMAGES AND FORM FIELDS IN PAGE -->
<div style="margin: 0px 100px;">
<table border="0" cellspacing="0" cellpadding="0">
  <!-- SPACER -->
  <tr>
    <td colspan="4"><img src="../images/dot.gif" alt="" height="10" border="0" /></td>
  </tr>
  
  <!-- SPACER -->
  <tr>
    <td colspan="4"><img src="../images/dot.gif" alt="" height="20" border="0" /></td>
  </tr>
  <!-- BEGIN INLINE HELP -->
  <tr>
    <td colspan="2"><img src="../images/dot.gif" alt="" height="20" border="0" /></td>
    <td>
    </td>
  </tr>
  <tr>
    <td colspan="4"><img src="../images/dot.gif" alt="" height="10" border="0"></td>
  </tr>
  <!-- END INLINE HELP -->
  <!-- BEGIN LOGIN FORM FIELDS -->
  <tr>
    <td colspan="2"><img src="../images/dot.gif" alt="" border="0" /></td>
    <td>
      <table border="0" cellspacing="0" cellpadding="0">
        <!-- BEGIN USER PROMPT -->
        <tr>
          <form method=post action="/jade/logon.do" name="UserNameForm"
                            onSubmit="document.Login.submit(); return false;">
          <td width="100"><bean:message key="prompt.username"/></td>
          <td><img src="../images/dot.gif" alt="" width="10" border="0" /></td>
          <td>
            <input type="text" name="username" value="" onChange="document.Login.elements['username'].value=this.value;" />
          </td>
          </form>
        </tr>
        <tr>
          <td colspan="3"><img src="../images/dot.gif" alt="" height="1" border="0"></td>
        </tr>
        <!-- END USER PROMPT -->
      </table></td>
    <td><img src="../images/dot.gif" alt="" width="10" border="0" /></td>
  </tr>
</table>
<!-- END OF FIRST FORM -->
</div>

<div style="margin: 0px 30px;">
<!-- BEGIN SECOND FORM -->
<table border="0" cellspacing="0" cellpadding="0">
  <!-- BEGIN LOGIN FORM FIELDS -->
  <tr>
    <td colspan="2"><img src="../images/dot.gif" alt="" border="0" /></td>
    <td>
      <table border="0" cellspacing="0" cellpadding="0">
        <!-- BEGIN PASSWORD PROMPT -->
        <tr>
          <form method=post action="/jade/logon.do" name="Login">
          <input type="hidden" name="username" value="">
          <td width="100"><bean:message key="prompt.password"/></td>
          <td><img src="../images/dot.gif" alt="" width="10" /></td>
          <td align="right"><input type="password" name="password" /></td>
        </tr>
        <tr>
          <td colspan="3"><img src="../images/dot.gif" alt="" height="10" border="0"></td>
        </tr>
        <!-- END PASSWORD PROMPT -->
        <!-- BEGIN SUBMIT BUTTON -->
        <tr>
          <td colspan="3" align="right">

              <table border="0" cellpadding="1" cellspacing="0" class="button-frame-enabled">
                <tr>
                  <td>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="button-content-enabled">
                      <tr>
                        <td align="center" valign="middle" nowrap>
                          <div class="button-link-enabled-text">
                            <a href=javascript:logon() class="mini-button-link" tabindex="3">&nbsp;<bean:message key="login"/>&nbsp;</a></div>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>


          </td>
        </tr>
        <!-- END SUBMIT BUTTON -->
        <tr>
          <td colspan="3"><img src="../images/dot.gif" alt="" height="10" border="0"></td>
        </tr>
      </table></td>
    <td><img src="../images/dot.gif" alt="" width="10" border="0" /></td>
  </tr>
  <!-- END LOGIN FORM FIELDS -->
  <!-- SPACER -->
  <tr>
    <td colspan="4"><img src="../images/dot.gif" alt="" height="20" border="0" /></td>
  </tr>
  <!-- BEGIN COPYRIGHT -->
  <tr>
    <td colspan="2"><img src="../images/dot.gif" alt="" border="0" /></td>
    <td>
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="copyright-separator">
            <img src="../images/dot.gif" alt="" width="1" height="20" border="0" /></td>
        </tr>
        <tr>
          <td class="copyright-separator">
            <img src="../images/dot.gif" alt="" width="1" border="0" /></td>
          <td><img src="../images/dot.gif" alt="" width="5" border="0" /></td>
          <td class="copyright-text"><bean:message key="note.copyRight"/></td>
        </tr>
        <tr>
          <td class="copyright-separator">
            <img src="../images/dot.gif" alt="" width="1" height="5" border="0" /></td>
        </tr>
      </table></td>
    <td><img src="../images/dot.gif" alt="" width="10" border="0" /></td>
  </tr>
  <tr>
    <td><img src="../images/dot.gif" alt="" width="40" height="1" border="0" /></td>
    <td class="copyright-separator">
      <img src="../images/dot.gif" alt="" width="50" height="1" border="0" /></td>
    <td class="copyright-separator">
      <img src="../images/dot.gif" alt="" width="100" height="1" border="0" /></td>
    <td><img src="../images/dot.gif" alt="" width="10" height="1" border="0" /></td>
  </tr>
  <tr>
    <td colspan="2"><img src="../images/dot.gif" alt="" border="0" /></td>
    <td>
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="copyright-separator">
          <img src="../images/dot.gif" alt="" width="1" height="20" border="0" /></td>
        </tr>
      </table></td>
    <td><img src="../images/dot.gif" alt="" width="10" border="0" /></td>
  </tr>
  <!-- END COPYRIGHT -->
</table>
<!-- END TABLE FOR LAYOUT OF IMAGES AND FORM FIELDS IN PAGE -->

</div>

<% if (request.getParameter("OID") != null) { %>
  <input type=hidden name="OID" value='<%=request.getParameter("OID")%>'>
<% } %>

<% if (request.getParameter("mode") != null) { %>
  <input type=hidden name="mode" value='<%=request.getParameter("mode")%>'>
<% } %>

</form>

</body>

</html:html>
