rem: window.document.addEventForm[fieldName].value = val; 
add: window.document.eventForm[fieldName].value = val; 
context: function bwClockUpdateDateTimeForm(type,val) {  if (bwClockRequestedType) {    try {      if (type == 'minute') {        var fieldName = bwClockRequestedType + ".minute"        window.document.addEventForm[fieldName].value = val;        bwClockMinute = val;      } else {        var fieldName = bwClockRequestedType + ".hour"        window.document.addEventForm[fieldName].value = val;        bwClockHour = val;      }      if (bwClockHour && bwClockMinute) {        document.getElementById("bwClockTime").innerHTML = bwClockHour + ":" + bwClockMinute + " , " + bwClockConvertAmPm(bwClockHour) + ":" + bwClockMinute + " " + bwClockGetAmPm(bwClockHour);      } else if (bwClockMinute) {        document.getElementById("bwClockTime").innerHTML = ":" + bwClockMinute;      } else {        document.getElementById("bwClockTime").innerHTML = bwClockHour + " , " + bwClockConvertAmPm(bwClockHour) + " " + bwClockGetAmPm(bwClockHour);      }    } catch(e) {      alert("There was an error:\n" + e );    }  } else {    alert("The date type is null.");  }}
meta: 4931	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4931/a6c6359a0b62fea0ed43a087b80856bd1fdf7ecb/bwClock.js/buggy/calendar3/deployment/webuser/webapp/resources/demoskins/resources/bwClock.js