	//William Oetting
	//8/4/2001
	//swap.js

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
	Swaps the images

    Usage: WM_imageSwap(originalImage, 'newSourceUrl');
  */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}