



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

        function write_relacionados(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_relac.gif" width="140" height="28" alt="Art&iacute;culos Relacionados"></td>');
          document.writeln('  </tr>');
          document.writeln('</table>');


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

          

          if (ts_a_excluir != '20070629103952') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070629','1038', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070629/pags/20070629103952.html">&quot;Pitéate un Pitancero&quot; es furor en Internet</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20070629103632') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070629','1035', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070629/pags/20070629103632.html">Afiches, íconos, blogs y un récord de visitas</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20070128075540') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070128','0755', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070128/pags/20070128075540.html">Jóvenes de Temuco a la conquista del Amazonas</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20070121061751') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070121','0622', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070121/pags/20070121061751.html">Temuquenses hastiados con tanta burocracia</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20061018083402') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061018','0832', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061018/pags/20061018083402.html">Casi un tercio de la gente es pobre</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20061018083320') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061018','0832', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061018/pags/20061018083320.html">&quot;Para evitar la pobreza hay que mejorar la educación&quot;</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();
            document.writeln('</TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20061018075452') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061018','0753', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061018/pags/20061018075452.html">Pobreza extrema azota con fuerza en 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();
            document.writeln('</TABLE>');
            return true;
          };
          

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




function display_vermas() {
  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=10&tema=0&subtema=0">Ver');
    document.writeln('      m&aacute;s</a></span></TD>');
    document.writeln('  </TR>');
  };
};

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

