try{
	var xmlhttp=new XMLHttpRequest()
}catch(e){
	try{
		var xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
	}catch(ee){
		try{
			var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
		}catch(E){
			var xmlhttp=false
		}
	}
}
function carregaCardapio(tipo) {
	var div_conteudo = document.getElementById("conteudo_cardapio");
	div_conteudo.innerHTML = "";
	var href = "/cardapio_carrega.php?tipo="+ tipo +"&rand="+ Math.random();
	xmlhttp.open("GET", href, true)
	xmlhttp.onreadystatechange = function(){
			if (xmlhttp.readyState == 4){
				div_conteudo.innerHTML = xmlhttp.responseText				
			}
		}
	div_conteudo.innerHTML = "<span>Aguarde, carregando...</span>"
	xmlhttp.send(null)
}