The goal of this article is to emulate a lot of IE behaviors to work in Mozilla, both to make old IE specific scripts work in Mozilla but also to make it easier to create new scripts that work in both IE5 and Mozilla. The article is actually going to be a series of smaller articles, each one concentrating on a small part of the emulation.
As a proof of concept I've created a rough emulation that works (almost) good enough to get the generic move script to work.
There where two things that had to be fixed in this script but I hope to be able to emulate those in the future because they are way too common to ignore. The first one was setting a css value without a unit (ie "px"). The second one was referencing an element with document.all.