This is a continuation of my previous post, preloading images with jQuery.
More info about preloaders: here.
This articles is for those who wish to use preloaders but do not use jQuery.

function preload(images)
{
for (var i = 0; i < images.length; i++)
{
[...]