<%--
  /**
   * Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
   * Use is subject to license terms.
   *
   * "@(#)ForceLogin.jsp    1.12    03/07/29     SMI"
   * 
   */
 --%>
<%@ include file="layout/toptags.jsp"%>  
<% haveTabs=false;%>
<!-- locale stuff -->
<html:html locale="true">
<!-- end locale -->

 
<script>
	function submitForm() {
	 var f=document.login;
	 f.submit();
	}
</script>

<head>
<%@include file="/layout/page_head_section.jsp"%>
	<title>
		<bean:message  key="login.title"/>
	</title>
</head>
<%@include file="/layout/bodytag.jsp"%>
<%@include file="/layout/masthead_nof.jsp"%>

<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="8" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<div class="content-layout">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td nowrap>
              <div class="major-category-text">
                <bean:message key="force.login.reason"/>
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="8" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>


 
  
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td nowrap>
              <div class="major-category-text">
                <bean:message key="force.login.title"/>
              </div>
            </td>
            <td valign="bottom" width="99%">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                  <td class="property-separator" valign="bottom"><img alt border="0" height="2" src="/images/general/dot.gif" width="1"></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td><img alt border="0" height="5" src="/images/general/dot.gif" width="1"></td>
    </tr>
  </table>

<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="8" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<div class="content-layout">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td nowrap>
              <div class="table-label-text">
                <bean:message key="force.login.message"/>
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>


<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="8" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<form action="login.do" name="login" method="GET">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td nowrap>
	<input type="hidden" name="force" value="force"/>
        <table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="left" valign="middle">
              <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td>
                    <!-- table border="0" cellpadding="1" cellspacing="0"  class="button-frame-enabled" -->
  			<component:button text="force.login.button" href="javascript:submitForm();"  title="button.login" isEnabled="true" />
                  </td>
                  <td width="10"><img alt width="10" height="1" border="0" src="images/general/dot.gif"></td>
			<td>
  			<component:button text="button.cancel" href="logoff.do"  title="button.cancel" isEnabled="true" />
                	</td>
		</tr>
              </table>
            </td>
          </tr>
          <tr>
            <td><img alt border="0" src="images/general/dot.gif" width="1" height="5"></td>
          </tr>
          <tr>
            <td nowrap>
              <table class="back-table" border="0" cellspacing="0" cellpadding="1" width="50%">
                <tr>
                  <td>
                    <table class="front-table" border="0" cellspacing="0" cellpadding="0" width="100%">
                      <tr class="header-row">
                        
                        <td colspan="2">
                          <div class="table-header-text">
                            <bean:message key="force.login.user.details.title"/>
                          </div>
                        </td>
                        
                      </tr>
                      <tr>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <bean:message key="force.login.user.details.username"/>
                          </div>
                        </td>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <%=request.getAttribute("existingUserName")%>
                          </div>
                        </td>
                      </tr>
                      <tr>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <bean:message key="force.login.user.details.ip"/>
                          </div>
                        </td>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <%=request.getAttribute("existingUserIP")%>
                          </div>
                        </td>
                      </tr>
                      <tr>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <bean:message key="admin.users.list.clienttype"/>
                          </div>
                        </td>
                        <td align="left" nowrap>
                          <div class="table-label-text">
                            <bean:message 
                                key='<%=(String) request.getAttribute("existingUserClientType")%>'/>
                          </div>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </form>
</div>

<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>



</body>
</html:html>
