function sendmail(from,replyto,to,cc,subject,mailbody,bodyishtml) {
  var s = '';
  var xmlHttp_sendmail=GetXmlHttpObject();
  if (xmlHttp_sendmail==null) {
    alert ("Browser does not support HTTP Request");
    return s;
  }
  var url=currentdomain+"/acco/acco_sendmail.php";
var data="from="+encodeURIComponent(from);
  data+="&replyto="+encodeURIComponent(replyto);
  data+="&to="+encodeURIComponent(to);
//  data+="&bcc="+encodeURIComponent(bcc);
  data+="&cc="+encodeURIComponent(cc);
  data+="&subject="+encodeURIComponent(subject);
  data+="&body="+encodeURIComponent(mailbody);
  data+="&bodyishtml="+bodyishtml; //0=nee; 1=ja
  data+="&seed="+Math.random();
//getid("txt").innerHTML+="<br>sendmail{"+url+"} {"+data+"}";
  xmlHttp_sendmail.open("POST",url,false);
  xmlHttp_sendmail.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
  xmlHttp_sendmail.send(data);
  if (xmlHttp_sendmail.status==200) {
    s=xmlHttp_sendmail.responseText;
//getid("txt").innerHTML+='<br>|'+s;
  }
  return s;
}


