



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

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070706','0857', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070706/pags/20070706085906.html">Corren para despedirse de la N2</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 != '20070704091307') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070704','0911', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070704/pags/20070704091307.html">&quot;Yo siento vergüenza y pido disculpas&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 != '20070704090927') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070704','0908', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070704/pags/20070704090927.html">Eliminatorias en fútbol escolar</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 != '20070704090855') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070704','0907', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070704/pags/20070704090855.html">D. Temuco no pierde las esperanzas</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 != '20070704090445') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070704','0903', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070704/pags/20070704090445.html">El caso Luc Bessala</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 != '20070630063037') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070630','0629', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070630/pags/20070630063037.html">La cancha no importa...lo que vale es sumar</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 != '20070629102931') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070629','1028', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070629/pags/20070629102931.html">Bonvallet volvió a ser crack por un rato</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=4&tema=1&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>');
};

