rem: gHtmlDocument = window._content.document ; 
add: gHtmlDocument = window.content.document ; 
context: function OnLoadPrintEngine(){  gContent = document.getElementById("content") ;  if ( window.arguments && window.arguments[0] != null ) {    HTMLViewFunction =  window.arguments[0] ;    HTMLFunctionArgs =  window.arguments[1] ;    gMyTitle = window.arguments[2] ;    gShowprivate = window.arguments[3] ;    gArgs = window.arguments[4] ;    gCalendarWindow = window.arguments[5] ;    eventSource=gArgs.eventSource;    weeksInView=gArgs.weeksInView;    prevWeeksInView=gArgs.prevWeeksInView;    startOfWeek=gArgs.startOfWeek;    gHtmlDocument = window._content.document ;    initHTMLView();    eval(HTMLViewFunction)(HTMLFunctionArgs);    finishHTMLView() ;  }  BrowserPrintPreview();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6d682441623f0b639ced05216bdb863da86fce73/calPrintEngine.js/buggy/calendar/resources/content/calPrintEngine.js