<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  ~ This file is part of DebGen Biobank Software developed by ASTRID Research.
  ~ All rights reserved. Reproduction, modification, use or disclosure
  ~ to third parties without express authority is forbidden.
  ~
  ~ Copyright ASTRID Research Inc., Hungary, 2009-2011.
  ~
  ~ ASTRID Research
  ~ Headquaters: Csapo utca 42. Debrecen H-4029 HUNGARY
  ~ Phone: +36-52-533-173        Fax: +36-52-533-174
  ~ Web: http://www.astrid.hu    E-mail: info@astrid.hu
  ~
  ~ Project name: DebGen Biobank Software project.
  ~ URLS:
  ~ Developers: Istvan Zoltan Nagy (istvan.nagy@astrid.hu)
  --%>

<html>
    <head>
        <link rel="stylesheet" type="text/css" href="stylesheet/jquery.autocomplete.css" />
        <script type="text/javascript" src="http://www.google.com/jsapi"></script>
        <script type="text/javascript" src="javascript/jquery-1.3.1.min.js"></script>
        <script type="text/javascript">
            google.load("jquery", "1");
            $(document).ready(function(){
                $("#patientName").autocomplete("autocompletename.html");
                $("#tajNumber").autocomplete("autocompletetaj.html");
                $("#patientCode").autocomplete("autocompletecode.html");
            })
            autocompleteOff();
        </script>
        <script type="text/javascript" src="javascript/jquery.autocomplete.js"></script>
    </head>
    <body>
        <div class="window500">
            <div class="title"><fmt:message key="KERES" /></div>
            <div  style="padding: 10px;">
                <table border="0" cellspacing="10" cellpadding="5">
                    <tbody>
                        <tr>
                            <td class="patientheader"></td>
                            <td><fmt:message key="BETEG_KERESESE" /></td>
                    </tr>
                    </tbody>
                </table>
                <div style="width: 476px;" class="patientline">
                    <fmt:message key="KRITERIUMOK" />
                </div>
                <div style="padding: 10px;" class="content">
                    <form action="searchpatient.html" method="POST">
                        <div style="padding: 10px;">
                            <c:set var="informationString"><fmt:message key="KERESÉS_INFÓ" /></c:set>
                            <%@include file="../showembededinformation.jsp" %>
                            <table class="formtable" border="0" width="376px" cellspacing="0" cellpadding="3">
                                <tbody>
                                <!--
                                    <tr>
                                        <td><fmt:message key="patientCode" />:</td>
                                <td>
                                    <input id="patientCode" class="input" type="text" name="patientCode" value="" />
                                </td>
                                </tr>
                                < c : if test="$ {user.dataRecorder}">
                                -->
                                <tr>
                                        <td style="width: 120px;"><fmt:message key="KRITERIUMOK" />:</td>
                                    <td>
                                        <input id="patientName" class="input" type="text" name="patientName" value="" />
                                    </td>
                                    </tr>
                                <!--
                                <tr>
                                        <td style="width: 120px;"><fmt:message key="TAJ" />:</td>
                                    <td>
                                        <input id="tajNumber" class="input" type="text" name="tajNumber" value="">
                                    </td>
                                    </tr>
                                </ c :if>
                                -->
                                </tbody>
                            </table>
                        </div>
                        <div class="submit">
                            <div align="center"><input class="button" type="submit" value="<fmt:message key="KERES" />" /></div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="copyright">
            &copy; 2009-2010 Astrid Research Inc.
        </div>
    </body>
</html>
