Accessing images & creating image rollovers

All images in a web page are accessible through "image object" in JavaScript. The image object is created for you whenever you insert images onto your webpage. It does so automatically, even if there's not one line of JavaScript code on your page, as opposed to the Date object, for example. In this tutorial, we will look at how to access images in JavaScript, and also, how to create the popular rollover image effect using JavaScript.