Found this excellent article on using Javscript.
They make a lot of very good points, and anyone doing any sort of Javascript development these days should give it a read.
UPDATE: I also just saw this article on innerHTML vs. DOM methods. I think I might have to rethink the document.write
s and the innerHTML
I used in the FlashObject embed files I posted the other day.
thats a great article about keeping your javascript separate from your html. good find.