<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);

   c.stringTable("DevResources");
   c.stringTable("FwResources");
   c.stringTable("com.novell.emframe.version");
%>
<% try  { %><HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<TITLE><%= c.string("AuthenticateForm.Title") %></TITLE>

<script language="JavaScript">
   function pageInit()
   {
      if(document.AuthenticateForm.AuthenticateName.value.length > 0)
      {
         document.AuthenticateForm.AuthenticatePassword.focus();
      }
      else
      {
         document.AuthenticateForm.AuthenticateName.focus();
      }
   }
</script>

</HEAD>
<BODY topmargin=5 leftmargin=5 TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="pageInit()">
<form name="AuthenticateForm" method=post action="webacc" target="_top">
<input type=hidden name="taskId" value="fw.AuthenticateDisconn">
<input type=hidden name="merge" value="fw.FinishLogin">
<input type=hidden name="error" value="fw.AuthFail">

<% c.set("TaskHeader.title", c.plus(c.plus(c.string("Common.ProductName"), " "), c.string("AuthenticateForm.LoginDisconnTitle"))); %>
<jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>

<TABLE cellpadding=0 cellspacing=0>

<% if ( c.def("Url.relogin") && c.var("Url.relogin").equals("true")) { %>
   <tr>
     <TD></TD>
     <td colspan=2><b><FONT face="Helvetica,Arial" size=-1><%= c.string("AuthenticateForm.Pocket.TimeoutMsg") %></font></b><br><br></td>
   </tr>
<% }
   if ( c.def("Url.oldlogin") && c.var("Url.oldlogin").equals("true")) { %>
   <tr>
     <TD></TD>
     <td colspan=2><b><FONT face="Helvetica,Arial" size=-1><%= c.string("AuthenticateForm.Pocket.OldLoginScreenMsg") %></font></b><br><br></td>
   </tr>
<% } %>

<TR>
<TD></TD>
<TD><FONT face="Helvetica,Arial" size=-1><%= c.string("AuthenticateForm.PasswordEditBoxHeader") %></FONT></TD>
<TD><INPUT NAME="AuthenticatePassword" value="" TYPE=password SIZE=15>
</TD>
</TR>
</TABLE>

<BR>

<input type=image name="login_button" alt="<%= c.toHTML(c.string("Button.Login.alt")) %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Login.image") %>" border=0>

<BR>
<FONT face="Arial,Helvetica" size=-1>
<BR><%= c.string("Application.htmlCopyright") %>  <%= c.string("Application.verString") %> <%= c.string("version") %>
</FONT>
</FORM>

</BODY>
</HTML> <% } catch (Exception e) { e.printStackTrace(); %>Exception occured processing JSP page<% } %>
