/*
<SCRIPT src="c_headerportal_002.js"></SCRIPT><!-- -->
<SCRIPT src="header_cobrand.js"></SCRIPT><!-- -->
<SCRIPT src="Menu.js"></SCRIPT><!-- -->
<Script language='JavaScript' src="c_footer_001.js"></script><!-- -->
<SCRIPT language=JavaScript src="layer.js" type=text/javascript></SCRIPT> <!-- Ventana de descripcion de Programas-->
*/


/****************************************
*** Desplegado de Ventanas tipo PopUp ***
****************************************/
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/**********************************************
*** Actualizacion de Banners                ***
*** 13-Jul-2004   No Utilizado              ***
***********************************************/
function writeBanner(sit,chn,sub,w,h,pos) {

bnrTxt = '';

bnrTxt += '	<IFRAME WIDTH="' + w + '" HEIGHT="' + h + '" MARGINWIDTH="0" MARGINHEIGHT="0" ';
bnrTxt += '		HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" BORDERCOLOR="#000000" ';
bnrTxt += '		SRC="http://ads.esmas.com/html.ng/site=' + sit + '&canal=' + chn + '&subcanal=' + sub + '&adsize=' + w + 'x' + h + '&tile=' + pos + '">';
bnrTxt += '	<SCR' + 'IPT language="JavaScript1.1" ';
bnrTxt += '		SRC="http://ads.esmas.com/js.ng/Params.richmedia=yes&site=' + sit + '&canal=' + chn + '&subcanal=' + sub + '&adsize=' + w + 'x' + h + '&tile=' + pos + '">';
bnrTxt += '	</SCR' + 'IPT>';
bnrTxt += '	</IFRAME>';

document.write(bnrTxt);
}
/************************************************************
*** <SCRIPT src="c_headerportal_002.js"></SCRIPT><!-- --> ***
*** Escritura de Banner Izq y Derecho  13-Jul-2004        ***
*** Este es el activo                                     ***
*************************************************************/
function writeHeaderTele (url, logoIzquierda, logoDerecha, site, canal, subcanal, bgcolor_top) {

var output = '';
output += '<style type="text/css">';
output += '    .textoheader {  font-family: Arial, Helvetica, sans-serif; font-size: 9px; color: #003366; text-decoration: none}';
output += '    .search { color: #333; font-style: normal; font-weight: normal; font-size: 9px; line-height: 9px; font-family: Arial, Helvetica; text-decoration: none; letter-spacing: 1pt }';
output += '	   .navegacionsuperior {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #FFFFFF; text-decoration: none}';
output += '    .navegacionsuperior:hover {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #FFCC00; text-decoration: none}';
output += '</style>';
output += '<table width="750" border="0" cellspacing="0" cellpadding="0" bgcolor="' + bgcolor_top + '">';
output += '  <tr>';
output += '    <td colspan="6" height="1"><img src="http://i.esmas.com/img/spacer.gif" width="3" height="3"></td>';
output += '  </tr>';
output += '  <tr>';
output += '    <td rowspan="2" width="164" valign="middle" align="right"><a href="' + url + '"><img src="' + logoIzquierda + '" width="279" height="78" border="0"></a></td>'; //parte gris
output += '    <td width="468" valign="top" align="left">';
output += '    </td>'; 
output += '  </tr>';
output += '  <tr bgcolor="' + bgcolor_top + '">';
output += '    <td width="24">&nbsp;</td>';
output += '    <td width="468" height="60" valign="middle" align="left" nowrap>';
output += '     <IFRAME WIDTH="468" HEIGHT="60" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" BORDERCOLOR="#000000" SRC="http://ads.esmas.com/html.ng/site=' + site + '&canal=' + canal + '&subcanal=' + subcanal + '&adsize=468x60&tile=1">';
output += '     <SCRIPT language="JavaScript" SRC="http://ads.esmas.com/js.ng/Params.richmedia=no&site=' + site + '&canal=' + canal + '&subcanal=' + subcanal + '&adsize=468x60&tile=1"></SCRIPT>';
output += '     <NOSCRIPT><A HREF="http://ads.esmas.com/click.ng/Params.richmedia=no&site=' + site + '&canal=' + canal + '&subcanal=' + subcanal + '&adsize=468x60&tile=1"><IMG SRC="http://ads.esmas.com/image.ng/Params.richmedia=no&site=' + site + '&canal=' + canal + '&subcanal=' + subcanal + '&adsize=468x60&tile=1" target="_blank"></A></NOSCRIPT></IFRAME></td>';
output += '  </tr>';
output += '  <tr>';
output += '    <td colspan="6" height="1"><img src="http://i.esmas.com/img/spacer.gif" width="1" height="1"></td>';
output += '  </tr>';
output += '</table>';


document.write(output);
}

/********************************************************
*** <SCRIPT src="header_cobrand.js"></SCRIPT><!-- --> ***
********************************************************/
var hmURL = "http://www.esmas.com";
var niURL = "http://www.esmas.com/ninos";
var cmURL = "http://www.esmascompras.com.mx";


nav = new Array
	(
	//titulo,URL
	"HOME", hmURL,
	"DEPORTES",hmURL + "/deportes",
	"FUTBOL",hmURL + "/deportes/futbol",
	"ESPECT&Aacute;CULOS",hmURL + "/espectaculos",
	"COMPRAS",hmURL + "/compras",
	"NOTICIEROS",hmURL + "/noticierostelevisa",
	"NI&Ntilde;OS",hmURL + "/ninos",
	//"FINANZAS PERSONALES",hmURL + "/finanzaspersonales",
	"VIDA Y SALUD",hmURL + "/vidaysalud",
	"TELENOVELAS",hmURL + "/telenovelas"
	);
	
	servicios = new Array
	(
	//titulo,URL
	"ESMAS INTERNET",cmURL + "/internet",
	"PAREJAS","http://www.esmasclub.com",
	"CLASIFICADOS", hmURL + "/clasificados",
	"E-MAIL",hmURL + "/e-mail",
	"FOROS",hmURL + "/foros",
	"CHAT",hmURL + "/chat",
	"PROMOCIONES",hmURL + "/promociones",
	"HORÓSCOPOS",hmURL + "/vidaysalud/horoscopos/",
	"EMPLEO",hmURL + "/bolsadetrabajo",
	"MI CUENTA",hmURL + "/micuenta"
	);

servicioscobrand = new Array
	(
	//titulo,URL
	"registro","http://www.esmas.com/registro",
	"bolet&iacute;n","http://www.esmas.com/newsletter",
	"compras","http://www.esmas.com/compras",
	"foros","http://www.esmas.com/promociones",
	"chat","http://www.esmas.com/chat",
	"promociones","http://www.esmas.com/promociones",
	"fotogaler&iacute;as","http://www.esmas.com/fotogaleria"
	);
	
function clearForm(which){
	if (which.value=="buscar") which.value='';
}

function siteJump(field){
	url = field.options[field.selectedIndex].value;
 	if (url != ""){
    	parent.location.href = url; 
    } 
	else { 	
		return(false);
    } 
} 


/****************************************************************
*** Primer Menu horizontal de la parte superior de la pagina  ***
****************************************************************/
function writeHeader()
{
var output = "";
output += '<STYLE type=text/css>';
output += '.header {FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none}';
output += '.header:hover {	FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #ffcc00; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none}';
output += '.dropdown {FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #333333; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none}';
output += '</STYLE>';
output += '	<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>';
output += '	<TBODY>';
output += '		<TR>';
output += '			<TD vAlign=top width=681>';
output += '      		<TABLE cellSpacing=0 cellPadding=0 width=681 border=0>';
output += '        		<TBODY>';
output += '        			<TR bgColor=#666666>';
output += '          			<TD vAlign=center align=middle width=147><IMG height=12 src="http://i.esmas.com/img/spacer.gif" width=12></TD>';
output += '        				<TD width=370><IMG height=12 src="http://i.esmas.com/img/spacer.gif" width=12></TD>';
output += '          			<TD width=164><IMG height=12 src="http://i.esmas.com/img/spacer.gif" width=12></TD>';
output += '					</TR>';
output += '            			<form name="buscar" action="http://busqueda.esmas.com/NASApp/buscador/buscainterna.jsp" method="post"> ';
output += '        			<TR bgColor=#666666>';
output += '          			<TD vAlign=center align=middle width=147 height=29><INPUT class=dropdown size=15 name=q onFocus="clearForm(this);" value="buscar"><input type="image" src="http://i.esmas.com/img/cobrand_ir.gif" border="0" width="19" height="11" name="image"></TD>';
output += '          			<TD align=middle width=370 height=29>';
output += '            				<TABLE cellSpacing=0 cellPadding=0 width=355 bgColor=#666666 border=0>';
output += '              			<TBODY>';
output += '              				<TR>';
output += '                					<TD width=6><IMG height=23 src="http://i.esmas.com/img/head_esq1.gif" width=6></TD>';

for(i=0;i<servicioscobrand.length;i++){
	output += '<TD align=middle bgColor=#4d4d4d><A class=header href="' + servicioscobrand[i+1] + '">&nbsp;' + servicioscobrand[i] + '&nbsp;</A></TD>';
	if(i < servicioscobrand.length - 2) {
		output += '<TD align=middle width=1><IMG height=1 src="http://i.esmas.com/img/spacer.gif" width=1></TD>';
	}	
	i++;
}
output += '                					<TD width=6><IMG height=23 src="http://i.esmas.com/img/head_esq2.gif" width=6></TD>';
output += '								</TR>';
output += '							</form>';
output += '							</TBODY>';
output += '							</TABLE>';
output += '						</TD>';
output += '            				<form name="select" action="" method="post"> ';
output += '          			<TD width=164 height=29>';
output += '            				<DIV align=center>';
output += '            				<SELECT class=dropdown name=select onchange="siteJump(this);"> ';
output += '                			<OPTION value="" selected>Canales esmas</OPTION> ';
        
output += '                			<OPTION value="http://www.esmas.com">HOME</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/deportes">DEPORTES</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/espectaculos">ESPECTÁCULOS</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/telenovelas">TELENOVELAS</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/noticierostelevisa/">NOTICIEROS</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/ninos">NI&Ntilde;OS</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/negocios">NEGOCIOS</OPTION> ';
		        
output += '                			<OPTION value="http://www.esmas.com/vida">VIDA Y SALUD</OPTION> ';
	        		        
output += '                			<OPTION value="http://www.esmas.com/compras">COMPRAS</OPTION> ';
						
output += '            				</SELECT></DIV></TD>';
output += '					</TR>';
output += '							</form>';
output += '        			<TR bgColor=#FFFFFF>';
output += '          			<TD width=147><IMG height=9 src="http://i.esmas.com/img/spacer.gif" width=9></TD>';
output += '          			<TD width=370><IMG height=9 src="http://i.esmas.com/img/spacer.gif" width=9></TD>';
output += '          			<TD width=164><IMG height=9 src="http://i.esmas.com/img/spacer.gif" width=9></TD>';
output += '					</TR>';
output += '				</TBODY>';
output += '				</TABLE>';
output += '			</TD>';
output += '    		<TD vAlign=top width=69><a href="http://www.esmas.com"><IMG src="http://i.esmas.com/img/logo_cobrand_b.gif" border=0></a></TD>';
output += '		</TR>';
output += '	</TBODY>';
output += '	</TABLE>';
document.write(output);
}

/**********************************************
*** <SCRIPT src="Menu.js"></SCRIPT><!-- --> ***
*** segundo menu despues de los banners     ***
*** se elimina Sala de Prensa 13-Jul-2004   ***
***********************************************/
function WriteMenu (){
var Salida = "";


Salida += '     <TABLE cellSpacing=0 cellPadding=0 width=750 bgColor=#ffcc33 border=0>';
Salida += '        <TBODY>';
Salida += '           <TR>';
Salida += '              <TD></TD>';
Salida += '              <TD width=10 height=3></TD>';
Salida += '              <TD width=30></TD>';
Salida += '		      </TR>';
Salida += '	       </TBODY>';
Salida += '     </TABLE>';
Salida += '     <TABLE cellSpacing=0 cellPadding=0 width=750 bgColor=#333366 border=0>';
Salida += '        <TBODY>';
Salida += '           <TR>';
Salida += '              <TD></TD>';
Salida += '              <TD width=10 height=25></TD>';
Salida += '              <TD width=30></TD>';
Salida += '              <TD><IMG src="TelevisaHome_archivos/spacer.gif"></TD>';
Salida += '              <TD>';
Salida += '              <DIV align=center valign="top"><B>';
Salida += '		            <FONT class=bullet><A class=navegacionsuperior href="http://www.esmas.com/televisahome/">                 &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Home</A> ';
Salida += '                 <FONT class=bullet><A class=navegacionsuperior href="http://www.esmas.com/televisahome/empresa/">         &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Empresa</A> ';
Salida += '                 <FONT class=bullet><A class=navegacionsuperior href="http://www.esmas.com/televisahome/nuestrasfiliales/">&nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Nuestras Filiales</A> ';
Salida += '                 <FONT class=bullet><A class=navegacionsuperior href="http://www.televisaestudios.com/">                   &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Internacional</A> ';
Salida += '		            <FONT class=bullet><A class=navegacionsuperior href="http://www.esmas.com/televisahome/ventas/">          &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Ventas</A> ';
Salida += '                 <FONT class=bullet><A class=navegacionsuperior href="http://www.esmas.com/televisahome/inversionistas/">  &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;Inversionistas</A> ';
Salida += '               </B>';
Salida += '		          </DIV></FONT></FONT></FONT></FONT></FONT></FONT>';
Salida += '		         </TD>';
Salida += '		      </TR>';
Salida += '		   </TBODY>';
Salida += '	    </TABLE>';
Salida += '     </TD>';
Salida += '     </TR>';
Salida += '	  </TBODY>';
Salida += '</TABLE>';
Salida += '';
Salida += '   <TABLE cellSpacing=0 cellPadding=0 width=125 border=0>';
Salida += '      <TBODY>';
Salida += '         <TR>';
Salida += '            <TD width=2></TD>';
Salida += '		    </TR>';
Salida += '      </TBODY>';
Salida += '   </TABLE>';
Salida += '   <TABLE cellSpacing=0 cellPadding=0 width=750 bgColor=#ffffff border=0>';
Salida += '      <TBODY>';
Salida += '         <TR>';
Salida += '             <TD vAlign=top width=125 bgColor=#22427b border="0">';
Salida += '                 <TABLE height=17 cellSpacing=0 cellPadding=0 width=126 bgColor=#ff6600 border=0>';
Salida += '                <TBODY>';
Salida += '        ';
Salida += '        <TR>';
Salida += '          <TD align=middle width=125><SPAN class=fecha>';
Salida += '            <SCRIPT language=JavaScript ';
Salida += '            src="TelevisaHome_archivos/fecha_corta.js"></SCRIPT>';
Salida += '            </SPAN></TD></TR></TBODY>';
Salida += '   </TABLE>';
Salida += '      <TABLE cellSpacing=0 cellPadding=0 width=120 border=0>';
Salida += '         <TBODY>';
Salida += '            <TR height=10>';
Salida += '               <TD height=10><FONT class=bullet><A class=navegacionlateral href="http://www.televisadeportes.com/">&nbsp;&nbsp;•&nbsp;Deportes</A></FONT></TD>';
Salida += '            </TR>';
Salida += '            <TR height=10>';
Salida += '               <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '                 href="http://www.esmas.com/televisahome/ninos/">&nbsp;&nbsp;•&nbsp;Niños</A></FONT></TD></TR>';
Salida += '            <TR height=10>';
Salida += '            <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '            href="http://www.esmas.com/televisahome/noticieros/">&nbsp;&nbsp;•&nbsp;Noticieros</A></FONT></TD></TR>';
Salida += '            <TR height=10>';
Salida += '            <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '            href="http://www.esmas.com/televisahome/espectaculos/">&nbsp;&nbsp;•&nbsp;Espectaculos</A></FONT></TD></TR>';
Salida += '            <TR height=10>';
Salida += '            <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '            href="http://www.esmas.com/televisahome/eventos/">&nbsp;&nbsp;•&nbsp;Eventos</A></FONT></TD></TR>';
Salida += '            <TR height=10>';
Salida += '            <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '            href="http://televisa.lagente.com/">&nbsp;&nbsp;•&nbsp;Bolsa de ';
Salida += '            Trabajo</A></FONT></TD></TR>';
Salida += '            <TR height=10>';
Salida += '            <TD height=10><FONT class=bullet><A class=navegacionlateral ';
Salida += '            href="http://www.esmas.com/boletin/">&nbsp;&nbsp;•&nbsp;Boletin</A></FONT></TD></TR>';
Salida += '            <TR>';
Salida += '            <TD><IMG height=2 src="TelevisaHome_archivos/spacer.gif" ';
Salida += '            width=5></TD></TR>';
Salida += '         </TBODY>';
Salida += '      </TABLE>';

document.write(Salida);

 
/*
Salida += '<TABLE height=20 cellSpacing=0 cellPadding=0 width=750 border=0 bgColor=#333366>';
Salida += '  <TBODY>';
Salida += '  <TR>';
Salida += '    <TD align=right width=610 height=20>';
Salida += '      <TABLE cellSpacing=0 cellPadding=0 Width=100% border=0 bgColor=#ffffff>';
Salida += '        <TBODY>';
Salida += '        <TR>';


Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisahome/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_home_on.gif\',1)"><img name="Image1" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_home_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisahome/empresa/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image3\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_empresa_on.gif\',1)"><img name="Image3" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_empresa_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisahome/nuestrasfiliales/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image4\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_nuestrasfil_on.gif\',1)"><img name="Image4" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_nuestasfil_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.televisainternacional.com/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_interna_on.gif\',1)"><img name="Image6" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_internac_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisa/frame_ventas_new.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image8\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_ventas_on.gif\',1)"><img name="Image8" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_ventas_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisa/frame_inversionistas_new.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image10\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_inversion_on.gif\',1)"><img name="Image10" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_inversion_off.gif"></a>';
Salida += '          </td>';
Salida += '          <td>';
Salida += '             <a href="http://www.esmas.com/televisa/frame_saladeprensa_new.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image13\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navp_saladepre_on.gif\',1)"><img name="Image13" border="0" src="http://i.esmas.com/navegacion/0/000/000/011/tel_navp_saladepren_off.gif"></a>';
Salida += '          </td>';

Salida += '        </TR>';
Salida += '        </TBODY>';
Salida += '      </TABLE>';
Salida += '    </TD>';
Salida += '  </TR>';
Salida += '  </TBODY>';
Salida += '</TABLE>';

document.write(Salida);
*/
}


/*************************************
***    Menu Izquierdo del sitio    ***
**************************************/
function WriteMenuLeft (){
var Salida = "";

Salida += '<TABLE cellSpacing=0 cellPadding=0 border=0 bgcolor="#21417B">';

Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image0\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_deportes_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://www.esmas.com/televisahome/deportes/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_deportes_off.gif" border=0 ';
Salida += '            name=Image0></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image2\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_ninos_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://www.esmas.com/televisa/frame_ninos_new.html"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_ninos_off.gif" border=0 ';
Salida += '            name=Image2></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image5\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_noticieros_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://www.esmas.com/televisahome/noticieros/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_noticieros_off.gif" border=0 ';
Salida += '            name=Image5></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image7\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_espectac_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://www.esmas.com/televisahome/espectaculos/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_espectac_off.gif" border=0 ';
Salida += '            name=Image7></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image9\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_eventos_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://www.esmas.com/televisahome/eventos/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_eventos_off.gif" border=0 ';
Salida += '            name=Image9></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image11\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_bolsadetra_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() href="http://televisa.lagente.com/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_bolsadetrab_off.gif" border=0 ';
Salida += '            name=Image11></A></TD></TR>';
Salida += '      <TR>';
Salida += '         <TD><A ';
Salida += '            onmouseover="MM_swapImage(\'Image12\',\'\',\'http://i.esmas.com/navegacion/0/000/000/011/tel_navs_boletin_on.gif\',1)" ';
Salida += '            onmouseout=MM_swapImgRestore() ';
Salida += '            href="http://newsletter.esmas.com/"><IMG ';
Salida += '            src="http://i.esmas.com/navegacion/0/000/000/011/tel_navs_boletin_off.gif" border=0 ';
Salida += '            name=Image12></A></TD></TR>';

Salida += '</Table>';
document.write(Salida);
}

function WriteFechaCorta()
{var Salida = "";
Salida += '         <table width=125 height=17 border=0 cellspacing=0 cellpadding=0 bgcolor="#FF6600">';
Salida += '		       <tr>';
Salida += '    		      <td width=125 align=center>';
Salida += '		             <span class="fecha">';

Salida += '                     <SCRIPT language="JavaScript" src="http://www.esmas.com/scripts/fecha_corta.js"></SCRIPT>';

/*
Salida += '                     <SCRIPT language="JavaScript" src="TelevisaHome13-Jul-2004_archivos/fecha_corta.js"></SCRIPT>';
*/
Salida += '                  </span>';
Salida += '               </td>';
Salida += '  		   </tr>';
Salida += '	        </table>';
document.write(Salida);
}

function WriteIconoProgramacion()
{var Salida = "";
Salida += '         <Table Width=125px border=0 cellspacing=0 cellpadding=0 bgcolor="#21417B">';
Salida += '            <tr>';
Salida += '               <td valign=top>';
Salida += '                  <img src="http://i.esmas.com/img/b_azul_programaciontv.gif" width=125 height=15>';
Salida += '               </td>';
Salida += '               <Td Width=125px height=420px>';
Salida += '               </Td>';
Salida += '            </tr>';
Salida += '         </Table >';
document.write(Salida);
}

/****************************************************************************
*** <Script language='JavaScript' src="c_footer_001.js"></script><!-- --> ***
****************************************************************************/
hmURL = "http://www.esmas.com";
legal = new Array
	(
	//titulo,URL
	"Escr&iacute;benos",hmURL + "/escribenos",
	"Subastas",hmURL + "/subastas",
	"Ventas EsMas",hmURL + "/ventas",
	"Convenio del usuario",hmURL + "/conveniousuario",
	"Pol&iacute;ticas de privacidad",hmURL + "/politicaprivacidad",
	"Televisa.com","http://www.televisa.com/",				
	"Ayuda",hmURL + "/ayuda"
	);	
function writeFooter () {
var output = "";
output += '<style type="text/css">';
output += '    .textofooter1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #333366; text-decoration: none}';
output += '    .textofooter1:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #CC6600; text-decoration: none}';
output += '    .textofooter2 { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #6699CC; text-decoration: none}';
output += '    .textofooter2:hover { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #003366; text-decoration: none}';
output += '</style>';
output += '<table width="750" border="0" cellspacing="0" cellpadding="0">';
output += '  <tr>';
output += '    <td bgcolor="#FFFFFF" height="3" colspan="2"><img src="http://i.esmas.com/img/spacer.gif" width="3" height="3"></td>';
output += '  </tr>';
output += '  <tr>';
output += '    <td bgcolor="FFB53A">';
output += '      <div align="center"><span class="textofooter1">';

for(i=0;i<legal.length;i++){
	output += '<a href="' + legal[i+1] + '" target="_blank" class="textofooter1">' + legal[i] + '</a>';
	if(i < legal.length - 2) {
		output += ' :: ';
	}	
	i++;
}
output += '      </span></div></td>';
output += '    <td rowspan="3" width="38"><img src="http://i.esmas.com/img/logo_foot_esmas.gif" width="38" height="30"></td>';
output += '  </tr>';
output += '  <tr>';
output += '    <td><img src="http://i.esmas.com/img/spacer.gif" width="1" height="1"></td>';
output += '  </tr>';
output += '  <tr>';
output += '    <td bgcolor="22427B">';
output += '      <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif" size="1"><b>DERECHOS';
output += '        RESERVADOS &copy; COMERCIO MAS, S.A. DE C.V. 2003</b></font></div>';
output += '    </td>';
output += '  </tr>';
output += '</table>';
document.write(output);
}

/********************************************************************************
*** <!-- Ventana de descripcion de Programas-->                               ***
*** <SCRIPT language=JavaScript src="layer.js" type=text/javascript></SCRIPT> ***
*********************************************************************************/
function VentanaMensaje(xLinea1,xLinea2)
{var Ventana = '';
/* alert(xLinea1); */
   
Ventana += '';

Ventana += '';
Ventana += '<div id="phpads_c285f79a8" ';
Ventana += '   style="position:absolute; ';
Ventana += '          width:252px; ';
Ventana += '          height:242px; ';
Ventana += '          z-index:98; ';
Ventana += '          left: 0px; ';
Ventana += '          top: 0px;';
Ventana += '          visibility: hidden">';
Ventana += '';
Ventana += '   <table width=100% border=1 cellspacing=0 cellpadding=0 style="border-style: ridge; border-color:#ffffff">';
Ventana += '     <tr>                                    <!-- #000099 Azul -->';
Ventana += '       <td bordercolor=\'#DDDDDD\' bgcolor=\'#FF6600\' align=right style="padding: 3px 3px 2px">';
Ventana += '          <img src="expand.gif" width=12 height=12 hspace=3 onClick="phpAds_geopop(\'expand\',\'285f79a8\')">';
Ventana += '          <img src="close.gif"  width=12 height=12 onClick="phpAds_geopop(\'close\', \'285f79a8\')">';
Ventana += '       </td>';
Ventana += '     </tr>';
Ventana += '   </table>';
Ventana += '</div>';
Ventana += '';
Ventana += '<div id="phpads_o285f79a8"';
Ventana += '   style="position:absolute;'; 
Ventana += '          width:252px; ';
Ventana += '          height:242px; ';
Ventana += '          z-index:99; ';
Ventana += '          left: 0px; ';
Ventana += '          top: 0px;">';
Ventana += '';
Ventana += '   <Table width=100% border=1 cellspacing=0 cellpadding=0 style="border-style: ridge; border-color: #FFffff">';
Ventana += '      <tr>';
Ventana += '        <td bordercolor=#FFCF31 bgcolor=#FFB639 align=right style="padding: 3px 3px 2px">';
Ventana += '           <img src="expand-d.gif" width=12 height=12 hspace=3>';
Ventana += '           <img src="collapse.gif" width=12 height=12 onClick="phpAds_geopop(\'collapse\', \'285f79a8\')">';
Ventana += '        </td>';
Ventana += '      </tr>';
Ventana += '      <Table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FFCF31 >';
Ventana += '         <Tr><Td>&nbsp</Td></Tr>';
Ventana += '   ';
Ventana += '         <Tr>';
Ventana += '            <Td align="center" bgcolor="#FFcF31" style="Color:#ffffff ;font-family: Arial, helvetica; font-size: 16px; padding: 1px; font-weight: bold;">';
Ventana += '               ' + xLinea1 ;
Ventana += '            </Td>';
Ventana += '         </Tr>';
Ventana += '         <Tr>';
Ventana += '            <Td align="center" bgcolor="#FFcF31" style="Color:#21417B ;font-family: Arial, helvetica,; font-size: 10px; padding: 1px;">';
Ventana += '               ' + xLinea2 ;
Ventana += '            </Td>';
Ventana += '         </Tr>';
Ventana += '';
Ventana += '         <Tr><Td>&nbsp</Td></Tr>';
Ventana += '';
Ventana += '         <Tr>';
Ventana += '            <Td align="center" bgcolor="#FFcF31" style="font-family: Arial, helvetica; font-size: 11px; padding: 1px">';
Ventana += '               <A href="javascript:;" onClick="phpAds_geopop(\'collapse\', \'285f79a8\')" style="color:#21417B;text-decoration: none; font-weight: bold;">[ Cerrar ]</a>';
Ventana += '            </Td>';
Ventana += '         </tr>';
Ventana += '         <Tr><Td>&nbsp</Td></Tr>';
Ventana += '      </Table>';
Ventana += '   </Table>';
Ventana += '</div>';

document.write(Ventana);

if (typeof phpAds_timerid == 'undefined')
	phpAds_timerid = new Array();

phpAds_timerid['285f79a8'] = phpAds_geopop('open', '285f79a8');

return true;
}

function phpAds_findObj(n, d) 
{var p,i,x;  
   if(!d) d=document; 
   if((p=n.indexOf("?"))>0&&parent.frames.length) 
	  {d=parent.frames[n.substring(p+1)].document; 
       n=n.substring(0,p);}
   if(!(x=d[n])&&d.all) x=d.all[n]; 
   for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
   for (i=0;!x&&d.layers&&i>d.layers.length;i++) x=phpAds_findObj(n,d.layers[i].document);
   if(!x && document.getElementById) x=document.getElementById(n);
return x;
}

function phpAds_adlayers_place_285f79a8()
{
	var c = phpAds_findObj('phpads_c285f79a8');
	var o = phpAds_findObj('phpads_o285f79a8');

	if (!c || !o)
		return false;

	c = c.style;
	o = o.style;

	if (document.all && !window.innerWidth) { 
		c.pixelLeft = 497 ;
		o.pixelLeft = 497 ;
		c.pixelTop  = 165 ;
		o.pixelTop  = 165 ;
	} else {
		c.left = 497 - 16 ;
		o.left = 497 - 16;
		c.top  = 165 ;
		o.top  = 165 ;
	}
}

function phpAds_geopop(what, ad)
{
	var c = phpAds_findObj('phpads_c' + ad);
	var o = phpAds_findObj('phpads_o' + ad);

	if (!c || !o)
		return false;

	c = c.style;
	o = o.style;

	switch(what)
	{
		case 'collapse':
			c.visibility = 'visible'; 
			o.visibility = 'hidden';

			if (phpAds_timerid[ad])
			{
				window.clearTimeout(phpAds_timerid[ad]);
				phpAds_timerid[ad] = false;
			}

			break;

		case 'expand':
			o.visibility = 'visible';
			c.visibility = 'hidden'; 

		break;

		case 'close':
			c.visibility = 'hidden'; 
			o.visibility = 'hidden';

		break;

		case 'open':
		
			phpAds_adlayers_place_285f79a8();

			c.visibility = 'hidden';
			o.visibility = 'visible';
			return window.setTimeout('phpAds_geopop(\'collapse\', \'285f79a8\')', 300000);
			break;
	}

	return false;
}



/*************************************************
***         Chequeo del Mouse clic derecho     ***
*************************************************/
   var x,y,a,b;
   var isNav = (navigator.appName.indexOf("Netscape") !=-1);
   if (isNav){document.captureEvents(Event.MOUSEMOVE);}
   document.onmousemove = handlerMM;  
   //***********************************************
   //*** Esta Libreria inabilita el clic derecho ***
   //***********************************************
   function clickIE()
   {
     if (document.all) {return false;} 
   }

   function clickNS(e)
   {
      if (document.layers||(document.getElementById&&!document.all))
         {if (e.which==2||e.which==3) {return false;}}
   }

      if (document.layers)
         {document.captureEvents(Event.MOUSEDOWN);
          document.onmousedown=clickNS;}
      else
         {document.onmouseup=clickNS;
          document.oncontextmenu=clickIE;}

   document.oncontextmenu=new Function("return false")


/******************************************************
*** Hin descripcion de los Capitulos de un Programa ***
******************************************************/
function Descripciones()
{  var x = navigator.appVersion;
   y = x.substring(0,4);
   if (y>=4) IniciaVariables();
}//*** setupDescriptions ***

function IniciaVariables()
{  if (navigator.appName == "Netscape")
      {h  = ".left=";
       v  = ".top=";
       dS = "document.";
       sD = "";}
   else
      {h  = ".pixelLeft=";
       v  = ".pixelTop=";
       dS = "";
       sD = ".style";}
}// *** IniciaVariables ***

function Hint(a){
var aa
   aa = ""
   for (yy=0; yy<=a.length; yy++)
      {if (a.charAt(yy) != "_"){ aa = aa + a.charAt(yy);}
       if (a.charAt(yy) == "_"){ aa = aa + " ";};}

   desc = "<table cellspacing=0 cellpadding=0 border=1 bgcolor=#ffff00><td class=tablaDesc>" + aa + "</td></table>";


   if(isNav)
     {document.object1.document.write(desc);
      document.object1.document.close();
      document.object1.left=x+25;
      document.object1.top=y;}
   else
     {object1.innerHTML=desc;
      eval(dS+"object1"+sD+h+(x+25));
      eval(dS+"object1"+sD+v+y);}
}//*** Hint ***

function hide(a)
{  if(isNav)
     {eval(document.object1.top=a);}
   else object1.innerHTML = "";
}// *** hideLayer ***

function handlerMM(e)
{  x = (isNav) ? e.pageX : event.clientX;
   y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;
}// *** handlerMM ***



/*************************
*** Manejo de Imagenes ***
*************************/
function MM_swapImgRestore()
{var i,x,a=document.MM_sr;
   for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() 
{var d=document; 
   if(d.images)
      {if(!d.MM_p) d.MM_p=new Array();
         var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
         for(i=0; i<a.length; i++)
	     if (a[i].indexOf("#")!=0)
	        {d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}
   }
}

function MM_findObj(n, d) 
{var p,i,x;  
   if(!d) d=document; 
   if((p=n.indexOf("?"))>0&&parent.frames.length) 
      {d=parent.frames[n.substring(p+1)].document; 
       n=n.substring(0,p);}
   if(!(x=d[n])&&d.all) x=d.all[n]; 
   for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
   for (i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
   if (!x && document.getElementById) x=document.getElementById(n); 
return x;
}

function MM_swapImage() 
{var i,j=0,x,a=MM_swapImage.arguments; 
   document.MM_sr=new Array; 
   for(i=0;i<(a.length-2);i+=3)
      if ((x=MM_findObj(a[i]))!=null)
         {document.MM_sr[j++]=x;
          if(!x.oSrc) x.oSrc=x.src; 
          x.src=a[i+2];}
}


