function create_general_feedback(container,xml,type) {
	var text_title 	= document.createTextNode(xml[0].getElementsByTagName('title')[0].firstChild.nodeValue);
	var text 		= document.createTextNode(xml[0].getElementsByTagName('description')[0].firstChild.nodeValue);
	var el_h4		= document.createElement('h4');
	var el_p		= document.createElement('p');
	el_h4.appendChild(text_title);
	el_p.appendChild(text);
	container.appendChild(el_h4); // display the error text
	container.appendChild(el_p); // display the error text
	if(type.toLowerCase()=='error') addClass(container,'error');
}
function xhr_loading(el) {
	removeChildren(el);
	var loading_text 		= document.createTextNode('Loading...');
	var loading_container 	= document.createElement('p');
	loading_container.id 	= 'xhr_loading';
	loading_container.appendChild(loading_text);
	el.appendChild(loading_container);
}