﻿
var C4J_REQUEST_COMPLETE = 4;

function _ajx_ri() { return c4jRequestInit(); }

function c4jRequestInit()
{
    // Firefox, Opera 8.0+, Safari
	try
	{
		return new XMLHttpRequest();
	}
	catch(exception)
	{
		// Internet Explorer
		try
		{
			return new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch(exception)
		{
			try
			{
				return new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(exception)
			{
				
			}
		}
	}
	
	return null;
}
