rem: targetSelect.options[index] = new Option(sourceOption.text, sourceOption.value); targetSelect.options[index].className = sourceOption.className; 
add: targetSelect.options[targetIndex] = new Option(sourceOption.text, sourceOption.value); targetSelect.options[targetIndex].className = sourceOption.className; 
context: function setupFolderOptions(sourceSelect, targetSelect, selectedOptionValue, excludedOptionValue) {    targetSelect.length = 0;    for (var index = 0; index < sourceSelect.options.length; index++) {        var sourceOption = sourceSelect.options[index];        if (typeof excludedOptionValue == "undefined" || excludedOptionValue == "" || sourceOption.value.indexOf(excludedOptionValue) != 0) {            targetSelect.options[index] = new Option(sourceOption.text, sourceOption.value);            targetSelect.options[index].className = sourceOption.className;            if (!(typeof selectedOptionValue == "undefined") && targetSelect.options[index].value == selectedOptionValue) {                targetSelect.options[index].selected = true;            }        }    }}
meta: 6797	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6797/4d1185d0ef4f75946248bbc63c1ab11a6e13b134/bookmarks.js/buggy/webapp/script/bookmarks.js