var xmlHttp = false;
var pid='';

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 callServer_product(xid) {
  pid = xid
  if ((pid == null) || (pid == "")) return;
  var url ="product_show_ajax.asp?pid=" + pid;
  xmlHttp.open("GET", url, true);
  xmlHttp.onreadystatechange = updatePage;
  xmlHttp.send(null); 
}
function updatePage() {
  if (xmlHttp.readyState < 4) {
    document.getElementById("UserName_explain"+pid).innerHTML="load......";
  }
  if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
    document.getElementById("UserName_explain"+pid).innerHTML=response;
  }
}
