// script to allow pre-load of hover images for mouseover

/*
Preload images script
Preloading images refers to loading images into browser cache 
prior to displaying them, and is used when you wish certain 
images to be revealed instantly when called upon 
(such as in a rollover effect). 
Use this script to preload any number of images easily.

Change the paths of the images to be preloaded where necessary inside 
the call to 'onLoad = preloadimages()' after the <body> tag of each page.

Enter path of images to be preloaded inside parenthesis. 
Extend list as desired. eg:

onLoad = preloadimages("http://www.valhallacinemas.com.au/image1.gif", "http://www.valhallacinemas.com.au/image2.gif", "http://www.valhallacinemas.com.au/image3.gif")

*/

var myimages = new Array()

function preloadimages()
   {
   for (i = 0; i < preloadimages.arguments.length; i++)
      {
      myimages[i] = new Image()
      myimages[i].src = preloadimages.arguments[i]
      }
   }

// end script

