



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

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







          

          if (ts_a_excluir != '20070509151502') {
            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('20070509','1514', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20070509/pags/20070509151502.html">En boca de todos por el deporte</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051212043343') {
            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('20051212','0433', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051212/pags/20051212043343.html">El reto de aprender, decidirse y llegar a la meta</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051120070233') {
            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('20051120','0702', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051120/pags/20051120070233.html">Cambio climático: oportunidades de negocios</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051120070205') {
            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('20051120','0701', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051120/pags/20051120070205.html">El buen Rey</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051117221333') {
            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('20051118','1511', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051117/pags/20051117221333.html">El establecimiento de Misión Rahue</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051107030829') {
            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('20051107','0318', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051107/pags/20051107030829.html">Límite marítimo</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

          if (ts_a_excluir != '20051106010250') {
            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('20051106','0112', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20051106/pags/20051106010250.html">Un mes para María</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();
            document.writeln('<br></td></tr></TABLE>');
            return true;
          };
          

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




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

function display_sinrel() {
	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 relacionados.</span></TD>');
  document.writeln('  </TR>');
  document.writeln('  </TABLE>');
};

