var ajax = false;

if(window.XMLHttpRequest)
{
	ajax = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
	try
	{
		ajax = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e1)
	{
		try
		{
			ajax = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(e2)
		{}
	}
}
if(!ajax)
{
	alert('Some page functionality is not unavailable.');
}


var ajax2 = false;

if(window.XMLHttpRequest)
{
	ajax2 = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
	try
	{
		ajax2 = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e1)
	{
		try
		{
			ajax2 = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(e2)
		{}
	}
}
if(!ajax2)
{
	alert('Some page functionality is not unavailable.');
}

