setAttribute('bgcolor', 0xdedede); // hilite: gray setAttribute('bgcolor', 0x000000); // normal: black parent.setnewcolor(this.spot.bgcolor); parent.setAttribute('bgcolor', newcolor); this.owner = refview; var newx = this.owner.getAttributeRelative('x', canvas); var newy = this.owner.getAttributeRelative('y', canvas); if (newx + width > canvas.width) { newx -= width; } this.setAttribute('x', newx - 5); this.setAttribute('y', newy - 5); this.bringToFront(); this.setAttribute('visible', true); lz.Track.activate('mymenu'); this.setAttribute('visible', false); lz.Track.deactivate('mymenu'); null parent.setnewcolor(null);