rem: document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( getWeekNumberOfMonth() )+" "+getDayOfWeek( dayNumber )+" of the month" ); 
add: document.getElementById( "advanced-repeat-dayofweek-last" ).removeAttribute( "collapsed" );  document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", "Last "+getDayOfWeek( dayNumber )+" of the month" ); } else if( weekNumber == 4 && !isLastDayOfWeekOfMonth() ) { document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+" of the month" );  document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "collapsed", "true" ); } else {  document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "collapsed", "true" );  document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", "Last "+getDayOfWeek( dayNumber )+" of the month" ); }   
context: function updateAdvancedRepeatDayOfMonth(){   //get the day number for today.   var startTime = getDateTimeFieldValue( "start-date-text" );      var dayNumber = startTime.getDate();   var dayExtension = getDayExtension( dayNumber );   document.getElementById( "advanced-repeat-dayofmonth" ).setAttribute( "label", "On the "+dayNumber+dayExtension+" of the month" );   document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( getWeekNumberOfMonth() )+" "+getDayOfWeek( dayNumber )+" of the month" );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c1b15c09c6b219e895330e2fff1bcd04cc256045/calendarEventDialog.js/buggy/calendar/resources/content/calendarEventDialog.js