'1' is null or not an object.
Check before match is used to prevent that from happening.
This was discovered by using script.aculo.us and running the appear() method on a div element. IE8 errored but other browsers did not.
Sorry about the mess - I think this should be the correct changes
IE8 fix for the opacity check