rem: changeClass('noDuration','hidden'); changeClass('endDateTime','shown'); changeClass('endDuration','hidden');  window.document.peForm.endType[0].checked = true;       window.document.peForm.durationType[0].checked = true; window.document.peForm['duration.day'].value = 1; window.document.peForm['duration.hour'].value = 0; window.document.peForm['duration.minute'].value = 0; window.document.peForm['duration.weeks'].value = 0; 
add: changeClass('durationHrMin','hidden'); 
context: function swapAllDayEvent(obj) {  if (obj.checked) {    changeClass('startTimeFields','hidden');    changeClass('endTimeFields','hidden');    changeClass('noDuration','hidden');    changeClass('endDateTime','shown');    changeClass('endDuration','hidden');    // set the end date time fields = start date time fields    window.document.peForm.endType[0].checked = true;    // window.document.peForm['eventEndDate.month'].value = window.document.peForm['eventStartDate.month'].value;    // window.document.peForm['eventEndDate.day'].value = window.document.peForm['eventStartDate.day'].value;    // window.document.peForm['eventEndDate.year'].value = window.document.peForm['eventStartDate.year'].value;    // window.document.peForm['eventEndDate.hour'].value = window.document.peForm['eventStartDate.hour'].value;    // window.document.peForm['eventEndDate.minute'].value = window.document.peForm['eventStartDate.minute'].value;    // set the duration (hidden by default on first click of all day event checkbox) to 1 day    window.document.peForm.durationType[0].checked = true;    window.document.peForm['duration.day'].value = 1;    window.document.peForm['duration.hour'].value = 0;    window.document.peForm['duration.minute'].value = 0;    window.document.peForm['duration.weeks'].value = 0;  } else {    changeClass('startTimeFields','timeFields');    changeClass('endTimeFields','timeFields');    changeClass('noDuration','shown');    changeClass('endDateTime','shown');    changeClass('endDuration','hidden');    window.document.peForm.endType[0].checked = true;  }}
meta: 4931	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4931/64fd91fdb7c9c006738322f6ab816ee706047f2d/includes.js/clean/calendar3/deployment/webadmin/webapp/resources/resources/includes.js