Originariamente inviato da H5N1_Aviaria
Prova così:
codice:
Event.observe(window, 'load', function(){getAllTextInputs});
la chiamata observe non ha problemi, l'errore è in questa funzione:

function setEventsTo(el) {
el.onblur() {
this.className = 'unfocused';
}
el.onfocus() {
this.className = 'focused';
}
}