	function XmlList(request)
	{
		var xmlDoc = request.responseXML;
		var xmlRoot = (xmlDoc == null) ? null : xmlDoc.getElementsByTagName('Liste').item(0);
		var	xmlList = (xmlRoot == null) ? ((xmlDoc == null) ? null : xmlDoc.getElementsByTagName('Element')) : xmlRoot.getElementsByTagName('Element');
		return xmlList;
	}
	function getNodeText(xmlNode)  
	{  
		if (!xmlNode) return '';  
		if (typeof(xmlNode.textContent) != "undefined") return xmlNode.textContent;  
		return xmlNode.firstChild.nodeValue;  
	}  
	function XmlStrField(xml,fieldName,index)
	{
		var elements = xml.getElementsByTagName(fieldName);
		if (elements == null) return '';
		if (elements.item(index) == null) return '';
		if (elements.item(index).firstChild == null) return '';
		return getNodeText(elements.item(index));
	}
	function XmlNumField(xml,fieldName,index)
	{
		var elements = xml.getElementsByTagName(fieldName);
		if (elements == null) return 0;
		if (elements.item(index) == null) return 0;
		if (elements.item(index).firstChild == null) return 0;
		return Math.floor(getNodeText(elements.item(index)));
	}
	function AjaxFailed(request)
	{
		alert('Error ' + request.status + ' : ' + request.statusText);
	}
	function ResetChilds(parentnode)
	{
		var child = (parentnode == null) ? null : parentnode.childNodes;
		if (parentnode != null) while (parentnode.hasChildNodes()) parentnode.removeChild(child.item(0));
	}

