rem:  var s = new Array(); for (var i = 0; i < selected.options.length; i++) { s[s.length] = selected.options[i].value; } var value = s.join(','); theme.setVariable(client,selectionVariable,value,immediate); } 
context:     moveLeftButton.onclick = function() {        // loop all selected options selected-list        while(selected.selectedIndex > -1) {            var option = selected.options[selected.selectedIndex];            //add selected options to end of selected-list            unselected.options[unselected.options.length] =                 new Option(                    option.text,                    option.value                                      );            // remove from unselected-list            deleteOptionFromSelectByOptionValue(selected,option.value)        }        // fire variable change        var s = new Array();		for (var i = 0; i < selected.options.length; i++) {			s[s.length] = selected.options[i].value;		}		var value = s.join(',');		        theme.setVariable(client,selectionVariable,value,immediate);    }
meta: 2819	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2819/57b772916340bcce0fea96d041284795f2c9bde6/theme.js/buggy/WebContent/themes/default/theme.js