rem: event.currentTarget.childNodes[0].setAttribute( "checked", "true" ) 
add: event.currentTarget.childNodes[0].setAttribute( "checked", "true" ); 
context: function switchCalendar( event ){   dump( "\nRemoveCalendar in calendarManager.js: button is "+event.button );   if (event.button != 0)    {      return;   }         //document.getElementById( "calendar-list-item-"+ThisCalendarObject.serverNumber );   if( event.currentTarget.childNodes[0].getAttribute( "checked" ) != "true" )   {      gCalendarWindow.calendarManager.addCalendar( event.currentTarget.calendarObject );            event.currentTarget.childNodes[0].setAttribute( "checked", "true" )   }   else   {      gCalendarWindow.calendarManager.removeCalendar( event.currentTarget.calendarObject );            event.currentTarget.childNodes[0].removeAttribute( "checked" );   }         refreshEventTree( false );   refreshToDoTree( false );      gCalendarWindow.currentView.refreshEvents();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/777703fb0d78eb975f3bfdc7344ca5c0a4d58a7d/calendarManager.js/clean/calendar/resources/content/calendarManager.js