



        incluidos = 0;
        var limit = 6; // a, b o c parseado en el cgi

        function write_destacados(ts_a_excluir) {

          document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
          document.writeln('  <tr>');
          document.writeln('    <td align="left"><img src="../../../../../imag2004/cont/t_dest.gif" alt="Art&iacute;culos Destacados"></td>');
          document.writeln('  </tr>');
          document.writeln('  <tr align="center">');
          document.writeln('    <td>');




          

          if (ts_a_excluir != '20090123045411') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090123','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090123/pags/20090123045411.html"> &quot;Manguera&quot; fue un héroe</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090123045413') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090123','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090123/pags/20090123045413.html"> Comenzó su carrera solita</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090123045414') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090123','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090123/pags/20090123045414.html"> Bruno no aguantó más</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090123045415') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090123','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090123/pags/20090123045415.html"> Canal 13 está a la espera</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090123045416') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090123','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090123/pags/20090123045416.html"> Pamela Díaz rompío su silencio y confesó su amor</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090122045406') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090122','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090122/pags/20090122045406.html"> Pitbull no para de perrear</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20090122045407') {
            document.writeln('<TABLE width="134" cellpadding="0" cellspacing="0" border="0" >');
            document.writeln('  <TR>    <TD valign="middle">');


            // document.write('<span class="fec">');
            // print_date_or_time('20090122','0400', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20090122/pags/20090122045407.html"> Javiera, eso no se hace</a></span>');
            

            document.writeln('</TD>  </TR>');
            document.writeln('  <TR>');
            document.writeln('    <td background="../../../../../imag2004/cont/ph.gif"><img src="../../../../../imag2004/cont/b.gif" width="1" height="5"></td>');
            document.writeln('  </TR>');
            document.writeln('  </TABLE>');

            incluidos = incluidos + 1;

          };

          if (incluidos >= limit) {
            display_vermas_destacados();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (incluidos == 0) {
            display_sindestac();
          }
          else {
            display_vermas_destacados();
          };
          document.writeln('<br></td></tr></TABLE>');
          return true;
        };




function display_vermas_destacados() {
  if (incluidos > 0) {
  	document.writeln('  <table width="134" border="0" cellspacing="0" cellpadding="0">');
    document.writeln('  <TR align="right">');
    document.writeln('    <TD><span class="footlink"><img src="../../../../../imag2004/cont/a.gif" width="11" height="11"> <a href="/cgi-bin/dr_ptema_lista.cgi?seccion=5">Ver');
    document.writeln('      m&aacute;s</a></span></TD>');
    document.writeln('  </TR>');
    document.writeln('  </TABLE>');
  };
};

function display_sindestac() {
	document.writeln('  <table width="134" border="0" cellspacing="0" cellpadding="0">');
  document.writeln('  <TR align="left">');
  document.writeln('    <TD align="left"><span class="footlink">Sin artículos destacados.</span></TD>');
  document.writeln('  </TR>');
  document.writeln('  </TABLE>');
};
