rem: var SelectedText = sel_source.options[sel_source.selectedIndex].text; var SelectedValue = sel_source.options[sel_source.selectedIndex].value; var newOption = new Option( SelectedText ); newOption.value = SelectedValue; sel_dest.options.add( newOption ); sel_dest.selectedIndex = sel_dest.options.length - 1;  sel_source.options[sel_source.selectedIndex] = null; sel_source.selectedIndex = 0; 
add: for ( var i=0; i<sel_source.options.length; i++ ) { if ( sel_source.options[i].selected ) { var selectedItem = sel_source.options[i]; sel_dest.options.add( new Option( selectedItem.text, selectedItem.value ) ); sel_source.remove( i ); i = i - 1; } }  sel_source.selectedIndex = 0; 
context: 	moveSingleItem : function( sel_source, sel_dest )	{		if ( sel_source.selectedIndex == -1 )		{			return;		}		     	var SelectedText = sel_source.options[sel_source.selectedIndex].text;     	var SelectedValue = sel_source.options[sel_source.selectedIndex].value;   		var newOption = new Option( SelectedText );		newOption.value = SelectedValue;   		sel_dest.options.add( newOption );		sel_dest.selectedIndex = sel_dest.options.length - 1;   		   		sel_source.options[sel_source.selectedIndex] = null;   		sel_source.selectedIndex = 0;	},
meta: 855	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/855/34e527b1a9f2f7765e9daca2d4e707a4f74b4a6d/BirtSimpleExportDataDialog.js/clean/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/dialog/BirtSimpleExportDataDialog.js