// JavaScript Document
//Objeto XMLHTTPREQUEST

function HTTPREQUEST(){
	var xhttp = false;
	try{
		xhttp = new ActiveXObject("Msxml2.XMLHTTP");		
	}catch(e){
		try{
			xhttp = new ActiveXObject("Microsoft.XMLHTTP");			
		}catch(E){
			xhttp = false;
		}
	}
	if(!xhttp && typeof XMLHttpRequest != 'undefined'){
		try{
			xhttp = new XMLHttpRequest();
		}catch(e){
			xhttp = false;
		}
	}
	if(!xhttp && window.createRequest){
		try{
			xhttp = window.createRequest();
		}catch(e){
			xhttp = false;
		}
	}
		return xhttp;
}