try{
xmlhttp = new XMLHttpRequest();
}
catch(ee){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E){
xmlhttp = false;
}
}
}

function mandaUF(str, urlList, idChange)	{
	
if (navigator.userAgent.indexOf("Firefox") != -1) { // se Firefox
xmlHttp=GetXmlHttpObject_uf();
}
else if (navigator.userAgent.indexOf("MSIE") != -1) { // se Explorer
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else {
xmlHttp=GetXmlHttpObject_uf();
}

var url=urlList
url=url+"?cduf="+str
xmlHttp.open("GET",url)
xmlHttp.onreadystatechange=stateChanged_uf
xmlHttp.send(null)

function stateChanged_uf(){
	if(xmlHttp.readyState==4){
	document.getElementById(idChange).innerHTML=xmlHttp.responseText
	}
}

}

function GetXmlHttpObject_uf() {
var objXMLHttp=null;
		if (window.XMLHttpRequest)
		{
		objXMLHttp=new XMLHttpRequest()
		}
		else if (window.ActiveXObject)
		{
		objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
		}
		return objXMLHttp
		}

