JavaScript preloaded images are getting reloaded
<p>I am preloading images via JS like so:</p>

<pre><code>Image1= new Image(234,273)
Image1.src = "001.png"
</code></pre>

<p>The images successfully get called on page load (confirmed from the Firebug Net panel). </p>

<p>After that, there's a button that triggers a function which replaces an image like so:</p>

<pre><code>document.getElementById("myImage").src = "001.png";
</code></pre>

<p>The problem is that when that function is called it's reloading the 001.png file, even though it was previously loaded. </p>

<p>Any ideas on why it does that / how to avoid it?</p>
