rem: } else if(varType == 'choice') { 
add: } else if (varType == 'choice') { 
context: function bsw_updatePrefValue(key, varType, element) {    var blockPref = element.blockPref;    var paramName = element.id;    /*     * paramName is of the form <key>_prefValue_<paramName> but we just want the <paramName> part     * so skip the first two underscores.     */    paramName = paramName.substr(paramName.indexOf('_') + 1);    paramName = paramName.substr(paramName.indexOf('_') + 1);    var paramValue;    if (varType == 'boolean') {	paramValue = element.checked;    } else if(varType == 'choice') {	paramValue = element.options[element.selectedIndex].value;    } else {	/* text */	paramValue = element.value;    }    blockPref.setParameterValue(paramName, paramValue);    bsw_updateAlbumBlockValue(key);    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