//Global XMLHTTP Request object
var XmlHttp;
var XmlHttp1;
var XmlHttp2;
var XmlHttp3;
var XmlHttp4;
var XmlHttp5;
//Creating and setting the instance of appropriate XMLHTTP Request object to a “XmlHttp” variable  
function CreateXmlHttp(){
	//Creating object of XMLHTTP in IE
	try{
		XmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			XmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc){
			XmlHttp = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp && typeof XMLHttpRequest != "undefined"){
		XmlHttp = new XMLHttpRequest();
	}
}
function CreateXmlHttp1(){
	//Creating object of XMLHTTP in IE
	try{
		XmlHttp1 = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			XmlHttp1 = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc){
			XmlHttp1 = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp1 && typeof XMLHttpRequest != "undefined"){
		XmlHttp1 = new XMLHttpRequest();
	}
}
function CreateXmlHttp2(){
	//Creating object of XMLHTTP in IE
	try{
		XmlHttp2 = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			XmlHttp2 = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc){
			XmlHttp2 = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp2 && typeof XMLHttpRequest != "undefined"){
		XmlHttp2 = new XMLHttpRequest();
	}
}
function CreateXmlHttp3(){
	//Creating object of XMLHTTP in IE
	try{
		XmlHttp3 = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			XmlHttp3 = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc){
			XmlHttp3 = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp3 && typeof XMLHttpRequest != "undefined"){
		XmlHttp3 = new XMLHttpRequest();
	}
}
function CreateXmlHttp4(){
	//Creating object of XMLHTTP in IE
	try{
		XmlHttp4 = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			XmlHttp4 = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc){
			XmlHttp4 = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp4 && typeof XMLHttpRequest != "undefined"){
		XmlHttp4 = new XMLHttpRequest();
	}
}
//Returns the node text value 
function GetInnerText (node){
	 return (node.textContent || node.innerText || node.text) ;
}