I have a simple image preload script:
var imgArr = ['i1.gif', 'i2.gif', 'i3.gif'];
var img;
for (var i=0, l=imgArr.length ; i<l ; i++) {
    img = new Image();
    img.src = imgArr[i];
It seems to work fine, but not in IE6/Win. I go to check the Temporary Internet Files folder, and the images don't seem to be preloading.

But if I add an alert statement after img.src=..., then they do preload!

Is there anything wrong in the code?