function waitForProcessFinished(form, listIds, cursorStyle, type, div, mess) {
form.style.cursor = cursorStyle;
form.disabled = true;
if (listIds != null) {
for (var i in listIds) {
var obj = document.getElementById(listIds[i]);
if (obj != null) {
obj.disabled = true;
}
}
}
var aElements = document.getElementsByTagName('a');
if (aElements != null) {
for (var i = 0; i < aElements.length; i++) {
aElements[i].style.visibility = "hidden";
}
}
var c = "";
//construct message
if(type=="info"){
c = "
"+mess+"\n";
}
else if(type=="erreur"){
c = ""+mess+"\n";
}else{
c = ""+mess+"";
}
//display
if(type!="none"){
document.getElementById(div).innerHTML = c;
}
}
function formatMatricule(matricule) {
var length1;
var length2;
do {
length1 = matricule.value;
matricule.value = matricule.value.replace(' ', '').replace('.', '');
length2 = matricule.value;
}
while (length1 != length2)
}
// Scarab: cc16949
// dummy procedure needed because the call to checkFieldFormat() is being generated (unnecessarily) by inputHtmlBean
function checkFieldFormat(field, className, property){}
function envoyerMessage(address, domain) {
locationstring = 'mai' + 'lto:' + address + '@' + domain;
window.location.replace(locationstring);
}
//-->