function ia_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// ART
					var i = 0;
					if (xmldoc.getElementsByTagName('art').item(0)) {
// iadropdown ist Name des Select-Elements: 					
						artdropdown_node = getElement('id', 'iadropdown', null);
						while (artdropdown_node.hasChildNodes()) {
							artdropdown_node.removeChild(artdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('artname').item(i)) {
							var artid_node   = xmldoc.getElementsByTagName('artid').item(i);
							var artname_node = xmldoc.getElementsByTagName('artname').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'artname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = artname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = artid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(artname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							artdropdown_node.appendChild(htmTag_option);
							i++;
						}
						artdropdown_node.style.display = "block";
						
					} else {
// iadropdown ist Name des Select-Elements: 					
						artdropdown_node = getElement('id', 'iadropdown', null);
						artdropdown_node.style.display = "none";
						while (artdropdown_node.hasChildNodes()) {
							artdropdown_node.removeChild(artdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function ip_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// Person bei Institution
					var i = 0;
					if (xmldoc.getElementsByTagName('person').item(0)) {
// ipdropdown ist Name des Select-Elements: 					
						persdropdown_node = getElement('id', 'ipdropdown', null);
						while (persdropdown_node.hasChildNodes()) {
							persdropdown_node.removeChild(persdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('persname').item(i)) {
							var persid_node   = xmldoc.getElementsByTagName('persid').item(i);
							var persname_node = xmldoc.getElementsByTagName('persname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'persname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = persname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = persid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(persname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							persdropdown_node.appendChild(htmTag_option);
							i++;
						}
						persdropdown_node.style.display = "block";
						
					} else {
// ipdropdown ist Name des Select-Elements: 					
						persdropdown_node = getElement('id', 'ipdropdown', null);
						persdropdown_node.style.display = "none";
						while (persdropdown_node.hasChildNodes()) {
							persdropdown_node.removeChild(persdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function pf_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// FUNKTION
					var i = 0;
					if (xmldoc.getElementsByTagName('funktion').item(0)) {
// pfdropdown ist Name des Select-Elements: 					
						funkdropdown_node = getElement('id', 'pfdropdown', null);
						while (funkdropdown_node.hasChildNodes()) {
							funkdropdown_node.removeChild(funkdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('funkname').item(i)) {
							var funkid_node   = xmldoc.getElementsByTagName('funkid').item(i);
							var funkname_node = xmldoc.getElementsByTagName('funkname').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'funkname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = funkname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = funkid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(funkname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							funkdropdown_node.appendChild(htmTag_option);
							i++;
						}
						funkdropdown_node.style.display = "block";
						
					} else {
// pfdropdown ist Name des Select-Elements: 					
						funkdropdown_node = getElement('id', 'pfdropdown', null);
						funkdropdown_node.style.display = "none";
						while (funkdropdown_node.hasChildNodes()) {
							funkdropdown_node.removeChild(funkdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function pi_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// INSTITUTION
					var i = 0;
					if (xmldoc.getElementsByTagName('institution').item(0)) {
// pidropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'pidropdown', null);
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('instname').item(i)) {
							var instid_node   = xmldoc.getElementsByTagName('instid').item(i);
							var instname_node = xmldoc.getElementsByTagName('instname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'instname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = instname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = instid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(instname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							instdropdown_node.appendChild(htmTag_option);
							i++;
						}
						instdropdown_node.style.display = "block";
						
					} else {
// pidropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'pidropdown', null);
						instdropdown_node.style.display = "none";
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function uk_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// INSTITUTION
					var i = 0;
					if (xmldoc.getElementsByTagName('institution').item(0)) {
// ukdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'ukdropdown', null);
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('instname').item(i)) {
							var instid_node   = xmldoc.getElementsByTagName('instid').item(i);
							var instname_node = xmldoc.getElementsByTagName('instname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'instname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = instname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = instid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(instname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							instdropdown_node.appendChild(htmTag_option);
							i++;
						}
						instdropdown_node.style.display = "block";
						
					} else {
// ukdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'ukdropdown', null);
						instdropdown_node.style.display = "none";
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function us_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// INSTITUTION
					var i = 0;
					if (xmldoc.getElementsByTagName('institution').item(0)) {
// usdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'usdropdown', null);
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('instname').item(i)) {
							var instid_node   = xmldoc.getElementsByTagName('instid').item(i);
							var instname_node = xmldoc.getElementsByTagName('instname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'instname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = instname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = instid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(instname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							instdropdown_node.appendChild(htmTag_option);
							i++;
						}
						instdropdown_node.style.display = "block";
						
					} else {
// usdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'usdropdown', null);
						instdropdown_node.style.display = "none";
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function unk_makeHttpRequest(url, callback_function, return_xml, id)
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// INSTITUTION
					var i = 0;
					if (xmldoc.getElementsByTagName('institution').item(0)) {
// unkdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'unkdropdown', null);
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('instname').item(i)) {
							var instid_node   = xmldoc.getElementsByTagName('instid').item(i);
							var instname_node = xmldoc.getElementsByTagName('instname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'instname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = instname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = instid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(instname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							instdropdown_node.appendChild(htmTag_option);
							i++;
						}
						instdropdown_node.style.display = "block";
						
					} else {
// unkdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'unkdropdown', null);
						instdropdown_node.style.display = "none";
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

function uns_makeHttpRequest(url, callback_function, return_xml, id) 
{
	var http_request = false;
	if (window.XMLHttpRequest) {
		// Mozilla, Safari,...
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		// IE
		try {
			http_request = new ActiveXObject('Msxml2.XMLHTTP');
		} catch (e) {
			try {
				http_request = new ActiveXObject('Microsoft.XMLHTTP');
			} catch (e) {
			}
		}
	}
	if (!http_request) {
		alert("Unfortunatelly your browser doesn't support this feature.");
		return false;
	}
	
	http_request.onreadystatechange = function()
	{
		if (http_request.readyState == 4) {
			if (http_request.status == 200) {
				if (return_xml) {
					var xmldoc = http_request.responseXML;
					// INSTITUTION
					var i = 0;
					if (xmldoc.getElementsByTagName('institution').item(0)) {
// unsdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'unsdropdown', null);
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
						while (xmldoc.getElementsByTagName('instname').item(i)) {
							var instid_node   = xmldoc.getElementsByTagName('instid').item(i);
							var instname_node = xmldoc.getElementsByTagName('instname').item(i);
							var editable_node = xmldoc.getElementsByTagName('editable').item(i);
							var htmTag_option = document.createElement('option');
							var htmAttr_id = document.createAttribute('id');
							htmAttr_id.nodeValue = 'instname';
							htmTag_option.setAttributeNode(htmAttr_id);
							var htmAttr_title = document.createAttribute('title');
							htmAttr_title.nodeValue = instname_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_title);
							var htmAttr_class = document.createAttribute('class');
							if (editable_node.firstChild.data == 'y') {
								htmAttr_class.nodeValue = 'editable';
							} else {
								htmAttr_class.nodeValue = 'uneditable';
							}
							htmTag_option.setAttributeNode(htmAttr_class);
							var htmAttr_value = document.createAttribute('value');
							htmAttr_value.nodeValue = instid_node.firstChild.data;
							htmTag_option.setAttributeNode(htmAttr_value);
							var htmInh_option = document.createTextNode(instname_node.firstChild.data);
							htmTag_option.appendChild(htmInh_option);
							instdropdown_node.appendChild(htmTag_option);
							i++;
						}
						instdropdown_node.style.display = "block";
						
					} else {
// unsdropdown ist Name des Select-Elements: 					
						instdropdown_node = getElement('id', 'unsdropdown', null);
						instdropdown_node.style.display = "none";
						while (instdropdown_node.hasChildNodes()) {
							instdropdown_node.removeChild(instdropdown_node.firstChild);
						}
					}
				} else {
					eval(callback_function + '(http_request.responseText, id)');
				}
			} else {
				/* alert('There was a problem with the request.(Code: ' + http_request.status + ')') ; */
			}
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}

