
function DeplacerGD(l2,l1){
	if(l1.options.selectedIndex>=0&&l2.options.length<5){
		nouv_option=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		l2.options[l2.options.length]=nouv_option;
		l1.options[l1.options.selectedIndex]=null;
	}
	else{
		alert('Vous ne pouvez pas mettre plus de 5 marques principales');
	}
}
function DeplacerDG(l2,l1){
	if(l1.options.selectedIndex>=0){
		nouv_option=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		l2.options[l2.options.length]=nouv_option;
		l1.options[l1.options.selectedIndex]=null;
	}
}
function Deplacer(l1,l2){
	if(l1.options.selectedIndex>=0){
		nouv_option=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
		l2.options[l2.options.length]=nouv_option;
		l1.options[l1.options.selectedIndex]=null;
	}
}
function menuform(id_formulaire,lang){
	var obj=document.getElementById('1');
	obj.action="http://www.itdistri.com/"+lang+"/compte/"+id_formulaire+"/";
	document.getElementById("numero_formulaire").value=id_formulaire;
	if(document.getElementById("numeroform").value==4){
		NbCol1=obj.elements.marques_grossiste.length;
		for(a=0;a<NbCol1;a++){
			obj.elements.marques_grossiste.options[a].selected=true;
		}
		obj.elements.marques_grossiste.name="marques_grossiste[]";
		
		NbCol2=obj.elements.liste_pays_export.length;
		for(a=0;a<NbCol2;a++){
			obj.elements.liste_pays_export.options[a].selected=true;
		}
		obj.elements.liste_pays_export.name="liste_pays_export[]";
	}
	obj.submit();
}
