Tengo unm problema con un menu en js
Me sale esto.
Error: "children.tags(...).0´es nulo o no es un objeto.
el code el menu es este
Codigo:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 1</title>
<script>
function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}
</script>
<base target="principal">
</head>
<script language="JavaScript">
//Evitar páginas fuera de su frame
if(top==self) top.location="index.htm"
</script>
<body bgcolor="#E0E0E0" link="#000000" vlink="#000000" alink="#000000">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-right-width:0; border-bottom-width:0; " width="22%" id="AutoNumber1" height="327" bordercolor="#009C00">
<tr>
<td width="100%" height="9" bgcolor="#009C00" style="border-right:1px none #009C00; border-top-style: none; border-top-width: medium; border-left-style:solid; border-left-width:1; border-bottom-style:none; border-bottom-width:medium; font-family:Verdana, Arial, Helvetica; font-size:11px">
<p align="left"><b><font color="#FFFFFF" size="1"> Menú</font></b></td>
</tr>
<tr>
<td width="90%" style="border-right:1px solid #009C00; border-bottom-style:none; border-bottom-width:medium; border-top-style:none; border-top-width:medium; border-left-color:#FFFFFF; font-family:Verdana, Arial, Helvetica; font-size:11px" valign="bottom" height="5" bgcolor="#EEEEEE">
<div align="left">
<table width="153" height="70" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="top" width="140" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="1" align="left">
<b>
<font size="1">
<a target="principal" style="text-decoration: none" href="centro.htm">
<font color="#000000">Inicio</font></a></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="140" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="13" align="left">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a style="text-decoration: none" target="principal" href="socios.htm">
<font color="#000000">Socios</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="140" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="8" align="left">
<b>
<span lang="es-mx"><font face="Verdana" size="1">
<a target="principal" style="text-decoration: none" href="afiliacion.htm">
<font color="#000000">Afiliaciones</font></a></font></span></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="140" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="7" align="left">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="principal" style="text-decoration: none" href="noticias.htm">
<font color="#000000">Noticias GAF</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="140" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="13" align="left">
<b>
<span lang="es-mx"><font face="Verdana" size="1">
<a target="principal" style="text-decoration: none" href="centro.htm#Artículos - Opiniones">
<font color="#000000">Artículos -
Opiniones</font></a></font></span></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="140" style="border-bottom: medium none rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="13" align="left">
<b>
<span lang="es-mx">
<a target="_blank" title="Chile Forestal - Enlace A Corma" style="text-decoration: none" href="http://www.corma.cl/chile_forestal/chile_forestal_1.html">
<font face="Verdana" size="1" color="#000000">
Chile Forestal</font></a></span></b></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="100%" height="13" bgcolor="#009C00" style="border-right:1px none #009C00; border-left-color:#FFFFFF; border-bottom-style:none; border-bottom-width:medium; font-family:Verdana, Arial, Helvetica; font-size:11px">
<p align="left"><font color="#FFFFFF" size="1"><b> Contenidos Temáticos</b></font></td>
</tr>
<tr>
<td width="90%" style="border-left: 1px solid #FFFFFF; border-right: 1px solid #009C00; border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium; font-family:Verdana, Arial, Helvetica; font-size:11px" valign="bottom" height="10" bgcolor="#EEEEEE">
<table width="153" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" align="left" height="132">
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<span lang="es-mx"><font face="Verdana" size="1">
<a target="principal" style="text-decoration: none" href="dfm/dfmcentro.htm">
<font color="#000000">Directorio de Enlaces</font></a></font></span></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="principal" style="text-decoration: none" href="centro.htm#Sitios Remendados">
<font color="#000000">Sitio Recomendado</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a style="text-decoration: none" target="principal" href="galeria_de_fotos.htm">
<font color="#000000">Fotografías</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a style="text-decoration: none" target="principal" href="especies_forestales.htm">
<font color="#000000">Especies Forestales</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="13">
<p align="left"> <span lang="es-mx"><b>
<font face="Verdana" size="1">
<a style="text-decoration: none" href="roble_hualo.htm">Roble-Hualo</a></font></b></span></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a style="text-decoration: none" target="principal" href="plagas_y_enfermedades.htm">
<font color="#000000">Plagas y Enfermedades</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a style="text-decoration: none" target="principal" href="faqs.htm">
<font color="#000000">Preguntas y Respuestas</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="15">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="principal" style="text-decoration: none" href="zd/zd.htm">
<font color="#000000">ZonaDescargas</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="142" style="border-bottom: medium none rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="14">
<b>
<span lang="es-mx"><font face="Verdana" size="1">
<a target="principal" style="text-decoration: none" href="buscador/busqueda.htm">
<font color="#000000">Búsqueda</font></a></font></span></b></td>
</tr>
</table></td>
</tr>
<tr>
<td width="90%" style="border-left: 1px solid #FFFFFF; border-right: 1px none #009C00; border-top-style: none; border-top-width: medium; border-bottom-style:solid; border-bottom-width:1; font-family:Verdana, Arial, Helvetica; font-size:11px" valign="bottom" height="11" bgcolor="#009C00">
<p align="left"><b><span lang="es-mx">
<font face="Verdana" size="1" color="#FFFFFF"> Comunidad</font></span></b></td>
</tr>
<tr>
<td width="90%" style="border-left: 1px solid #FFFFFF; border-right: 1px solid #009C00; border-bottom-style:none; border-bottom-width:medium; font-family:Verdana, Arial, Helvetica; font-size:11px" valign="bottom" height="10" bgcolor="#EEEEEE">
<table width="153" height="43" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="141" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="1">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="principal" href="circulo_de_amigos.htm" style="text-decoration: none">
<font color="#000000">Círculo de Amigos</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="141" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="13">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="_blank" href="http://ffm.foros.st" style="text-decoration: none">
<font color="#000000">Foro Forestal Maderero</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="141" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="1">
<b>
<font face="Verdana" size="1"><span lang="es-mx">
<a target="principal" href="creditos.htm" style="text-decoration: none">
<font color="#000000">Créditos</font></a></span></font></b></td>
</tr>
<tr>
<td onclick="mClk(this);" onmouseout="mOut(this,'#FOFOFO');" onmouseover="mOvr(this,'#009COO');" vAlign="center" width="141" style="border-bottom: medium none rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#FOFOFO" height="12">
<b>
<span lang="es-mx"><font face="Verdana" size="1">
<a target="principal" href="estadisticas_sitios.htm" style="text-decoration: none">
<font color="#000000">Estadísticas del Sitio</font></a></font></span></b></td>
</tr>
</table></td>
</tr>
<tr>
<td width="90%" style="border-left: 1px solid #FFFFFF; border-right: medium none #48AC10; border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium; font-family:Verdana, Arial, Helvetica; font-size:11px" valign="bottom" height="10">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
<td width="97%" bgcolor="#009C00" style="border-bottom-style: none; border-bottom-width: medium; font-family:Verdana, Arial, Helvetica; font-size:11px"> </td>
<td width="3%" valign="bottom" bgcolor="#009C00" style="font-family: Verdana, Arial, Helvetica; font-size: 11px">
<img border="0" src="img_sitio/infder.gif" align="right" hspace="0" width="10" height="10"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
hay alguno que sepa como corregir ese error.
gracias