The getElementRef() function takes two arguments: The first argument is either NS 4.0 or IE 4.0, which references the Netscape and Internet Explorer formats, respectively; and the second argument is the tag being examined. The string returned puts the specified tag in the format of the named browser. If, for example, getElementRef() is used to get the object reference to a specific AP element in Netscape terms, like var theObjNS = dreamweaver.getElementRef(???NS 4.0???, tagArr[i]); the variable, theObjNS, is set to something like document.layers[???newLayer??™]; On the other hand, the same AP element, in Internet Explorer terms, like this: var theObjIE = dreamweaver.getElementRef(???IE 4.0???, tagArr[i]); returns a string like document.all.newLayer1. Both getElementRef() and getObjectRefs() return browser-correct references for both browsers for the following tags: , ,