cioa a tutti ho un problema di questo genere

codice:
function getHeight(id)
  {
  y = document.getElementById(id);
  return y.offsetHeight;
  }
id è ina variabile, che contiene 'corpo,5,1' senza apici ovviamente.

ho provato con

y = document.getElementById(''+id+''); <== sono apici singoli

ma continua a darmi errore SEMPRE SU QUELLA RIGA

damned Bug Gates

ovviamente in FF è uan chicca!