<%--
    Document   : question_bank
    Created on : Feb 17, 2010, 4:05:36 PM
    Author     : Sreekanth
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>

<style>
div
{
color:red;
width:180;
font-family:Comic Sans MS;
text-align:center;
}
a
{
text-decoration:none;
font-family:Comic Sans MS;
color:black;
cursor:hand;
}

</style>
        <script>
        function fun()
        {  var b;
           

           if(document.f1.op[0].checked)
             b=document.f1.op[0].value;
           if(document.f1.op[1].checked)
             b=document.f1.op[1].value;
           if(document.f1.op[2].checked)
             b=document.f1.op[2].value;
           if(document.f1.op[3].checked)
             b=document.f1.op[3].value;






           if( b==null||b=="")
           {
             window.alert("PLEASE SELECT THE RADIO BUTTONS");
            }
            else
                {
                      document.forms["f1"].submit();
                }
        }
        </script>
 </head>

<body background="images\bg.jpg">
<jsp:include page="menu.jsp"></jsp:include>
    <div><center>REPORTS</center></div><br><br>
   <form name="f1" background="images\bg.jpg" action="report1.jsp" method="post" >
  
<br>
 <br>
<center><table cellspacing="20" >

<tr style="text-align:center; width:600; font-family:Comic Sans MS; font-size:20px; color:white;"><td><input type="radio" id="r2" name="op" value="1"  onclick="fun()"  /><td><b>By Employee ID</b></tr>

<tr style="text-align:center; width:600;font-family:Comic Sans MS; font-size:20px; color:white;"><td><input type="radio" id="r2" name="op" value="2"   /><td><b>By Test ID/Name</b><td>EMPID<input type="text" name="id" value="" size="10" onblur="fun()" />  
</tr>
<tr style="text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;"><td><input type="radio" id="r2" name="op" value="3" onclick="fun()" /><td><b>By Divison</b><input type="text" name="div" value="" size="10" onblur="fun()" />
</tr>
<tr style="text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;"><td><input type="radio" id="r2" name="op" value="4" onclick="fun()" /><td><b>By Marks</b>
</tr>


</table></center>

</form>

  </body>
</html>

