add: }       var oldDate = oeDatePicker.gSelectedDate.getDate(); var yearNumber = oeDatePicker.gSelectedDate.getFullYear();  var lastDayOfMonth = DateUtils.getLastDayOfMonth( yearNumber, newMonthNumber-1 );  if ( oldDate > lastDayOfMonth ) { oeDatePicker.gSelectedDate.setDate(lastDayOfMonth); 
context: oeDatePicker.clickMonth = function( newMonthItem, newMonthNumber ){   // already selected, return      if( oeDatePicker.gSelectedMonthItem  == newMonthItem )   {      return;   }      // update the selected date      oeDatePicker.gSelectedDate.setMonth( newMonthNumber - 1 );      // select Month      oeDatePicker.selectMonthItem( newMonthItem );    // redraw days      oeDatePicker.redrawDays();   oeDatePicker.selectDate();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f3964ae71d6f943fb9284bf38d29d33dfe214f65/datepicker.js/clean/calendar/resources/content/datepicker/datepicker.js