var xmlHttp = false;

if (typeof(XMLHttpRequest) != 'undefined') {
	xmlHttp = new XMLHttpRequest();
}

if (!xmlHttp) {
	// Internet Explorer 6 und ?er
	try {
		xmlHttp  = new ActiveXObject("Msxml2.XMLHTTP");
	} catch(e) {
		try {
			xmlHttp  = new ActiveXObject("Microsoft.XMLHTTP");
		} catch(e) {
			xmlHttp  = false;
		}
	}
}


function getUniversal(aRelPathFiles, aElementByID, aMod, aDo, aDiverses)
{
	xmlHttp.open('GET', '/' + aRelPathFiles + '/ajax.php?mod=' + aMod + '&do=' + aDo + '&' + aDiverses, true);
	xmlHttp.onreadystatechange = function () {
		if (xmlHttp.readyState == 4) {
			document.getElementById(aElementByID).innerHTML = xmlHttp.responseText;
		}
	};
	xmlHttp.send(null);
}