function ajaxGetEmpresas(ord, cit, bai, seg, sub) {
	
	//alert(ord + ': -> 1')
	
	try{
	    xmlhttp = new XMLHttpRequest();
	}catch(ee){
	    try{
	        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	    }catch(e){
	        try{
	            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	        }catch(E){
	            xmlhttp = false;
	        }
	    }
	}
	
	// abrindo a url e carregando os dados com o filtro
	 xmlhttp.open("GET", "../ajax/ajax.busca.empresa.filtro.php?ord="+ord+"&cit="+cit+"&bai="+bai+"&seg="+seg+"&sub="+sub,true);

    //Executada quando o navegador obtiver o código

    xmlhttp.onreadystatechange=function() {

        if (xmlhttp.readyState==4){
			document.getElementById('empresas').innerHTML =xmlhttp.responseText
        }
    }
    xmlhttp.send(null)
}