<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>  
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %> 
<%@ taglib prefix="webratio" uri="http://www.webratio.com/2006/TagLib/JSP20" %> 
<%@ taglib prefix="FCK" uri="http://fckeditor.net/tags-fckeditor"  %> 
<%@ page contentType="text/html; charset=UTF-8"%> 
<webratio:Page page="page1"/>
<html>
<head>
  <title>Index</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<script src="WRResources/calendar/calendar.js" type="text/javascript"></script>
	<script src="WRResources/calendar/calendar-setup.js" type="text/javascript"></script>
	<script src="WRResources/calendar/lang/calendar-en.js" type="text/javascript"></script>
	<% {
		java.util.Locale lang = (java.util.Locale)session.getAttribute(org.apache.struts.Globals.LOCALE_KEY);
		if (lang != null && !("en").equals(lang.getLanguage())) {
	%>
		<script type="text/javascript" src="WRResources/calendar/lang/calendar-<%=lang.getLanguage()%>.js"></script>
	<% } 
	} %>
	<link href="WRResources/calendar/skins/aqua/theme.css" type="text/css" rel="stylesheet"/>
	<script src="WRResources/ajax/prototype/prototype.js" type="text/javascript" rel="javascript"></script>	
	<script src="WRResources/script.js" type="text/javascript" rel="javascript"></script>
</head>
<body>
<script>
	function initFieldFocus() {
	    var form = document.forms[0];
	    var firstField = Form.findFirstElement(form);
	    if((firstField != null) && (firstField.type != 'submit')) {
		    firstField.focus();
		}
	}
	var existingOnload = window.onload
	window.onload = function() {
		if (existingOnload) {
			existingOnload();
		}
		initFieldFocus();
	}
</script>
<html:form action="formpage1.do" styleId="page1FormBean" enctype="multipart/form-data">
    <html:hidden property="lastURL"/>
    <input type="hidden" name="conditions" value="${conditions}" id="conditions"/>
    <input type="hidden" name="ln1" value="<webratio:Link link="ln1" />">
<table width="100%" style="align:right">
	<tr>
		<td width="100%"></td>
	</tr>
	<tr>
		<td width="100%"></td>
    		<td nowrap="nowrap"> 
<a class="" href="<webratio:Link link="ln10"/>">
   Registration
</a>
 </td>
	</tr>
</table>
<table width="100%">
	<tr>
		<td align="center"><h1>Index</h1></td>
	</tr>
</table>
<table>
	<tr>
    		<td nowrap="nowrap"> 
<a class="" href="<webratio:Link link="page1.link"/>">
   Library
</a>
 </td>
	</tr>
</table>
<table>
	<tr>
	</tr>
</table>
<br>
<table>
	<tr>
		<td>
<span class="">
&gt;</span><a class="" href="<webratio:Link link="page1.link"/>">Library
</a><span class="">
</span>
&gt;Index
		</td>
	</tr>
</table>
<table width="100%" valign="top">
	<tr>
		<td>
<table    >
<tr>
<td  valign="top" align="left" >
<table width="100%">
	<tr>
		<td>
			<h2>Login</h2>
		</td>
	</tr>
	<tr>
		<td>
	 <div class="plain ">
		<div class="plain EntryUnit">
				<table>
					<tr>
						<td colspan="3" class="error">
							<html:errors property="enu1" />
						</td>
					</tr>
					<tr class="row">
							<th valign="middle" class=" header">
								user name
							</th>
						<td valign="middle" nowrap="nowrap" class=" value">
								<html:text onkeypress="if(event.keyCode==13){clickButton('ln1'); return false;}"  size="25" styleId="fld1" styleClass=" field" property="fld1" readonly="false"/>
						</td>
								<td class="error">
<span class=" error"><html:errors property="fld1"/></span>
</td>
					 	</tr>
					<tr class="row">
							<th valign="middle" class=" header">
								password
							</th>
						<td valign="middle" nowrap="nowrap" class=" value">
								<html:password onkeypress="if(event.keyCode==13){clickButton('ln1'); return false;}" styleId="fld2" size="25" styleClass=" field" property="fld2" readonly="false" redisplay="false"/>
						</td>
								<td class="error">
<span class=" error"><html:errors property="fld2"/></span>
</td>
					 	</tr>
					<tr>
						<td colspan="3">
					<table>
				      <tr>
					  <td> 
			<input title="Login" onclick="$('page1FormBean').target='_self'" class=" button"  id="button#ln1" name="button#ln1" type="submit" value="Login">
 </td>
					</tr>
				    </table>
				   </td>
			   </tr>
		  </table>
		</div>
	</div>
</td>
	</tr>
</table>
   </td>
<td  valign="top" align="left" >   </td>
<td  valign="top" align="left" >   </td>
</tr>
<tr>
<td  valign="top" align="left" >   </td>
<td  valign="top" align="left" >   </td>
<td  valign="top" align="left" >   </td>
</tr>
<tr>
<td  valign="top" align="left" >   </td>
<td  valign="top" align="left" >   </td>
<td  valign="top" align="left" >   </td>
</tr>
</table>
		</td>
		<td>
		</td>
	</tr>
</table>
</html:form>
</body>
</html>
