function XMLUtil(){
	this.getNodeValue = function (el,name){
		if (el.getElementsByTagName(name)[0].firstChild == null) return '';
		else return el.getElementsByTagName(name)[0].firstChild.nodeValue;
	}
	this.setInner = function(el,value){
		if (document.getElementById(el)) document.getElementById(el).innerHTML = value;
	}
	this.setValue = function (el,value){
		if (document.getElementById(el)) document.getElementById(el).value = value;
	}
	this.getNode = function(el,name){
		return el.getElementsByTagName(name)[0];
	}
	this.getNodes = function(el,name){
		return el.getElementsByTagName(name);
	}
}
