if (cat==undefined || cat=="") return (0xC6CEDC); //default else var catColor = category_colors[cat]; setAttribute('hiColor',gColorTable[catColor].bright); setAttribute('bkgndColor',gColorTable[catColor].bkgnd); return (gColorTable[catColor].dim); // When a event is current it's selected node attribute is 'true' // This is the only way that an event becomes the current event, // which in turn selects the event selector bar this.selected = sel; if (this.selected) eventselector.setSelectedEvent( this ,this.mouseIsDown ); var dts = this.defaultTimes; for (var f in dts) { if (! this[f]) { this.setAttribute(f, dts[f]); } } 12) h-=12; else if ( h==0 ) h='12'; super.setText( h + ap ); ]]> if ( o ){ this.timeArea.setVisible( false ); this.smalltitletext.setX( 10 ); this.timekgnd.setBGColor(this.bkgndColor); } else { this.timeArea.setVisible( true ); this.smalltitletext.setX( 25 ); this.setX( 0 ); this.setHeight(22); this.parent.closedlayout.update(true); } this.setBGColor( this.hiColor ); this.setBGColor( this.normalColor ); this.mouseIsDown = true; calgrid.daySelectionMgr.select(this.classroot); eventselector.selectData( this ); this.mouseIsDown = false; eventselector.domouseup();