//--űnicode

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

function putFlash (SRC, WIDTH, HEIGHT, FLASHVARS, QUALITY, WMODE, BGCOLOR, ACCESS)
{
	while (FLASHVARS.search (' ') != -1)
	{
		FLASHVARS = FLASHVARS.replace (' ', '%20');
	}
	document.write ('<object type="application/x-shockwave-flash" data=' + SRC + ' width=' + WIDTH + ' height=' + HEIGHT + '>');
	document.write ('<!--[if IE]><param name="movie" value=' + SRC + '><![endif]-->');
	if (ACCESS)
	{
		document.write ('<param name="allowScriptAccess" value=' + ACCESS + '>');
	}
	if (FLASHVARS)
	{
		document.write ('<param name="flashvars" value=' + FLASHVARS + '>');
	}
	if (QUALITY)
	{
		document.write ('<param name="quality" value=' + QUALITY +'>');
	}
	if (WMODE)
	{
		document.write ('<param name="wmode" value=' + WMODE + '>');
	}
	if (BGCOLOR)
	{
		document.write ('<param name="bgcolor" value=' + BGCOLOR + '>');
	}
	document.write ('<\/object>');
}
