This example of a rollover uses a javascript preload feature to cache the alternate images, and the DOM to retrieve the cached images so there is no lag between image loads.