function delai(annee,mois,jour,heure,min)
   {
 var date_fin=new Date(annee,mois-1,jour,heure,min)
   var date_jour=new Date();
   var tps=(date_fin.getTime()-date_jour.getTime())/1000;
   var j=Math.floor(tps/3600/24);         // récupere le nb de jour
   tps=tps % (3600*24);
   var h=Math.floor(tps / 3600);        // recupère le nb d'heure
   tps=tps % 3600;
   var m=Math.floor(tps/60);        // récupère le nb minute
   tps=tps % 60
   var s=Math.floor(tps);
     var txt=j+" j "+h+" h "+m+" min "+s+" sec";
   return txt;
 }


