function popBox(page,largeur,hauteur) {
	var windowCom = window.open(page,"box","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width="+largeur+",height="+hauteur);
	windowCom.focus();
	windowCom.moveTo((screen.width-largeur)/2,(screen.height-hauteur)/2);
}

function jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

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("Pas d'élément sélectionné");
	}
}

function SelecCh() {
	lg = document.form.elements['choix'].options.length;
	for (cpt = 0; cpt < lg; cpt++) {
		if(cpt == 0) ch = document.form.elements['choix'].options[cpt].value;
		else ch += '|'+document.form.elements['choix'].options[cpt].value;
	}
return ch;
}


