rem: var aMonth=new Array(); for(i=1;i<7;i++) aMonth[i]=new Array(i); 
add: var aMonth = new Array(); for(i = 1; i < 7; i++) { aMonth[i] = new Array(i); } 
context: function fBuildCal(iYear, iMonth) {  var aMonth=new Array();  for(i=1;i<7;i++)    aMonth[i]=new Array(i);  var dCalDate=new Date(iYear, iMonth-1, 1);  var iDayOfFirst=dCalDate.getDay();  var iDaysInMonth=new Date(iYear, iMonth, 0).getDate();  var iOffsetLast=new Date(iYear, iMonth-1, 0).getDate()-iDayOfFirst+1;  var iDate = 1;  var iNext = 1;  for (d = 0; d < 7; d++)  aMonth[1][d] = (d<iDayOfFirst)?-(iOffsetLast+d):iDate++;  for (w = 2; w < 7; w++)    for (d = 0; d < 7; d++)    aMonth[w][d] = (iDate<=iDaysInMonth)?iDate++:-(iNext++);  return aMonth;}
meta: 2970	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2970/5576796a3134f5a43475939dd72c22efe3aac108/Calendar.js/clean/framework/src/net/sf/tapestry/form/Calendar.js