  function popWindows()
  {
   window.open("pensee.php", "", "width=700, height=400, left=100, top=100, resizable=1, menubar=yes")
  }
  
  function popWindows2()
  {
   window.open("homelie.php", "", "width=600, height=500, left=100, top=100, resizable=1, scrollbars=1, menubar=yes, toolbar=yes")
  }

  function popAgendaDesc(table, id)
  {
   window.open("agenda_desc.php?table="+table+"&id="+id, "", "width=400, height=500, left=100, top=100, resizable=1, scrollbars=1,  menubar=yes")
  }

  function DoSubmit ()
  {
/*
    This javascript will check if the important fields have been filled in.
    The control is pretty basic (if the user types " " it will see it as full,
    but it is enough to alert a person who forgot to fill out a form, without
    him / her having to wait until the form refreshes (good for slow modems).

    The return ""; command will exit the function, so that the form is only
    submitted when it is valid.
*/


    if (document.form.commentaire.value == "") {
      alert ("Vous n'avez pas entré de commentaire.");
      document.form.commentaire.focus ();
      return "";
    }

    if (document.form.nom.value == "") {
      alert ("Vous n'avez pas entré votre nom.");
      document.form.nom.focus ();
      return "";
    }

    document.form.submit ();
  }