<%--
    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>Employes</center></div><br><br>
   <form name="f1" background="images\bg.jpg" action="eview.jsp" method="post" >
  
<br>
 <br>
<center><table cellspacing="25" >
<tr>
<td style="text-align:center; width:600; font-family:Comic Sans MS; font-size:20px; color:white;"><input type="radio" id="r2" name="op" value="1"  /><b>View Employees</b></td>

<td style="text-align:center; width:600;font-family:Comic Sans MS; font-size:20px; color:white;"><input type="radio" id="r2" name="op" value="2"  /><b>Add Employees</b>
</td>
<td style="text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;"><input type="radio" id="r2" name="op" value="3"  /><b>Delete Employees</b>
</td>
<td style="text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;"><input type="radio" id="r2" name="op" value="4"  /><b>Edit Emp Details</b>
</td>
</tr>

</table></center>
<center><table>
<tr>

    <td align="center"><input type="button" value="Confirm" name="Confirm" onclick="fun()" /></td>

     <td align="center"><input type="reset" name="Cancel" /></td>
<td></td>
</tr>

</table></center>

</form>

  </body>
</html>

