function CaP(mytarget, myurltocall, myparameteres) {
new Ajax.Updater(mytarget, myurltocall, {
  parameters: myparameteres
});
}


// Hide an element only if it exists
function SWPVty(eltoHide, eltoShow) {
  if($(eltoHide) != null) { 
     if($(eltoHide).visible()) {
        $(eltoHide).hide();
     }
   }
   $(eltoShow).show();
}


function showhumans(which, what) {
  if (what=='act') { 
  var strCons = 'm';
  strCons=strCons+'a'+String.fromCharCode(105, 108, 116, 111);
  strCons=strCons+':';
  strCons=strCons+String.fromCharCode(105)+'n'+'f'+String.fromCharCode(111)+'@'+String.fromCharCode(105)+'r'+String.fromCharCode(105)+'sproductions.com?subject=Demande d\' informations du site Web';
    $(which).href = strCons;
  }
  else {
    $(which).href = "javascript:;";
  }
}
