rem:   datepopup.dateField.value = formatDate( datepopup.value );    datepopup.dateField.editDate = datepopup.value; 
add: var ThisDate = new Date( datepicker.value); 
context: function onDatePick( datepopup ){   // display the new date in the textbox      datepopup.dateField.value = formatDate( datepopup.value );      // remember the new date in a property, "editDate".  we created on the date textbox      datepopup.dateField.editDate = datepopup.value;   checkStartAndDueDates();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ad333820dfa9808dfdff71456327a917948d218e/toDoDialog.js/clean/calendar/resources/content/toDoDialog.js