	//
	// AJINA Open Source AJAX-Framework
	//
	// http://www.ajina.org
	//
	// Copyright (c) 2005, 2006 by Andreas van Loock
	//
	// This source file is subject to version 2.0 of the GPL license,
	// that is bundled with this package in the file LICENSE, and is
	// available through the world-wide-web at the following url:
	//
	// http://www.ajina.org/lizenz/gpl_license.html
	//
	// If you did not receive a copy of the phpFormular license and are unable
	// to obtain it through the world-wide-web, please send a note to
	// info@toolpixx.com so we can mail you a copy immediately.
	//
	// Author: Andreas van Loock
	//

	// Init variables
	var xmlNodeId = 0;

	//
	// Set the actual node id
	//
	function setXmlNodeId(id) {

		try {
			xmlNodeId = id;
			return;
		} catch(e) {
			alert('setXmlNodeId' + e);
		}
	}

	//
	// Get an item of xml
	//
	function getXmlItem(item) {

		try {
			return http_response_xml.getElementsByTagName(item)[xmlNodeId].firstChild.nodeValue;
		} catch(e) {
			alert('getXmlItem' + e);
		}
	}

	//
	// Return an other item of responseXML
	//
	function getResponseOtherXmlItem(key) {

		if (key != '') {
			return http_response_xml.getElementsByTagName(key)[0].firstChild.nodeValue;
		}
	}