if (document.images) {
img1 = new Image();
img1.src = "images/make-a-donation-a.png";
img2 = new Image();
img2.src = "images/event-link-a.png";
}
