The Docment object can be sync'd as well, if the above doesn't help, try this:

$doc.write($html)

while $doc.readystate <> 4 and @error = 0 loop

[ 14. August 2002, 20:01: Message edited by: Shawn ]