rem: this.applyStyle(content.childNodes.item(i).lastChild, name, value); 
add: var item = content.childNodes.item(i);  if (item.className == "menuDivider") { var s = item.style;  if (name == "borderColor") { s[name] = value; } else if (name == "borderWidth") { var borderSize = parseInt(value) / 2; s.borderTopWidth = Math.floor(borderSize) + "px"; s.borderRightWidth = "0px"; s.borderLeftWidth = "0px"; s.borderBottomWidth = (borderSize < 1 ? 1 : Math.floor(borderSize)) + "px"; } else if (name == "borderStyle") { s[name].borderStyle = this._getReverseBorderStyle(value); } } else { this.applyStyle(item.lastChild, name, value); } 
context:     applyStyle: function(content, name, value) {        content.style[name] = value;                for (var i = content.childNodes.length; --i >= 0;) {            this.applyStyle(content.childNodes.item(i).lastChild, name, value);        }    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/24e02545b42a490e7acd2cb4e45328f823b29e40/Menu.js/buggy/src/thinwire/render/web/resources/Menu.js