



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

        function write_destacados(ts_a_excluir) {

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


          document.writeln('<TABLE width="140" cellpadding="0" cellspacing="0" border="0" >');

          

          if (ts_a_excluir != '20110612013302') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110612','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110612/pags/20110612013302.html"> Por un nuevo paso hacia la clasificación</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110612013303') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110612','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110612/pags/20110612013303.html"> Unión es visita en la ciudad de las tortas</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110612013321') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110612','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110612/pags/20110612013321.html"> El Apertura llega a su fin</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110612013322') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110612','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110612/pags/20110612013322.html"> Imperial y Victoria salen triunfadores en la Libsur</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110612013323') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110612','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110612/pags/20110612013323.html"> Las Olimpiadas Araucanía están encendidas</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110611000305') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110611','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110611/pags/20110611000305.html"> Dan aporte a seleccionados para Mundial</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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20110611000306') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20110611','0400', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20110611/pags/20110611000306.html"> Viejos estandartes encestan en Pucón</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>');
            incluidos = incluidos + 1;

          };

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

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




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

function display_sindestac() {
  document.writeln('  <TR align="left">');
  document.writeln('    <TD align="left"><span class="footlink">Sin artículos destacados.</span></TD>');
  document.writeln('  </TR>');
};

