ciao,
uso questa funzione per nascondere delle righe di una tabella:
codice:
function switchTab(id)
{
  if(document.getElementById)
  {
    var curTab = document.getElementById(id);
    var img1 = document.getElementById('img1');
    if(curTab.style.display == 'table-row' || curTab.style.display == 'block')
    {
      curTab.style.display = 'none';
    }
    else
    {
      try
      {
        curTab.style.display='table-row';
      }
      catch(e)
      {
        curTab.style.display = 'block';
      }
    }
  }
}
nella finestra ho un link che richiama la funzione passando l'id del tbody da nascondere.
il tbody é definito cosi (per nasconderlo all'inizio):
<tbody id="advtab" style="display=none;">

il problema é che nel tbody ho delle immagini (png) che non vengono mostrate (restano sempre nascoste, anche quando il tbody é mostrato).
che puo essere?
qui sotto metto il contenuto del tbody:
codice:
<tr>
            <td colspan="2">Additional Criteria checked:</td>
            <td colspan="2">Reason for decision:</td>
          </tr>
          <tr>
            <td colspan="2" valign="top">{criteria_select}</td>
            <td colspan="2" valign="top">{cause_select}</td>
          </tr>
          <tr>
            <td colspan="2">{criteria_multi}</td>
            <td colspan="2">{cause_multi}</td>
          </tr>
          <tr>
            <td colspan="2">
            <input type="checkbox" name="checkAllCriteria" onClick="crit_selectAll('checkAllCriteria','criteria_select','criteria_ids[]');">
            All
            [img]../templates/default/images/unlink.png[/img]
            </td>
            <td colspan="2">
            <input type="checkbox" name="checkAllCauses" onClick="selectAll('checkAllCauses','cause_select','cause_ids[]');">
            All
            [img]../templates/default/images/unlink.png[/img]
            </td>
          </tr>