// xplat API to set zIndex function setZIndex (objectName, zOrder) { var theObj if (isNav4) { theObj = eval("document." + objectName) } if (isIE4) { theObj = eval("document.all." + objectName + ".style") } if (theObj) theObj.zIndex = zOrder }