<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html>
  <head>
    <title>Travel-Agency Start Page</title>
  <script type="text/javascript">
    function executeForm() 
    {
	document.forms[0].submit();
    } 
    function enterValue(ClubName)
    {
        document.forms[0].elements[0].value = ClubName;
    }
  </script>
  </head>
<body>
 <h1>Travel Agency Software V0.1</h1><br><br>
 <html:errors/><p>
 <h2>Contact List</h2>
 <table border="0">
  <tr><td><input type="radio" name="ContactChoice" value="Klub Robinson" onClick="enterValue('Klub Robinson')"></td><td>Klub Robinson</td></tr>
 </table>
 <html:form action="contact.do">
  <html:hidden property="clubToContact" name="contactForm"/>
 </html:form>
 <input type="button" value="CONTACT" onClick="executeForm()"/>
 </body>
</html>
