// create an array of the URLs of all images that are to 
// appear in the slideshow

var pics = new Array("lightbulb3.jpg","005154_band.gif","logo.jpg","office2.gif","simplify.gif");

// create a new empty array

var preload = new Array();

// insert a new Image object into each empty element
// then assign each image URL to the Image objects  

for(var i = 0; i < pics.length; i++ )
{
  preload[ i ] = new Image();
  preload[ i ].src = pics[ i ];
}
