<!-- 

function openWin(win, w, h) {
	var le = (screen.availWidth - w) /2;
	var he = (screen.availHeight -h) /2;
	window.open(win,"ibm","height="+h+",width="+w+",status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,resizable=yes,left="+le+", top="+he,false);
}

function ValidateForm(form,fields){
 pattern = /\s*;\s*/;
 foundError = false; 
 fieldList = fields.split (pattern);
 for ( i = 0; i < fieldList.length; i++) {
  if (isBlankField(eval('form.'+fieldList[i]))) {
    alert('Le champ "'+ eval('form.'+fieldList[i]+'.alt') +'" est vide. Veuillez rectifier.');
    foundError = true;
   }
  }
  if (foundError == true)
    return false;
  else
    return true;
}

function isBlankField(theField){
  if (theField.value == "")
    return true
  else
    return false;
}

function Confirmation(){
  if (confirm("Confirmez-vous la suppression ?"))
  return true
 else
  return false;
}

-->