



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

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070310','0901', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070310/pags/20070310090159.html">Fallecio artista temuquense Hector Robles Acuñ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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20070217083320') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070217','0832', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070217/pags/20070217083320.html">Importante triunfo en Valdivia</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 != '20070215064549') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070215','0645', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070215/pags/20070215064549.html">Cultura, poesía y plástica se unen en La Araucaní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>');
            incluidos = incluidos + 1;

          };

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

          if (ts_a_excluir != '20070114081113') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20070114','0815', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20070114/pags/20070114081113.html">Muestra pictórica itinerante</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 != '20061227061703') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061227','0621', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061227/pags/20061227061703.html">Engalanada con el renacimiento</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 != '20061215082138') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061215','0820', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061215/pags/20061215082138.html">Hotel Continental será el centro de la arquitectura</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 != '20061028090019') {

            document.writeln('  <TR>    <TD align="left">');
            document.write('<span class="fec">');
            // print_date_or_time('20061028','0858', 'c', '');
            document.write('</span>');
            
            document.write(' <span class="GralRel"><a href="/prontus4_noticias/site/artic/20061028/pags/20061028090019.html">Galería de Arte Plaza Aníbal Pinto dice adiós</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=5&tema=56&subtema=146">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>');
};

