This is a core JavaScript function for writing cross-platform dynamic HTML. It takes the ID of a positioned HTML element and returns an object reference. This version is a bit long, but it allows nested DIVs in Netscape, and global styles in Internet Explorer. It does so by looping through all the style rules in IE, and recursively searching all the nested layers in Netscape.