function getRequest(source, page, dir)
{            
	$.ajax
	(
		{
			type : "GET",
			url : "http://" + dir + "/ajax.php?" + page,
			datatype : "html",
			success : function (txt)
			{
				$(source).html(txt);
			},
			error : function (oXHR)
			{
				$(source).html("Nastala chyba při komunikaci se serverem. Zkuste to prosím za chvíli.");
				return false;
			}            
		}
	);
	return true;
}
