
function CreateXmlHTTP()
{
	var objAjax = false; 


	if ( typeof ( XMLHttpRequest ) != 'undefined' )
	{
		try{
			objAjax = new XMLHttpRequest();
		}
		catch(e)
		{ 
		}
	}else
	{
		try {  
			objAjax = new ActiveXObject("Msxml2.ServerXMLHTTP.3.0");  
		} 
		catch (e) 
		{  

			try {  
				objAjax = new ActiveXObject("Msxml2.XMLHTTP");  
			} 
			catch (e) 
			{  
				try {  
					objAjax = new ActiveXObject("Microsoft.XMLHTTP");  
				} 
				catch (e) 
				{  
					/*
					try {  
						objAjax = new XMLHttpRequest();  
					} 
					catch (e) 
					{  
					} 
					*/
				} 
			} 
		}

	}

	return objAjax;

}
