



        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 != '20110612013318') {

            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/20110612013318.html"> La seducción del tango arribará a Temuco</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 != '20110612013319') {

            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/20110612013319.html"> ¡El Olivo de Oro se fue a Temuco!</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 != '20110612013320') {

            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/20110612013320.html"> Ahora los lunes serán de tributos rock</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 != '20110611023316') {

            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/20110611023316.html"> Temuquense es profesional del tango en Buenos Aires</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 != '20110611023320') {

            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/20110611023320.html"> A San Pedro de Atacama se fue primer lugar</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 != '20110611023321') {

            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/20110611023321.html"> Quedan pocos días para Programa Tesoros Vivos</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 != '20110611023322') {

            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/20110611023322.html"> Inti Illimani suspende show de esta noche</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=5">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>');
};

