<%-- $Id: Login.jsp,v 1.27.4.6.2.1 2004/09/22 09:24:50 gnanasekar 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-html" prefix="html" %>
<html>
<head>
<title><fmt:message key="webclient.login.page.title"/></title>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/webclient/common/js/validation.js"></SCRIPT>
<%@include file="/webclient/common/jspf/commonIncludes.jspf" %>
<script language="JavaScript1.2">
        function loadScreenSize()
        {
                document.forms[0].screenWidth.value = parseInt(screen.width) - 210;
                document.forms[0].screenHeight.value = parseInt(screen.height) - 150;
                document.forms[0].userName.focus();
        }
</script>
</head>
<body background="/webclient/common/images/bodybg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="loadScreenSize()">

<table width="100%" height="95%" ="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="middle">
	<br><br>
<table width="890" ="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="884" rowspan="2" align="left" valign="top"> 
            <table width="10%" ="0" align="center" cellpadding="1" cellspacing="0" bgcolor="#666666">
              <tr> 
                <td align="left" valign="top"> 
                  <table width="877" ="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                    <tr> 
                      <td width="877"><img src="/webclient/common/images/adventnet/topheader.jpg" width="877" height="92" border="0" alt='<fmt:message key="webclient.login.logogif.alt"/>'></td>
                    </tr>
                    <tr> 
                      <td background="/webclient/common/images/header_bot_grayline.gif"><table width="100%" ="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="653"><img src="/webclient/common/images/header_bot_grayline.gif" width="5" height="20"></td>
                            <td width="31" align="center" valign="middle"><!--<img src="/webclient/common/images/foursquare.gif" width="9" height="9">--></td>
                            <td width="81" align="left"><span class="text"><span class="text">&nbsp;</span></span></td>
                            <td width="29" align="center" valign="middle"><!--<img src="/webclient/common/images/foursquare.gif" width="9" height="9">--></td>
                            <td width="83" align="left"><span class="text"><span class="text">&nbsp;</span></span></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" ="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                          <tr>
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="center" height="25">
				<span class="responseText"><c:out value="${message}"/></span>
				<span class="errorText"><html:errors/></span>
				</td>
                            <td align="left" valign="top">&nbsp;</td>
                          </tr>
                          <tr> 
                            <td width="7%" align="left" valign="top"><img src="/webclient/common/images/trans.gif" width="60" height="1"></td>
                            <td width="43%" align="left" valign="top"> <table width="335" height="100%" cellpadding="0" ="0" cellspacing="0">
                                <tr> 
                                  <td width="333"><span class="header1"><fmt:message key="webclient.login.aboutwebnms4"/></span></td>
                                </tr>
                                <tr> 
                                  <td align="left" valign="top"><span class="text">
					<fmt:message key="webclient.login.aboutwebnms4.description"/> 
                                    </span></td>
                                </tr>
                                <tr>
                                  <td align="left" valign="top"><br>
                                        <span class="text"><fmt:message key="webclient.login.defaultdetails.unconfiguredsystem"/></span><p>
                                        <span class="header2"><fmt:message key="webclient.login.defautdetails.username"/><br>
                                        <fmt:message key="webclient.login.defaultdetails.password"/></span>
                                    </td>
                                </tr>
				      </table></td>
			    	<td width="4%" align="left" valign="top"><img src="/webclient/common/images/trans.gif" width="60" height="1"></td>
                            <td width="39%" align="center" valign="top"> 
                              <table width="331" ="0" cellspacing="5" cellpadding="0">
                                <tr> 
                                  <td width="319" align="left" valign="top"><table width="100%" ="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td width="294" height="20" class="homeheadBg"><span class="whiteText">&nbsp;&nbsp;
<fmt:message key="webclient.login.webclientlogin"/></span></td>
                                      </tr>
                                      <tr> 
                                        <td><img src="/webclient/common/images/trans.gif" width="1" height="3"></td>
                                      </tr>
                                      <tr> 
                                        <td align="left" valign="top" bgcolor="#F9FAFC" class=""> 
                                          <table width="100%" ="0" cellpadding="1" cellspacing="0" bgcolor="#DDDDDD">
                                            <tr> 
                                              <td align="left" valign="top"><table width="100%" ="0" cellpadding="5" cellspacing="0" class="loginBoxBg">
                                                  <tr> 
                                                    <td align="left" valign="top"> 
                                                      <form name="loginForm" METHOD=post action="/jsp/Login.do" onSubmit="return validateUser();">
                                                        <input type="hidden" name="screenHeight">
                                                        <input type="hidden" name="screenWidth">

                                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                          <tr> 
                                                            <td align="left" valign="top"> 
                                                              <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                                                <tr> 
                                                                  <td colspan="4" align="left" valign="top"><span class="boldText">
<fmt:message key="webclient.login.chooseyourclient"/></span></td>
                                                                </tr>
                                                                <tr> 
                                                                  <td width="120" height="25" align="right"> 
                                                                    <input type="radio" name="clienttype" value="html" checked> 
                                                                  </td>
                                                                  <td width="74" align="left"  nowrap><span class="text"><fmt:message key="webclient.login.htmlclient"/></span><br> 
                                                                    <span class="text"></span></td>
                                                                  <td width="20" align="right"> 
                                                                    <input type="radio" name="clienttype" value="applet"> 
                                                                    <input type="hidden" name="javaui" value="javaui"> 
                                                                    <input type="hidden" name="showapplet" value="showapplet"> 
                                                                    <input type="hidden" name="Language" value='<c:out value="${Language}"/>'> 
                                                                    <input type="hidden" name="Country" value='<c:out value="${Country}"/>'> 

                                                                  </td>
                                                                  <td width="83" align="left"  nowrap><span class="text"><fmt:message key="webclient.login.appletclient"/></span></td>
                                                                </tr>
                                                              </table></td>
                                                          </tr>
                                                          <tr> 
                                                            <td align="left" valign="top"><table width="100%" ="0" cellspacing="0" cellpadding="4">
                                                                <tr> 
                                                                  <td width="30%" align="left" valign="top"><strong><span class="text"><fmt:message key="webclient.login.username"/></span></strong></td>
                                                                  <td align="right"> 
                                                                    <input type="text" name="userName" maxlength="50" class="formstyle"/></td>
                                                                </tr>
                                                                <tr> 
                                                                  <td align="left" valign="top"><strong><span class="text">
<fmt:message key="webclient.login.password"/></span></strong></td>
                                                                  <td align="right"> 
                                                                    <input type="password" name="password" maxlength="8" class="formstyle"/></td>
                                                                </tr>
                                                                <tr> 
                                                                  <td align="left" valign="top">&nbsp;</td>
                                                                  <td align="right"> 
                                                                    <input type="submit" name="login" value='<fmt:message key="webclient.login.loginmsg"/>' class="button"></td>
                                                                </tr>
                                                              </table></td>
                                                          </tr>
                                                        </table>
                                                      </form></td>
                                                  </tr>
                                                </table></td>
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td align="left" valign="top"><table width="100%" ="0" cellspacing="0" cellpadding="0">
                                      <tr bgcolor="#F9FAFC"> 
                                        <td height="20" class="homeheadBg"><span class="whiteText">&nbsp;&nbsp;<fmt:message key="webclient.login.webstartclient"/></span></td>
                                      </tr>
                                      <tr> 
                                        <td width="294"><img src="/webclient/common/images/trans.gif" width="1" height="3"></td>
                                      </tr>
                                      <tr> 
                                        <td align="left" valign="top" class=""><table width="100%" ="0" cellpadding="1" cellspacing="0" bgcolor="#DDDDDD">
                                            <tr> 
                                              <td align="left" valign="top"><table width="100%" ="0" cellspacing="0" cellpadding="5">
                                                  <tr> 
                                                    <td align="left" valign="top" bgcolor="#F9FAFC"> 
                                                      <table width="100%" ="0" cellspacing="0" cellpadding="4">
                                                        <tr> 
                                                          <td align="left" valign="top" ><span class="text"><fmt:message key="webclient.login.aboutjwsclientdesc"/></span></td>
                                                          <td width="20%" align="right"> 
                                                            <form method=get action="/jsp/WebStart.jsp" name="webstartform" >
                                                              &nbsp;<BR>
                                                              <input type="submit" class="button" name="webstartclient" value='<fmt:message key="webclient.login.webstartclient"/>'>
                                                              <input type="hidden" name="webstart">
                                                            </form></td>
                                                        </tr>
                                                      </table></td>
                                                  </tr>
                                                </table></td>
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>
                              <br> </td>
                            <td width="7%" align="left" valign="top"><img src="/webclient/common/images/trans.gif" width="60" height="1"></td>
                          </tr>
                          <tr> 
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="left" valign="top"><span class="text"><a href="http://www.adventnet.com" target="_blank"><img src="/webclient/common/images/adventnet/adventnetlogo.gif" alt="AdventNet.com" width="88" height="28" border="0" ="0"></a></span></td>
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="left" valign="top">&nbsp;</td>
                            <td align="left" valign="top">&nbsp;</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td height="25" align="center" valign="middle" bgcolor="#F9FAFC" ><span class="text"><fmt:message key="webclient.login.footer.text"/></span></td>
                    </tr>
                    <tr> 
                      <td><img src="/webclient/common/images/botheader.jpg" width="877" height="4"></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          <td width="11" align="left" valign="top" background="/webclient/common/images/righttileshadow.gif"><img src="/webclient/common/images/righttileshadowtop.gif" width="11" height="12"></td>
        </tr>
        <tr> 
          <td align="left" valign="bottom" background="/webclient/common/images/righttileshadow.gif"><img src="/webclient/common/images/righttileshadow.gif" width="11" height="12"></td>
        </tr>
        <tr> 
          <td align="left" valign="top" background="/webclient/common/images/botshadowtile.gif"><img src="/webclient/common/images/botshadow1.gif" width="11" height="12"></td>
          <td><img src="/webclient/common/images/botshadow2.gif" width="11" height="12"></td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<%@include file="/webclient/common/jspf/loginInclude.jspf" %>
</body>
</html>
