function actualizaValores(campo,dato)
	{ 
		document.getElementById(campo).value= dato;
	}

function miaccion_departamento(num,param)
{ 
	
	document.edicion_form.id_dep_C.value= document.getElementById('id_dep_' + num).value;
	document.edicion_form.siglas_C.value= document.getElementById('siglas_' + num).value;
	document.edicion_form.departamento_C.value= document.getElementById('departamento_' + num).value;

	document.edicion_form.metodo.value= param;
	
	if(param=='borrarDepartamento')
	{
		if (confirm('¿Estas seguro que deseas borrar este item?'))
		{ 
			document.edicion_form.submit() 
	    } 
	}
}