It looks like IE doesn't support contentWindow.document - I think that code needs to be something like..
return
element.contentWindow ?
element.contentWindow.document :
ownerDocument
meder
2009-07-27 18:51:39