Still having problems, sledger. I even reinstalled IE7 (7.0.5730.13) and, as you suggested, disabled the add-ins, all of them.

I could just shrug, saying that this is only one set of code that doesn't work. But since you believe it has to do with IE, this is a problem because whenever I want to preview another web page in XWD and I get an error, I will not know whether the problem is caused by faulty code or by IE.

So, it's kind of important to find the culprit. I hope you have another suggestion. Thanks.