



        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 != '20070118115300') {
            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('20070118','1157', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20070118/pags/20070118115300.html">Propuesta sistémica para el tema hídrico</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 != '20060527055943') {
            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('20060527','0559', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060527/pags/20060527055943.html">¿Ataques a la fe?</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 != '20060519051156') {
            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('20060519','0511', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060519/pags/20060519051156.html">Tacos</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 != '20060519051132') {
            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('20060519','0510', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060519/pags/20060519051132.html">Marchas pacíficas</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 != '20060503064057') {
            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('20060503','0640', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060503/pags/20060503064057.html">Lobo con piel de lobo</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 != '20060503063920') {
            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('20060503','0638', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060503/pags/20060503063920.html">El arte de expresarse bien</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 != '20060407054836') {
            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('20060407','0548', 'c', '');
            // document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_nots/site/artic/20060407/pags/20060407054836.html">Una mirada necesaria</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>');
};

