var plecas = new Array( new Array("1","<a href='http://www.esmas.com/deportes' target='_blank'>Deportes</a>",""), new Array("5","<a href='http://www.esmas.com/noticierostelevisa' target='_blank'>Noticieros</a>",""), new Array("9","<a href='http://www.esmas.com/espectaculos/' target='_blank'>Espectáculos</a>","") ); var arreglo =[ ["http://i.esmas.com/video/0/000/002/185/tri2388x49.jpg","23/05/06 Rafael Márquez ya está con el tricolor (2:39)","218510"] , ["http://i.esmas.com/video/0/000/002/184/pachuca88x49_218499.jpg","22/05/06 Pachuca, campeón del Clausura 2006 (2:41)","218499"] , ["http://i.esmas.com/video/0/000/002/184/campeon88x49.jpg","21/05/06 Pachuca gana con gol de Richard Núñez y es campeón del Clausura 2006 (2","218490"] , ["http://i.esmas.com/video/0/000/002/184/salsa88x49.jpg","19/05/06 Reportaje especial en Alemania 'A ritmo de salsa' (1:37)","218465"] , ["http://i.esmas.com/video/0/000/002/184/america_VG_218497.jpg","América del Valle, desde la clandestinidad habla para 1N.","218497"] , ["http://i.esmas.com/video/0/000/002/185/INCENDIO_VG.jpg","Una madre arroja a su hijo desde la ventana para salvarlo de las llamas.","218508"] , ["http://i.esmas.com/video/0/000/002/184/fue_VG.jpg","Un hombre se convierte en antorcha humana (00:24)","218491"] , ["http://i.esmas.com/video/0/000/002/185/PECESFUTBOL_VG.jpg","Fiebre futbolera en un acuario de Japón.","218509"] , ["http://i.esmas.com/video/0/000/002/184/RBDHillaryDuff88x49.jpg","(19/05/06) RBD graba con Hillary Duff (01:19)","218468"] , ["http://i.esmas.com/video/0/000/002/184/Sergiomayercibernetico88x49.jpg","(19/05/06) Sergio Mayer quiere a Cibernético para 'Sólo para mujeres' (01:49)","218469"] , ["http://i.esmas.com/video/0/000/002/184/ChristinaAguileraGQ88x49.jpg","(19/05/06) Christina Aguilera posa para GQ (01:04)","218467"] , ["http://i.esmas.com/video/0/000/002/184/Elguerocastro88x49.jpg","(19/05/06) El Güero Castro desmiente rumores de divorcio (01:22)","218470"] ]; var out =''; out += '<table width="200" border="0" cellpadding="0" cellspacing="0">'+ ' <tr>'+ ' <td><img src="http://i.esmas.com/img/univ/foto_video/video_u_ext_tit.gif" width="180" height="24"></td>'+ ' </tr>'+ ' <tr align="left">'+ ' <td height="5"><img src="http://i.esmas.com/img/univ/foto_video/video_u_ext_top2.gif" width="200" height="10"></td>'+ ' </tr>'+ ' <tr>'+ ' <td width="200" align="center" valign="top" background="http://i.esmas.com/img/univ/foto_video/video_u_ext_back2.jpg">'+ ' <div style="overflow:auto;width:200px; height: 230px; padding-left:10px; padding-right:5px;"><table border="0" cellspacing="0" cellpadding="0">'; for (i=0; i<arreglo.length;i++){ for (j=0; j<plecas.length; j++){ if ((plecas[j][0]-1)==i){ out +=' <tr>'+ ' <td colspan="2"><p class="exttit">'+plecas[j][1]+'</p></td>'+ ' </tr>'; } } out +=' <tr>'+ ' <td width="88"><a href="http://www.esmas.com/NASApp/portal/vidnt.jsp?id='+arreglo[i][2]+'"><img src="'+arreglo[i][0]+'" width="88" height="49" border="0" class="extima"></a></td>'+ ' <td width="112"><a href="http://www.esmas.com/NASApp/portal/vidnt.jsp?id='+arreglo[i][2]+'"><p class="exttxt">'+arreglo[i][1]+'</p></a></td>'+ ' </tr>'; } out +=' </table></div></td>'+ ' </tr>'+ ' <tr align="left">'+ ' <td height="5"><img src="http://i.esmas.com/img/univ/foto_video/video_u_ext_bottom2.gif" width="200" height="10"></td>'+ ' </tr>'+ ' </table>'; document.write(out);

