function preloadImages(arrayOfImages) {
    jQuery(arrayOfImages).each(function () {
        jQuery('<img/>')[0].src = this;
    });
}
