function Validator(frmContact)
	{
		var s = "no"; 
		with (document.frmContact){ 
			for ( var i = 0; i < a_tipo_licencia.length; i++ ) { 
				if ( a_tipo_licencia[i].checked ) { s= "si"; } 
			} 
			if ( s == "no" ){ 
				window.alert("El campo 'Tipo de Licencia' es obligatorio");
				document.frmContact.a_tipo_licencia[0].focus();
				return (false);
			} 
		}
		if (frmContact.b_club.value == ""){
			alert("El campo 'Club en el que juega' es obligatorio");
			frmContact.b_club.focus();
			return (false);
			}
		if (frmContact.c_nombre.value == ""){
			alert("El campo 'Nombre' es obligatorio");
			frmContact.c_nombre.focus();
			return (false);
			}
		if (frmContact.d_apellido1.value == ""){
			alert("El campo '1º Apellido' es obligatorio");
			frmContact.d_apellido1.focus();
			return (false);
			}
		if (frmContact.e_apellido2.value == ""){
			alert("El campo '2º Apellido' es obligatorio");
			frmContact.e_apellido2.focus();
			return (false);
			}
		if (frmContact.fecha_dia.value == "" || frmContact.fecha_mes.value == "" || frmContact.fecha_aaaa.value == ""){
			alert("El campo 'Fecha de nacimiento' es obligatorio");
			frmContact.fecha_dia.focus();
			return (false);
			}		
		var s = "no"; 
		with (document.frmContact){ 
			for ( var i = 0; i < g_genero.length; i++ ) { 
				if ( g_genero[i].checked ) { s= "si"; } 
			} 
			if ( s == "no" ){ 
				window.alert("Indica si eres Másculino o Femenino");
				document.frmContact.g_genero[0].focus();
				return (false);
			} 
		}
		if (frmContact.h_nif.value == ""){
			alert("El campo 'NIF' es obligatorio");
			frmContact.h_nif.focus();
			return (false);
			}
		if (frmContact.i_nacionalidad.value == ""){
			alert("El campo 'Nacionalidad' es obligatorio");
			frmContact.i_nacionalidad.focus();
			return (false);
			}
		if (frmContact.j_domicilio.value == ""){
			alert("El campo 'Domicilio' es obligatorio");
			frmContact.j_domicilio.focus();
			return (false);
			}
		if (frmContact.k_ciudad.value == ""){
			alert("El campo 'Ciudad' es obligatorio");
			frmContact.k_ciudad.focus();
			return (false);
			}
		if (frmContact.l_cp.value == ""){
			alert("El campo 'Código Postal' es obligatorio");
			frmContact.l_cp.focus();
			return (false);
			}
		if (frmContact.m_provincia.value == ""){
			alert("El campo 'Provincia' es obligatorio");
			frmContact.m_provincia.focus();
			return (false);
			}
		if (frmContact.n_telefono.value == ""){
			alert("El campo 'Teléfono de contacto' es obligatorio");
			frmContact.n_telefono.focus();
			return (false);
			}
			
		if (! isValidEmail(document.forms[0].o_email.value)){
			alert("Escriba el 'Email' correctamente");
			frmContact.o_email.focus();
			return false;
			}		
		
		var s = "no"; 
		with (document.frmContact){ 
			for ( var i = 0; i < p_pago.length; i++ ) { 
				if ( p_pago[i].checked ) { 
					s= "si";
					
					if (frmContact.p_pago[i].value == "Domiciliacion"){
						if (frmContact.q_ccc.value == ""){
							alert("El campo 'Nº de cuenta' es obligatorio");
							frmContact.q_ccc.focus();
							return (false);
							}
						if (frmContact.r_nombre_cuenta.value == ""){
							alert("El campo 'Nombre del titular' es obligatorio");
							frmContact.r_nombre_cuenta.focus();
							return (false);
							}
					}				
				
				} 
			} 
			if ( s == "no" ){ 
				window.alert("Debes elegir una 'Forma de pago'");
				document.frmContact.p_pago[0].focus();
				return (false);
			} 
		}
		
		
		
	return (true);
	}
	
function Validator_doc(frmContact)
	{
		if (frmContact.a_categoria.value == ""){
			alert("El campo 'Categoría' es obligatorio");
			frmContact.a_categoria.focus();
			return (false);
			}
		
		var s = "no"; 
		with (document.frmContact){ 
			for ( var i = 0; i < b_modalidad.length; i++ ) { 
				if ( b_modalidad[i].checked ) { s= "si"; } 
			} 
			if ( s == "no" ){ 
				window.alert("Indica la modalidad Másculina o Femenina");
				document.frmContact.b_modalidad[0].focus();
				return (false);
			} 
		}
		
		if (frmContact.fecha_dia.value == "" || frmContact.fecha_mes.value == "" || frmContact.fecha_aaaa.value == ""){
			alert("El campo 'Fecha' es obligatorio");
			frmContact.fecha_dia.focus();
			return (false);
			}
			
		if (frmContact.c_club.value == ""){
			alert("El campo 'Club donde se juega' es obligatorio");
			frmContact.c_club.focus();
			return (false);
			}
			
		if (frmContact.d_equipo.value == ""){
			alert("El campo 'Equipo' es obligatorio");
			frmContact.d_equipo.focus();
			return (false);
			}
		if (frmContact.e_equipo.value == ""){
			alert("El campo 'Equipo' es obligatorio");
			frmContact.e_equipo.focus();
			return (false);
			}
			
		if (frmContact.i_equipo_a.value == ""){
			alert("Faltan datos en 'Resultado Global'");
			frmContact.i_equipo_a.focus();
			return (false);
			}
		if (frmContact.i_equipo_b.value == ""){
			alert("Faltan datos en 'Resultado Global'");
			frmContact.i_equipo_b.focus();
			return (false);
			}
		if (frmContact.j_resultado_a.value == ""){
			alert("Faltan datos en 'Resultado Global'");
			frmContact.j_resultado_a.focus();
			return (false);
			}
		if (frmContact.j_resultado_a.value == ""){
			alert("Faltan datos en 'Resultado Global'");
			frmContact.j_resultado_a.focus();
			return (false);
			}
	return (true);
	}
