super.setHilite(ishilited); if (this._initcomplete) _applystyle(); super.setSelected(isSelected); if (this._initcomplete) _applystyle(); if (selected) { this.hilite.setAttribute("visible", true); this.hilite.setResourceNumber(2); this.setTint(this.hilite, this.style.selectedcolor); } else if ( hilited ) { this.hilite.setAttribute("visible", true); this.hilite.setResourceNumber(1); this.setTint(this.hilite, this.style.hilitecolor); } else { this.hilite.setAttribute("visible", false); } classroot.toggle() if (parent['onclick']) parent.onclick.sendEvent(); this.showState(1); if (parent['onmouseout']) parent.onmouseout.sendEvent(); this.showState(1); if (parent['onmouseup']) parent.onmouseup.sendEvent(); this.showState(2); if (parent['onmouseover']) parent.onmouseover.sendEvent(); this.showState(3); if (parent['onmousedown']) parent.onmousedown.sendEvent(); this.showState(this.frnum); parent.width - this.rgt.width) ? leftframe : baseframe; } this.setAttribute('frnum', baseframe); this.lft.setAttribute('frame', leftframe); this.mid.setAttribute('frame', baseframe); this.rgt.setAttribute('frame', rightframe); ]]> if (s != null) { this.setTint(this.bkgnd.lft, s.basecolor); this.setTint(this.bkgnd.mid, s.basecolor); this.setTint(this.bkgnd.rgt, s.basecolor); }