Javascript Image Preload with 404 error
<p>im trying to preload some images here. But what i need is to preload some images in an array, and show the progress.</p>

<p>This is working, but its giving me the <strong>GET 404 (Not Found)</strong> in console. But its working. What can i do to avoid this warning?</p>

<p>thanks!</p>

<pre><code>function start(id) {
    var images = new Array();
    images[0] = "http://www.travelblog.org/Wallpaper/pix/tb_fiji_sunset_wallpaper.jpg";
    images[1] = "http://www.fantasy-and-art.com/wp-content/gallery/abstract-wallpapers/lion_hd_wallpaper.jpg";
    images[2] = "http://hidefwallpaper.org/wp-content/gallery/1_apple_wallpaper_02/90831582ea8e018759044f2820b518d1.jpg";
    imageObj = new Image();
    imageObj.src = images[id];
    imageObj.onload = function() {
        if (id == images.length) {
            alert('Carregou tudo');
        }
        if (id &lt; images.length) {
            start(id + 1);
            alert(id);
        }
    }
}
start(0);​
</code></pre>
