function cargar_municipios(id_estado){
//document.getElementById('cargador').className='visible';

var parametersPOST='';
parametersPOST += '&accion=cargar_municipios&id_estado=' + encodeURIComponent(id_estado);
	
	var url = 'procesos.php';
	
	var peticion = new Ajax.Request(url, 
	{
		method:'post',
		postBody: parametersPOST,
		onSuccess: 
			function(respuesta) {
			  //document.getElementById('buscar').value='';
			  //document.getElementById('cargador').className='oculto';
			 $('select_municipio').innerHTML=respuesta.responseText;
			}, 
		onFailure: function() { pleca('Se ha producido un error'); }
	});

	return false;
}
