<!--

// --------------------------------------------------------------
// Image rollover
// --------------------------------------------------------------

function Rollover (strImageName, strFileName) {
	document[strImageName].src = strFileName;
	}

function RolloverCSS (strLayer, strImageName, strFileName) {
	var DOM;

	if (bIsIEPlus) {
		document[strImageName].src = strFileName;
		}
	else if (bIsNavPlus) {
		DOM = eval('document.' + strLayer);
		DOM.document[strImageName].src = strFileName;
		}
	}


// --------------------------------------------------------------
// Loads images into the browser's cache for later use
// Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
// --------------------------------------------------------------

function WM_preloadImages() {

  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}


//-->