
function makeAjaxRequestTEXT()
{ 	
  var ThisHttp = false;
  if (window.XMLHttpRequest) { // Mozilla, Safari,...
	 ThisHttp = new XMLHttpRequest();
	 if (ThisHttp.overrideMimeType) {
		// set type accordingly to anticipated content type
		//http.overrideMimeType('text/xml');
		ThisHttp.overrideMimeType('text/html');
	 }
  } else if (window.ActiveXObject) { // IE
	 try {
		ThisHttp = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
		try {
		   ThisHttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {}
	 }
  }
  if (!ThisHttp) {
	 alert('Cannot create XMLHTTP instance');
	 return false;
  }
  return ThisHttp;
}
function makeAjaxRequestXML()
{ 	
  var ThisXml = false;
  if (window.XMLHttpRequest) { // Mozilla, Safari,...
	 ThisXml = new XMLHttpRequest();
	 if (ThisXml.overrideMimeType) {
		// set type accordingly to anticipated content type
		ThisXml.overrideMimeType('text/xml');
		//ThisHttp.overrideMimeType('text/html');
	 }
  } else if (window.ActiveXObject) { // IE
	 try {
		ThisXml = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
		try {
		   ThisXml = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {}
	 }
  }
  if (!ThisXml) {
	 alert('Cannot create XMLHTTP instance');
	 return false;
  }
  return ThisXml;
}

var http	=	makeAjaxRequestTEXT();
var http1	=	makeAjaxRequestTEXT();

