It was not at all clear to me, is not at all clear to me, where to put the objects that result from document.write. innerHTML is obvious, document.write isnot. I thought they should parse under the script that does the document.write, that is reasonable, rational, but not based on any spec or anything. If the document.write is from an onload or onclick function, not an obvious script, then I put the objects in a nowhere place wherein they still get rendered so you see them in the buffer but aren't part of the js tree at all. That can't be right. See html.c line 559. The short answer is, I could probably put them just about anywhere. They could all go under document.body if that is where they're suppose to go. Or document. You'll have to review the test and infer where they belong. Karl Dahlke