Stub API to Set Image Source

// xplat API to set top-level image's SRC
function setImageSource
   (elementName, imageName, newSRC) {
   var theObj

   if (isNav4) { theObj = 
       eval("document." + elementName + 
            ".document.images[\"" + 
            imageName + "\"]") }

   if (isIE4)  { theObj = 
       eval("document.all." + imageName) }

   if (theObj) { theObj.src = newSRC }
}

Speaker Notes