Stub API to Hide/Show Element

// xplat API to hide/show top-level element
function showElement
   (elementName, visible) {
var range = ""      // empty for Nav4
var styleObj = ""   // ditto
var visibleValue = "'hidden'"

if (isIE4) {  range = ".all"
              styleObj = ".style"   }
if (visible) visibleValue = "'visible'"

eval("document" + range + "." + elementName 
+ styleObj + ".visibility = " + 
visibleValue)  }

Speaker Notes