function request(filename)
{
	var obj = get_http_obj();
	if(obj)
	{
		obj.open("GET",filename,true);
		obj.onreadystatechange = function()
		{
			if( obj.readyState== 4 && obj.responseText )
			{
				return true;
			}
		};
		obj.send(null);
		return true;
	}
	else
	{
		return false;
	}
}

function get_http_obj()
{
	var obj = null;
	try
	{
		obj = new ActiveXObject( "Msxml2.XMLHTTP" );
	}
	catch(err)
	{
		try
		{
			obj = new ActiveXObject( "Microsoft.XMLHTTP" );
		}
		catch(err)
		{
			obj = null;
		}
	}
	if( !obj && typeof XMLHttpRequest != "undefined" )
	{
		obj = new XMLHttpRequest();
	}
	return obj;
}
