function preloadI(){
		var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

function mudar(valor){
    CarregaArquivo("i_cidades.php",valor);
}

var retorno;
function CarregaArquivo(url,valor){
    retorno = null;
    if (window.XMLHttpRequest) {
        retorno = new XMLHttpRequest();
        retorno.onreadystatechange = processReqChange;
        retorno.open("GET", url+'?dados='+valor, true);
        retorno.send(null);
    } else if (window.ActiveXObject) {
        retorno = new ActiveXObject("Microsoft.XMLHTTP");
        if (retorno) {
            retorno.onreadystatechange = processReqChange;
            retorno.open("GET", url+'?dados='+valor, true);
            retorno.send();
        }
    }
}
function processReqChange(){
    if (retorno.readyState == 4) {
		if(retorno.status == 200){
			document.getElementById('mostraCombo').innerHTML = retorno.responseText;
		} else {
			alert("Erro: "+retorno.statusText);
		}
   }
}
