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;
	}
        else
        {
		alert("Aucun élément n\'a été sélectionné");
	}
}

function DeplacerTout(l1,l2){
	for (i=0; i < l1.options.length ; i++){
		o=new Option(l1.options[i].text,l1.options[i].value);
        l2.options[l2.options.length]=o;
        l1.options[i]=null;
         i = i -1 ;
     }
}

function PostSelect(liste){
	// On compte le nombre d'item de la liste select
	NbCol1 = document.getElementById(liste).length;

	// On lance une boucle pour selectionner tous les items
	for (a = 0; a < NbCol1; a++){
		document.getElementById(liste).options[a].selected = true;
	}
}

