port from the jQuery version here.

Note the try/catch and direct style assignation in the IE block – I was getting back an error from MooTools setStyle when setting some returned style values. At some point, I’ll probably try and narrow it down and get rid of the try/catch.