passing javascript global variable between embeded pages or from main to embed
<p>i have a html page with 2 embed pages</p>

<pre><code>&lt;body&gt;
    &lt;embed src ="toolbar.html" type="application/xhtml+xml"  width="485px" height="60px"&gt;
    &lt;embed src="editor.svg" type="image/svg+xml" width="595px" height="842px"&gt;
&lt;/body&gt;
</code></pre>

<p>the first is a toolbar (jquery ui)
the second is an xml page with svg in it.
both pages have scripts.
Is there any way to pass a variable defined in a script from the toolbar to the svg ?</p>

<p>or if that isn't possible:</p>

<p>is there any way to pass a variable defined in the current document to an embedded page ?</p>

<p>tnx in advance</p>
