// JavaScript Document function newImage( imgSrc ){ var imgName = new Image(); imgName.src = imgSrc; return imgName; } function change( imgName, imgLocation ) { document[imgName].src = imgLocation ; } var preloadFlag = false; function loadImages() { if (document.images) { //****Edit this list to include rollover state images **** //****Example: aboutus_over = newImage( "images/aboutus-over.gif" ); //map = newImage("images/but_small_over.jpg"); but_med_over = newImage("images/but_med_over.jpg"); but_large_over = newImage("images/but_large_over.jpg"); preloadFlag = true; } }