What is this simple javascript doing
<p>I am reading a tutorial and keep getting stuck on the first line of code, I know "new" in php is to make an object, but this tutorial has nothing to do with that. please help</p>

<pre><code>  var img = new Image();
</code></pre>

<p>the tutorial is here: </p>

<p><a href="http://jqueryfordesigners.com/image-loading/" rel="nofollow">http://jqueryfordesigners.com/image-loading/</a></p>

<p>Ok, I found the W3 definition of the predefined javascript object Image(): <a href="http://www.w3schools.com/jsref/dom_obj_image.asp" rel="nofollow">http://www.w3schools.com/jsref/dom_obj_image.asp</a></p>
