function preload(arrayOfImages) {
    $(arrayOfImages).each(function () {
        $('<img/>')[0].src = this;
        // Alternatively you could use:
        // (new Image()).src = this;
    });
}

$(function() {
    $(".listingFloorPlanLink").each(function (index, element) {
        if ($(this).attr("href") == "assets/images/floorplans/") {
            $(this).hide();
        }
    });
});
