var xmlHttp = false;
try {
  xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e2) {
    xmlHttp = false;
  }
}
if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
  xmlHttp = new XMLHttpRequest();
}
function TRA_callServer(obj,url) {
  xmlHttp.open("post", url, true);
  xmlHttp.onreadystatechange = function (){TRA_updatePage(obj);};
  xmlHttp.send(null);  
}
function TRA_updatePage(obj) {
  if (xmlHttp.readyState < 4) {
	document.getElementById(obj).innerHTML="<span class='white'>系统获取作品中,请稍后....</span>";
  }
  if (xmlHttp.readyState == 4) {
  
    var response = xmlHttp.responseText;
		document.getElementById(obj).innerHTML=response;
  }
}
