function loadData(zrodlo,metoda,cel) {
	var obj = false,response='';
	if (window.XMLHttpRequest) {
		obj = new XMLHttpRequest(); 
	} else if (window.ActiveXObject) {
		obj = new ActiveXObject("Microsoft.XMLHTTP");
	} else {
		alert('Your browser doesn\'t support AJAX');
		return 0;
	}
	if(obj) {
		obj.open(metoda,zrodlo,true);
		obj.onreadystatechange = function() {
			if (obj.readyState == (1 || 0)) cel.innerHTML = 'Loading...'; 
			if (obj.readyState == 4) {
				if (obj.status == 200) {
					cel.innerHTML = obj.responseText;
				} else {
					cel.innerHTML = 'Error: #101';
				}
			}
		}
		obj.send(null);
	}
}

