// JScript source code

// JavaScript Document

function Http(){
	
	try{this.xmlhttp = new XMLHttpRequest();}
	catch(trymicrosoft){
		try
		{this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");}
		catch(othermicrosoft){
			try{this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");}
			catch(failed){this.xmlhttp = null;}
		}
	}
}


function retiraAcento(texto)
{
  var aLetraComAcento = new Array("Á","Í","Ó","Ú","É","Ä","Ï","Ö","Ü","Ë","À","Ì","Ò","Ù","È","Ã","Õ","Â","Î","Ô","Û","Ê","á","í","ó","ú","é","ä","ï","ö","ü","ë","à","ì","ò","ù","è","ã","õ","â","î","ô","û","ê","Ç","ç");
  var aLetraSemAcento = new Array("A","I","O","U","E","A","I","O","U","E","A","I","O","U","E","A","O","A","I","O","U","E","a","i","o","u","e","a","i","o","u","e","a","i","o","u","e","a","o","a","i","o","u","e","C","c");
  var sResultado = texto

  for (var i = 0; i < aLetraComAcento.length; i++) {
    sResultado = sResultado.replace(aLetraComAcento[i], aLetraSemAcento[i]);
  }
  return sResultado;
}
