function _post(url,data,cb){
var xmlHttp,
isIE = false;
if(window.ActiveXObject){
// xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp = new XDomainRequest();
isIE = true;
}else{
xmlHttp = new XMLHttpRequest();
}
xmlHttp.onreadystatechange = function (){
if(xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
cb && cb(responseText);
}
}
};
xmlHttp.open("POST", url);
xmlHttp.withCredentials = true;
if(isIE){
xmlHttp.contentType = 'application/json'
}else{
xmlHttp.setRequestHeader('Content-Type','application/json');
}
xmlHttp.send(JSON.stringify(data));
}