Fechar navegador em javaScript

tenho seguinte codigo:

<!--os banco estao vinculados a pasta ivan goulart na area de trabalho-->
<html>
<head>
<TITLE>Hospital Ivan Goulart</TITLE>
</head>
<body bgcolor="#F5F5F5">
<div align="center">

<table border="0" width="440">
<tr>
<td  align="center">
<a href="javascript:window.close();">Fechar Janela </a>
<input type="button" value="Fechar" onClick="javascript:window.close();">
</td>
</tr>
</table>

<h1>Verificar exames por CRM</h1>

<table width="440" border="0">
<td align="center">
<IMG SRC="logo.jpg">
</td>
<td align="center">
  
  <table width="200" border="0">
  <form name="verificar" method="POST" action="respostamedcalc.asp">
    <tr>
      <td width="93">Digite o Ano:</td>
      <td width="69"><input name=ano type=text value="" size=7 maxlength="4"/></td>
    </tr>
    <tr>
      <td>Digite o M&ecirc;s:</td>
      <td><input name=mes value="" type=text size=7 maxlength="4"/></td>
    </tr>
    <tr>
      <td>Digite o CRM:</td>
      <td><input name=crm value="" type=text size=7 maxlength="6"/></td>
    </tr>
    <tr>
	  <td height="44" align="center" colspan="2"><input type="submit" value="Enviar" onClick="alert('Essa consulta pode demorar alguns segundos, clique em OK e aguarde...')"></td>
    </tr>
    </form>
  </table>

</table>
</div>
</body>
</html>

porem o botao da primeira tabela e o link, nao fecham a janela (estou no firefox)

<table border="0" width="440">
<tr>
<td  align="center">
<a href="javascript:window.close();">Fechar Janela </a>
<input type="button" value="Fechar" onClick="javascript:window.close();">
</td>
</tr>
</table>

alguem sabe se tem algo errado?
Grato

No FireFox você só pode fechar a janela usando script se ela for aberto usando script
Você so fecha uma janela com o window.close se ela for aberta com o window.open

Vê se o link abaixo te ajuda: