//模拟form表提交
function post(URL, PARAMS) {
var temp = document.createElement("form");
temp.action = URL;
temp.method = "post";
temp.style.display = "none";
var opt = document.createElement("textarea");
opt.name = "data";
opt.value = PARAMS;
temp.appendChild(opt);
document.body.appendChild(temp);
temp.submit();
return temp;
}