JavaScript-Scrolling Iframe image
<p>i can't get past the line below regarding the <code>GETElementById:</code> Getting error that mentions W3G error regarding my "dframe1" name. See code below.
Any help appreciated, trying different things for 4 hours.
Thanks.</p>

<pre><code>&lt;!DOCTPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
&lt;title&gt;MySandbox&lt;/title&gt;
&lt;meta http-equiv="Content-type" content="text/html; charset=utf-8" /&gt;
&lt;style type="text/css" media="screen"&gt;
body { background-color: #000; font: 16px Helvetica, Arial; color: #fff; }
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;iframe id="dframe1" src="http://www.ebay.com/3/W0000018452/P0000340699.htm" width="900" height="500"&gt;&lt;/iframe&gt;

&lt;script type="text/javascript"&gt;
alert("Made it to Alert");

var myIframe = document.getElementById('dframe1');
myIframe.onload = function() {
    myIframe.contentWindow.scrollTo(50,50);
};
&lt;/script&gt; 

&lt;/body&gt;
&lt;/html&gt;
</code></pre>
