//--űnicode

function ajaxFunction(p_file, p_element)
{
	var xmlHttp;
	try
	{
		xmlHttp = new XMLHttpRequest();
	}
	catch(e)
	{
		try
		{
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch(e)
		{
			try
			{
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e)
			{
				document.getElementById(p_element).innerHTML = "Your browser does not support AJAX!";
				return false;
			}
		}
	}
	xmlHttp.onreadystatechange = function()
	{
		if(xmlHttp.readyState == 4)
		{
			document.getElementById(p_element).innerHTML = xmlHttp.responseText;
		}
	}
	xmlHttp.open("GET", p_file, true);
	xmlHttp.send(null);
}
