rem:   if( dayNumber == oeDatePicker.gOriginalDate.getDate() && oeDatePicker.gSelectedDate.getYear() == oeDatePicker.gOriginalDate.getYear() && oeDatePicker.gSelectedDate.getMonth() == oeDatePicker.gOriginalDate.getMonth() ) 
add:  if( dayNumber == oeDatePicker.gSelectedDate.getDate() ) 
context: oeDatePicker.redrawDays = function( ){  // Write in all the day numbers      var firstDate = new Date( oeDatePicker.gSelectedDate.getFullYear(), oeDatePicker.gSelectedDate.getMonth(), 1 );   var firstDayOfWeek = firstDate.getDay();      var lastDayOfMonth = DateUtils.getLastDayOfMonth( oeDatePicker.gSelectedDate.getFullYear(), oeDatePicker.gSelectedDate.getMonth() )         // clear the selected day item      oeDatePicker.selectDayItem( null );      // redraw each day bax in the 7 x 6 grid      var dayNumber = 1;      for( var dayIndex = 0; dayIndex < 42; ++dayIndex )   {      // get the day text box            var dayNumberItem = document.getElementById( "oe-date-picker-month-day-text-" + (dayIndex + 1) );            // if it is an unfilled day ( before first or after last ), just set its value to "",      // and don't increment the day number.            if( dayIndex < firstDayOfWeek || dayNumber > lastDayOfMonth )      {         dayNumberItem.setAttribute( "value" , "" );        }      else      {         // set the value to the day number                  dayNumberItem.setAttribute( "value" , dayNumber );                  // draw the day as selected, if the Original Day is visible                  if( dayNumber == oeDatePicker.gOriginalDate.getDate() &&             oeDatePicker.gSelectedDate.getYear() == oeDatePicker.gOriginalDate.getYear() &&              oeDatePicker.gSelectedDate.getMonth() == oeDatePicker.gOriginalDate.getMonth() )          {            var dayNumberBoxItem = document.getElementById( "oe-date-picker-month-day-" + (dayIndex + 1) + "-box"  );            oeDatePicker.selectDayItem( dayNumberBoxItem );         }            // advance the day number                  ++dayNumber;        }   }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/928b73dc9a960b6c7eaae31df46973460bfc72d8/datepicker.js/clean/calendar/resources/content/datepicker/datepicker.js