Can't change the background of an iframe
<p>I'm simply trying to change the background of an iframe that contains Google. But I can't. Any suggestions ?</p>

<pre><code>&lt;script&gt;
function changeFrame() {
    var oIframe = document.getElementById("myframe");
    var oDoc = oIframe.contentWindow || oIframe.contentDocument;
    if (oDoc.document) {
        oDoc = oDoc.document;
    }
    oDoc.body.style.backgroundColor = "#00f";
    return true;
}
&lt;/script&gt;

&lt;iframe id="myframe" src="http://www.google.com/"&gt;&lt;/iframe&gt;
</code></pre>
