Is it possible from a newly loaded page to insert an element onto a previously opened window document?
<p>I have the following scenario,</p>

<p>action in window Window A triggers new window to open, window B.</p>

<p>Window B redirects user to third party service provider.
User authorizes access to information stored with service provider.
Service provider redirects user to list of documents within service provider environment
User selects a document, and service provider redirects user to hosting environment where window A code lies, but this is still happening in window B.
An image and a button "copy image to document" appear in window B. </p>

<p>Is it possible to copy/clone the img element onto Window A when the user clicks the button "copy image to document" in window B (I have complete control over code in window B)?
If so, what javascript method would I use to insert elements from window B onto window A?</p>
