function validarRegistro(sForm){
	if (sForm.nombre.value == ""){
		alert("DEBE INGRESAR SU NOMBRE");
		sForm.nombre.focus();
		return false;
	};
	
	if (sForm.apellido.value == ""){
		alert("DEBE INGRESAR SU APELLIDO");
		sForm.apellido.focus();
		return false;
	};
	
	if (sForm.usuario.value == ""){
		alert("DEBE INGRESAR UN NOMBRE DE USUARIO");
		sForm.usuario.focus();
		return false;
	};
	
	if (sForm.email.value == ""){
		alert("DEBE INGRESAR SU EMAIL");
		sForm.email.focus();
		return false;
	};
	
	if (!isEmailAddress(sForm.email)) {
		alert("DEBE INGRESAR UNA DIRECCIÓN DE CORREO VÁLIDA");
		sForm.email.focus();
		return false;	
	}
	

	if (sForm.psw1.value == ""){
		alert("DEBE INGRESAR SU CONTRASEÑA");
		sForm.psw1.focus();
		return false;
	};
	
	if (sForm.psw2.value != sForm.psw1.value){
		alert("LAS CONTRASEÑAS NO COINCIDEN, POR FAVOR, REINGRESE LA MISMA");
		sForm.psw2.focus();
		return false;
	};
	
	if (sForm.documento.value == ""){
		alert("DEBE SELECCIONAR EL TIPO DE DOCUMENTO");
		sForm.documento.focus();
		return false;
	};
	
	if (sForm.nDNI.value == ""){
		alert("DEBE INGRESAR SU NÚMERO DE DOCUMENTO");
		sForm.nDNI.focus();
		return false;		
	}
	
	if (isNaN(sForm.nDNI.value)){
		alert("EL VALOR INGRESADO NO ES CORRECTO"); 	
		sForm.nDNI.focus();
		return false;
	}
	
	if (sForm.sexo.value == ""){
		alert("INGRESE SU SEXO");	
		sForm.sexo.focus();
		return false;
	};
	
	if (sForm.nacionalidad.value == ""){
		alert("DEBE INGRESAR SU NACIONALIDAD");
		sForm.nacionalidad.focus();
		return false;
	};
	
	if (sForm.dd.value == ""){
		alert("DEBE INGRESAR SU DÍA DE NACIMIENTO");
		sForm.dd.focus();
		return false;
	};
	
	if (isNaN(sForm.dd.value)){
		alert("DEBE INGRESAR SU DÍA DE NACIMIENTO");
		sForm.dd.focus();
		return false;		
	};
	
	if (sForm.mm.value == ""){
		alert("DEBE INGRESAR SU MES DE NACIMIENTO");
		sForm.mm.focus();
		return false;
	};
	
	if (isNaN(sForm.mm.value)){
		alert("DEBE INGRESAR SU MES DE NACIMIENTO");
		sForm.mm.focus();
		return false;		
	};
	
	if (sForm.aaaa.value == ""){
		alert("DEBE INGRESAR SU AÑO DE NACIMIENTO");
		sForm.aaaa.focus();
		return false;
	};
	
	if (isNaN(sForm.aaaa.value)){
		alert("DEBE INGRESAR SU AÑO DE NACIMIENTO");
		sForm.aaaa.focus();
		return false;		
	};
};
