function validate(form){
    if (trim(form['mtext[Fio]'].value)==""){
      alert('Введите ФИО');
      return false;
    }
    if (trim(form['mtext[Organization]'].value)==""){
      alert('Введите Организацию');
      return false;
    }
    if (trim(form['mtext[e-mail]'].value)==""){
      alert('Введите адрес эл.почты');
      return false;
    }
    return true;
}
function trim(s){return s.replace(/(^\s+)|(\s+$)/g,"");}

