I am new at javascript. I am trying to close a sub window with text and not a button and it is not working. Could someone tell me what I am missing. Thanks
<HTML>
<HEAD>
<TITLE>Static Media</TITLE>
<SCRIPT language="Javascript">
<!--
function doNavigation () {
window.close(); }
// -->
</SCRIPT>
</HEAD>
<BODY bgcolor="#453667" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
<table border ="0">
<td ><img src="img/lg_express_1.jpg" width="697" height="50" border="0"></td>
</tr>
<td width="100%" valign="middle" align="right" bgcolor="#604B6B" height="25"><font face="verdana, arial" size="1" font color="#EFEEE3">
<a href="mailto:rmccormack11@shaw.ca"><font color="#EFEEE3" size=1>Contact</font></a>
| <a href="resume.pdf"><font color="#EFEEE3" size=1>Resume</font></a>
| <a href=javascript:window.close()><font color="#EFEEE3" size=1>Close</font></a>
</font>
</table>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Static Media</TITLE>
<SCRIPT language="Javascript">
<!--
function doNavigation () {
window.close(); }
// -->
</SCRIPT>
</HEAD>
<BODY bgcolor="#453667" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
<table border ="0">
<td ><img src="img/lg_express_1.jpg" width="697" height="50" border="0"></td>
</tr>
<td width="100%" valign="middle" align="right" bgcolor="#604B6B" height="25"><font face="verdana, arial" size="1" font color="#EFEEE3">
<a href="mailto:rmccormack11@shaw.ca"><font color="#EFEEE3" size=1>Contact</font></a>
| <a href="resume.pdf"><font color="#EFEEE3" size=1>Resume</font></a>
| <a href=javascript:window.close()><font color="#EFEEE3" size=1>Close</font></a>
</font>
</table>
</BODY>
</HTML>