
function deplacer(l1,l2) {
	if (l1.options.selectedIndex>=0) {
		o=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		l2.options[l2.options.length]=o;
		l1.options[l1.options.selectedIndex]=null;
	}
}

function copySelectOption(l1,l2) {
	if (l1.options.selectedIndex>=0) {
		o=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		l2.options[l2.options.length]=o;
		//l1.options[l1.options.selectedIndex]=null;
	}
}

function delSelectOption(l1) {
	if (l1.options.selectedIndex>=0) {
		//o=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		//l2.options[l2.options.length]=o;
		l1.options[l1.options.selectedIndex]=null;
	}
}

function selectAll(l){
	for(i=0;i<l.length;i++){
    	l.options[i].selected = true;
  	}
}
