codice:
function pulisci(val)
{
 
  var coll = document.getElementById('td_left').document.getElementsByTagName('a'); 
  for(var x=0;x<coll.length;x++) 
    coll[x].style.backgroundColor='#ce0000'; 

}
FF mi risponde:

Errore: document.getElementById("td_left").document has no properties
Riga: 77

<td id="td_left">
link
</td>
dove sbaglio ?