rem: parent.frames[1].document ); 
add: parent.frames[1].document); 
context: function PolicyClass(titleId, title, accentClass, accentColor) {    debug.print("PolicyClass: " + "titleId = " + titleId)    this.titleNode = $(titleId);    this.title = title;    this.accentClass = accentClass;    this.accentColor = accentColor;    this.getTitle = function() {        return this.title;    }    this.getAccentColor = function() {        return this.accentColor;    }    // see http://www.quirksmode.org/dom/w3c_css.html    // see http://www.quirksmode.org/dom/changess.html    this.enforce = function() {        var label = "PolicyClass.enforce: ";        debug.print(label + "titleNode = " + this.titleNode)        debug.print(label + "title = " + this.title)        if (null != this.titleNode            && null != this.title            && "" != this.title)        {            // enforce title            Element.update(this.titleNode, '');            this.titleNode.appendChild(document.createTextNode(this.title));        }        if (null != this.accentColor && "" != this.accentColor) {            // enforce accentColor, on accent class only            var frames = new Array(document,                                   parent.frames[1].document                                   );            var nodes;            debug.print(label + "frames " + frames.length);            for (var i = 0; i < frames.length; i++) {                debug.print(label + "frame " + i + " = " + frames[i]);                nodes = frames[i].getElementsByClassName(accentClass);                for (var j = 0; j < nodes.length; j++) {                    debug.print(label + "node for accent-color = "                                + nodes[j].nodeName);                    nodes[j].style.backgroundColor = this.accentColor;                }            }        }    }} // PolicyClass
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/query.js/clean/query.js