function ajax_init_object() {
  var A;
  try {
	A=new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) {
    try {
	A=new ActiveXObject("Microsoft.XMLHTTP");
    } catch (oc) {
	A=null;
    }
  }
  if(!A && typeof XMLHttpRequest != "undefined")
    A = new XMLHttpRequest();
  if (!A)
    window.alert("Could not initialize object!!");
  else
    return A;
}
