function mostrartemas(f,id,material,revista){

   var cont=1;
   var texto="";
   texto+="<table width='80%' border='0' align='center' cellpadding='0' cellspacing='111' bgcolor='#CEDCEF'>";
   texto+="<tr><td><table width='80%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'><tr><td valign='top'>";
   texto="<table width='100%' border=0 align='center' cellpadding=3 cellspacing=1>";

   var token = f.split("@");

   for (i=0;i<token.length-1;i++)
   {

      texto+="<tr bgcolor=#CCCCCC bordercolor=#0080c0>";
      texto+="<td width='2' valign='middle' bordercolor=#0099cc bgcolor=#F2F2F2 class=leftnav2";
      texto+="onClick=''><img src='imagenes/flecha.gif' width='7' height='5'></td>";
      texto+="<td bordercolor=#0099cc bgcolor=#F2F2F2 onClick='' onMouseOver=\"HoverCell_1('on',this);\"";
      texto+="onMouseOut=\"HoverCell_1('off',this);\">";
      texto+="<a href=\"catalogo.jsp?id=" + id + "&area=" + token[i] + "&material=" + material + "&revista=" + revista + "&step=1\" class='blue'>" + token[i] + "</a>";
      texto+="</td></tr>";
    } 

   texto+="</table>";
   texto+="</td></tr></table></td></tr></table>";
   var IE =(document.all)?1:0;

   if (IE){

    // Explorer

    document.all.Temas.innerHTML=texto;
	
   } else {
     if (document.getElementById) 
     {
      // Netscape 6 +
         document.getElementById("Temas").innerHTML = texto;
     } else {
              // Netscape 4 +
                 with(document.layers["Temas"].document) 
                 {
                    open();
                    write(texto);
                    close();
                 }
            }
  }

}

