I would suggest generating those imgs dynamically. Create an array of links you want to test, loop through, make img, add .load(), watch which is first.
Made an example that just create an <li> with custom content each time an img finishes loading:
var tests = [
{url:'http://www.speedace.info/solar_cars/solar_car_images/Solar_Wing_front_Japanese_electric_powered_car.jpg', site:'first'},
{url:'http://people.mozilla.com/~faaborg/files/20061210-newCar/newCar.jpg_large.jpg', site:'second'},
{url:'http://www.badcreditukcarfinance.co.uk/images/bad_credit_car_finance.jpg',site:'third'}
];
var loaded= function () {
var site = this.data.site;
$('ul').append('<li>' + site + '</li>');
};
var img = [];
$.each(tests, function(i) {
img[i] = new Image();
var rnd = Math.floor(Math.random() * 1000);
img[i].data = tests[i];
$(img[i]).load(loaded).attr('src',tests[i].url + '?' + rnd);
});
NOTE: the rnd is used to change the src of the image to make sure it is reloaded each time and not opened from cache.
I'm sure you can modify this for your needs :)
Balázs Suhajda
frontend developer