Bugfix for "unknown runtime error" in IE 7/8

Please reminify if you accept, I don't know how you've done that.