POSTの送信
function sendPost(text,to) {
httpObj = new XMLHttpRequest();
if (httpObj) {
httpObj.open("POST","send.php",true);
httpObj.setRequestHeader("content-type","application/x-www-form-urlencoded");
httpObj.send("text="+text+"&to="+to);
}
}