rem: var logMessage = function(){} ; 
add: var logMessage; if( gDebugCalendar == true ) { var aConsoleService = Components.classes["@mozilla.org/consoleservice;1"]. getService(Components.interfaces.nsIConsoleService); logMessage = aConsoleService.logStringMessage ; } else { logMessage = function(){} ; 
context:   var logMessage = function(){} ;  
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9227b65a1bb031e8cf298cf85edd75eed18fde3b/calendar.js/buggy/calendar/resources/content/calendar.js