rem: var paramRowEl = document.createElement("tr"); 
add: var paramRowEl = document.createElement("tr"); 
context: function bsw_showBlockOptions(key) {    var usedEl = document.getElementById("blocksUsedList_" + key);    var blockOptionsEl = document.getElementById("bsw_BlockOptions_" + key);    blockOptionsEl.innerHTML = "";    if (usedEl.selectedIndex < 0) {	return;    }    /* Get the block and block preference we are dealing with */    var blockPref = bsw_USER_BLOCKS[key][usedEl.options[usedEl.selectedIndex].value];    var block = bsw_WIDGET_BLOCKS[key][blockPref.blockId];    /* For some reason, "block.parameters.length == 0" doesn't work here.  wtf? */    var i = 0;    for (var paramName in block.parameters) {	i++;    }    if (i == 0) {	return;    }    /* First create the table for the parameters */    var optionTableEl = document.createElement("table");    var optionTbodyEl = document.createElement("tbody");    optionTableEl.id = "bsw_ParamTable_" + key;    optionTableEl.className = "bsw_ParamTable";    var headerRowEl = document.createElement("tr");    headerRowEl.id = "bsw_ParamHeaderRow_" + key;    headerRowEl.className = "bsw_ParamHeaderRow";    var paramHeaderEl = document.createElement("td");    paramHeaderEl.appendChild(document.createTextNode(bsw_HEADER_TEXT[key]['parameter']));    var paramValueHeaderEl = document.createElement("td");    paramValueHeaderEl.appendChild(document.createTextNode(bsw_HEADER_TEXT[key]['value']));    optionTbodyEl.appendChild(headerRowEl);    headerRowEl.appendChild(paramHeaderEl);    headerRowEl.appendChild(paramValueHeaderEl);    /* Now add the parameter value rows */    callbacks = new Array();    for (var paramName in block.parameters) {        var paramRowEl = document.createElement("tr");	var paramNameEl = document.createElement("td");	paramNameEl.appendChild(document.createTextNode(block.parameters[paramName]['description']));	paramRowEl.appendChild(paramNameEl);	var paramValueEl = document.createElement("td");	var result = bsw_getValueElement(paramName, blockPref, block);	paramValueEl.appendChild(result[0]);	paramRowEl.appendChild(paramValueEl);	optionTbodyEl.appendChild(paramRowEl);	if (result[1]) {	    callbacks.push(result[1]);	}    }    optionTableEl.appendChild(optionTbodyEl);    blockOptionsEl.appendChild(optionTableEl);    /*     * If you set the state of a form widget before adding it to its outer container, IE     * drops the state.  So run callbacks at the end to set the state.     */    for (var i in callbacks) {	callbacks[i]();    }    bsw_updateVarOverrides(key, blockPref);}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/e0738fa4023f0854678dffb33b815e7158635c89/BlockSelectWidget.js/clean/gallery2/lib/javascript/BlockSelectWidget.js