function validarDatosAfiliado(forma){
	var mensaje = "";
	var flag = true;
	
	if (forma.cmbTipoIdentificacion.value == ''){
		mensaje += "- Por favor seleccione el tipo de identificacion.\n";
	}
	
	if (forma.txtNumeroIdentificacion.value == ''){
		mensaje += "- Por favor ingrese el numero de identificacion.\n";
	}
	
	if (forma.txt.value == ''){
		mensaje += "- Por favor ingrese su contraseņa.\n";
	}	
		
	if (mensaje != ""){
		alert("Se han presentado los siguentes problemas: \n\n" + mensaje);		
	}
	else{
		forma.btnEnviar.value = 'Validando...';
		forma.btnEnviar.disabled = true;		
		forma.accion.value = 'validarAfiliadoOutOfCiklos';
		forma.submit();
	}	
}


