function vymena(obj, what, dataStr) {
	var i = 0, url = location.protocol + '//' + location.hostname + '/get' + what + 'Part.php', toUpdate = '';
	$each(obj, function(val, key){
		if (key == 'update') {
			toUpdate = val;
		} else {
			url = url + (i++ == 0 ? '?' : '&') + key + '=' + val;
		}
	});
	$(toUpdate).innerHTML = '<h3>... prosím vyčkejte ...</h3>';
	if (dataStr) {
		new Ajax(url, {method: 'get', update: toUpdate, data: dataStr}).request();
	} else {
		new Ajax(url, {method: 'get', update: toUpdate}).request();
	}
	
}

function posunReportaz(data) {
	vymena({update: 'body' }, 'Reportage', data);
}