rem:      oeDatePicker.gSelectedDate.setDate( 1 );  
context: oeDatePicker.onpopupshowing = function( popup ){   // remember the popup item so we can close it when we are done      oeDatePicker.gPopup = popup;      // get the start date from the popup value attribute and select it      var startDate = popup.getAttribute( "value" );      oeDatePicker.gOriginalDate = new Date( startDate );   oeDatePicker.gSelectedDate = new Date( startDate );      // Avoid problems when changing months if the date is at the end of the month   // i.e. if date is 31 march and you do a setmonth to april, the month would    // actually be set to may, beacause april only has 30 days.   // This is why we keep the original date around.      oeDatePicker.gSelectedDate.setDate( 1 );          // draw the year based on the selected date      oeDatePicker.redrawYear();      // draw the month based on the selected date      var month = oeDatePicker.gSelectedDate.getMonth() + 1;   var selectedMonthBoxItem = document.getElementById( "oe-date-picker-year-month-" + month + "-box"  );      oeDatePicker.selectMonthItem( selectedMonthBoxItem );      // draw in the days for the selected date      oeDatePicker.redrawDays();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6ca368868ad2e53879e50a7827b6839bd33b59d7/datepicker.js/clean/calendar/resources/content/datepicker/datepicker.js