rem: calTD.appendChild(calTDtext); 
add: calTD.appendChild(cellContent); 
context: function buildCalendar(m,y,ff){	var dayNo = figureDOTW(m,1,y);	var monthNo = Calendar_get_daysofmonth(m,y);	var dayCount = 1;	var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0];	var calNav = document.getElementById('calNav');	scramKids(calTB);	for (i=0;i<6;i++){ // row loop		var calTR = document.createElement('tr');		var calTDtext;				for (j=0; j < 7; j++){ // cells in row loop			var calTD = document.createElement('td');			if (j == 0 || j == 6 )				calTD.style.backgroundColor = '#fff';			if ((i==0 && j < dayNo) || dayCount > monthNo) // if this is the first row....				calTDtext = document.createElement('br');			else  {				calTDtext = document.createTextNode(dayCount.toString());								if (dayCount == curr_dy && m == curr_mn && y == curr_yr)					calTD.style.color = '#ff6600';				dayCount++;			}			calTD.appendChild(calTDtext);			calTD.setAttribute('width','14%');			calTR.appendChild(calTD);		}		calTB.appendChild(calTR);	}		var nMonth = getNextMonth(m,y,+1);	var pMonth = getNextMonth(m,y,-1);		document.getElementById('pyNav').innerHTML = '<a href="javascript:void(0)" title="Previous Year" onclick="buildCalendar('+m+','+(y-1)+',\''+ff+'\')"><<</a>';	document.getElementById('pmNav').innerHTML = '<a href="javascript:void(0)" title="Previous Month" onclick="buildCalendar('+pMonth[0]+','+pMonth[1]+')"><</a>';	document.getElementById('myNav').innerHTML = moty[m] +' '+y;	document.getElementById('nyNav').innerHTML = '<a href="javascript:void(0)" title="Next Year" onclick="buildCalendar('+m+','+(y+1)+')">>></a>';	document.getElementById('nmNav').innerHTML = '<a href="javascript:void(0)" title="Next Month" onclick="buildCalendar('+nMonth[0]+','+nMonth[1]+')">></a>';}
meta: 2355	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2355/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/clean/tracks/public/javascripts/calendar.js