This is generally how I manage progressive enhancement whilst keep the experience clean, but how safe is it? is there potential for a race condition and this not working?
Accessing the DOM prematurely throws exceptions in IE 5 and Navigator 4.