rem:  var name = gCalendarWindow.calendarManager.getSelectedCalendarId();   var node = gCalendarWindow.calendarManager.rdf.getNode( name );  node.setAttribute( "http:  if( node.getAttribute("http: node.setAttribute("http: 
add: var icsURL = makeURL(CalendarPublishObject.remotePath); 
context: function publishEntireCalendarDialogResponse( CalendarPublishObject ){   //update the calendar object with the publish information   var name = gCalendarWindow.calendarManager.getSelectedCalendarId();      //get the node   var node = gCalendarWindow.calendarManager.rdf.getNode( name );      node.setAttribute( "http://home.netscape.com/NC-rdf#remotePath", CalendarPublishObject.remotePath );       if( node.getAttribute("http://home.netscape.com/NC-rdf#publishAutomatically") != "true" )        node.setAttribute("http://home.netscape.com/NC-rdf#publishAutomatically", "false");   gCalendarWindow.calendarManager.rdf.flush();         calendarUploadFile(node.getAttribute( "http://home.netscape.com/NC-rdf#path" ),                       CalendarPublishObject.remotePath,                       "text/calendar");   return( false );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dc5c8682eb051e91cbfee84f9933ff32e91a2a1b/calendar.js/clean/calendar/resources/content/calendar.js