Understanding how to use image sprites

I don’t think server requests has anything to do with the question here. I believe the issue is image pre-loading. What combination of this image preload code makes the most sense?