add: tr.appendChild(td5); td5.setAttribute((document.all ? 'className' : 'class'), "resourceNameAlert");  if (aList[i].fixed) { td5.appendChild(document.createTextNode("Yes")); } else { td5.appendChild(document.createTextNode("No")); } 
context:     function showRecentAlerts(originalRequest) {        var alertText = eval("(" + originalRequest.responseText + ")");        var aList = alertText.criticalAlerts;        var token = alertText.token;        var alertTable;        var alertFunc;        if (alertText.token != null) {            alertTable = document.getElementById('recentAlertsTable' + token);            alertFunc = 'requestRecentAlerts' + token + '()';        } else {            alertTable = document.getElementById('recentAlertsTable');            alertFunc = 'requestRecentAlerts()';        }        if (aList != 0) {            for (var i = alertTable.childNodes.length - 1; i > 1; i--) {                alertTable.removeChild(alertTable.childNodes[i]);            }            for (i = 0; i < aList.length; i++) {                var tr = document.createElement('tr');                var td1 = document.createElement('td');                var td2 = document.createElement('td');                var td3 = document.createElement('td');                var td4 = document.createElement('td');                var alertAnchor = document.createElement("a");                var checkBox = document.createElement("input");                var urlAmp = "&a="                var alertUrl = $('viewAlertUrl').href;                alertTable.appendChild(tr);                tr.setAttribute((document.all ? 'className' : 'class'), "ListRow");                tr.appendChild(td1);                td1.setAttribute((document.all ? 'className' : 'class'), "ListCellCheckbox");                td1.innerHTML = "<input type=checkbox name=alerts value=" + aList[i].alertId + " onclick=\"ToggleSelection(this, widgetProperties, false);\" class=listMember>";                tr.appendChild(td2);                td2.setAttribute((document.all ? 'className' : 'class'), "ListCell");                if (aList[i].cTime && aList[i].appdefKey && aList[i].alertId) {                    td2.appendChild(alertAnchor);                    alertAnchor.appendChild(document.createTextNode(aList[i].cTime));                    alertAnchor.setAttribute('href', (alertUrl + aList[i].appdefKey + urlAmp + aList[i].alertId));                }                tr.appendChild(td3);                td3.setAttribute((document.all ? 'className' : 'class'), "alertType");                if (aList[i].alertDefName) {                    td3.appendChild(document.createTextNode(aList[i].alertDefName));                }                tr.appendChild(td4);                td4.setAttribute((document.all ? 'className' : 'class'), "resourceNameAlert");                if (aList[i].resourceName) {                    td4.appendChild(document.createTextNode(aList[i].resourceName));                }            }        } else {            $('noCritAlerts').style.display = '';        }        rTimer = setTimeout(alertFunc, 60000);        //Refresh in 60 seconds    }
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/7a758b38d6b8be08a86e7f61346d9c06397c8ce7/requests.js/buggy/web/js/requests.js