imagesToPreload = new Array("webimages/hovertab.gif");

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function preloadImages() {
	for (i=0; i<imagesToPreload.length; i++)
		newImage(imagesToPreload[i]);
}

// Directly inlined into HTML
function changeBGPic(obj, pic) {
	obj.style.backgroundImage='url('+pic+')';
	return false;
}

preloadImages();