rem: day = parseInt(day, 10);  format = eval(id+'_fmt');  
add: day = parseInt(day, 10);  format = eval('atkdateattribute_'+id+'.format');  
context: function date_setValue(id, year, month, day, currentdate){       month = parseInt(month, 10); // remove leading '0'  day = parseInt(day, 10);     format = eval(id+'_fmt');    var dayel = document.getElementById(id+"[day]");  var monthel = document.getElementById(id+"[month]");  var yearel = document.getElementById(id+"[year]");      // set year  yearel.value = year;        // I need to call this to calculate the correct months and days   // after setting the year.   // TODO FIXME: I don't have the arr ('enddate') and format parameters here!!  AdjustDate(yearel, id, format, 0, 0, false);    // set month  for (i=0; i<monthel.options.length;  i++)  {    if (monthel.options[i].value==month)    {      monthel.selectedIndex = i;    }  }    // I need to call this to calculate the correct days   // after setting the month.   // TODO FIXME: !!  AdjustDate(monthel, id, format, 0, currentdate, false);    // set day  for (i=0; i<dayel.options.length;  i++)  {    if (dayel.options[i].value==day)    {      dayel.selectedIndex = i;    }  }}
meta: 7363	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7363/c4ee580b3d8cd828a8f504963605f216831a9b33/timereg.js/clean/javascript/timereg.js