rem: sHTMLHeader = 
add: const sHTMLHeader = 
context: function eventArrayToHTML( calendarEventArray ){   sHTMLHeader =       "<html>\n" + "<head>\n" + "<title>Mozilla Calendar</title>\n" +      "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n" +      "</head>\n"+ "<body bgcolor=\"#FFFFFF\" text=\"#000000\">\n";   sHTMLFooter =      "\n</body>\n</html>\n";   var sHTMLText = sHTMLHeader;   for( var eventArrayIndex = 0;  eventArrayIndex < calendarEventArray.length; ++eventArrayIndex )   {      var calendarEvent = calendarEventArray[ eventArrayIndex ];      sHTMLText += "<p>";      sHTMLText += "<B>Summary: </B>\t" + calendarEvent.title + "<BR>\n";      sHTMLText += "<B>Description: </B>\t" + calendarEvent.description + "<BR>\n";      sHTMLText += "<B>When: </B>" + formatDateTimeInterval(calendarEvent.start, calendarEvent.end) + "<BR>\n";      sHTMLText += "<B>Where: </B>" + calendarEvent.location + "<BR>\n";      // sHTMLText += "<B>Organiser: </B>\t" + Event.???      sHTMLText += "</p>";   }   sHTMLText += sHTMLFooter;   return sHTMLText;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/3a988e91da0018285403052b99c8aa46f194e3e5/importExport.js/clean/calendar/resources/content/importExport.js