Element.update("form_indica", "  <form action=\"/curso/indica_curso\" method=\"post\" onsubmit=\"if ($('nome').value == '') {alert('Campo Nome \u00e9 obrigat\u00f3rio'); return false; }if ($('email').value == '') {alert('Campo Email do amigo \u00e9 obrigat\u00f3rio'); return false; }; new Ajax.Request('/curso/indica_curso', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;\">\r\n  <table id=\"tabela_indica\">\r\n    <tr>\r\n     <td  class=\"campos\">Seu nome<span style=\"color:red\">*</span></td><td><input class=\"camposForm\" id=\"nome\" name=\"nome\" style=\"width:240px\" type=\"text\" /></td>\r\n    </tr>\r\n    <tr>\r\n     <td  class=\"campos\">Email do amigo <span style=\"color:red\">*</span></td><td><input class=\"camposForm\" id=\"email\" name=\"email\" style=\"width:240px\" type=\"text\" /></td>\r\n    </tr>\r\n    <tr>\r\n    <tr height=\"10px\">\r\n     <td></td>\r\n     <td align=\"right\" width=\"235px\" height=\"10px\" style=\"text-align:right;\">\r\n       <input class=\"camposForm\" id=\"limpa_form\" name=\"commit\" onclick=\"limpaFormIndica(); return false;\" style=\"text-decoration:none; width:80px;  height:20px;\" type=\"submit\" value=\"Cancelar\" />\r\n       <input class=\"camposForm\" id=\"envia_inscricao\" name=\"commit\" style=\"text-decoration:none; width:80px; height:20px;\" type=\"submit\" value=\"Indicar\" />\r\n     </td> \r\n     <td>\r\n     </td>\r\n    </tr>\r\n  </table>\r\n  </form>\r\n\r\n  <div id=\"fecha_form_form_cadastra\"><a href=\"#\" class=\"link_fechar\" onclick=\"toggleEffect11();\">X</a></div>\r\n  \r\n  <script>\r\n   document.getElementById('nome').focus();\r\n  </script>");
toggleEffect11();