function ChangeZalozka(Zalozka, CacheKey)
{
	if($('zalozky').className == 'z0' + Zalozka)
	{
		return true;
	};

	var url = '/cache/ajax.php?key=' + CacheKey;
	
	var Element = $('box-nej-1');

	new Ajax.Request(url, 
	{
		method: 'get',
		onSuccess: function(xmlhttp) {
			if(response = xmlhttp.responseText)
			{
				Element.innerHTML = '';
				Element.innerHTML += response;
				
				$('zalozky').className = 'z0' + Zalozka;
			};
		}
	});

	return false;
};

function ChangeZalozka2(Zalozka, CacheKey)
{
	var url = '/cache/ajax.php?key=' + CacheKey;
	
	var Element = $('box-nej-2');

	new Ajax.Request(url, 
	{
		method: 'get',
		onSuccess: function(xmlhttp) {
			if(response = xmlhttp.responseText)
			{
				Element.innerHTML = '';
				Element.innerHTML += response;
				
				$('zalozky2').className = 'z0' + Zalozka;
			};
		}
	});

	return false;
};

function ChangeZalozka3(Zalozka, CacheKey)
{
	var url = '/cache/ajax.php?key=' + CacheKey;
	
	var Element = $('box-nej-3');

	new Ajax.Request(url, 
	{
		method: 'get',
		onSuccess: function(xmlhttp) {
			if(response = xmlhttp.responseText)
			{
				Element.innerHTML = '';
				Element.innerHTML += response;
				
				$('zalozky3').className = 'z0' + Zalozka;
			};
		}
	});

	return false;
};