ho lo stesso problema tuo

il getElementById restituisce un oggettino di tipo elements del quale non sono in grado di leggere/settare le proprietà

a questo link ho trovato info interessanti ma non risolutive
http://www.mozilla.org/docs/dom/domr...rtIX.html#IX_A