jQuery.preloadImages = function() {
	for(var i = 0; i < arguments.length; i++) {
		jQuery("<img>").attr("src", arguments[i]);
	}
}

$(document).ready(function() {
	// find all thickbox targets and preload them
	$('.thickbox').each(function(i) {
		$('<img>').attr('src', this.href);
	});
});