function validar_contacto(theForm){
	if (theForm.nombre_apellido.value == "" || theForm.nombre_apellido.value == "Nombre y Apellido"){
		alert("Su nombre y apellido es un dato requerido.");
		theForm.nombre_apellido.focus();
		return (false);
	}

	if (theForm.email.value == "" || theForm.email.value == "E-mail"){
		alert("Su direcci\xF3n de correo es un dato requerido.");
		theForm.email.focus();
		return (false);
	}
	
	email = theForm.email.value;
	email = email.toLowerCase();			
	
	if ( email.search("@") != -1 ){
	}
	else{
		alert("La direcci\xF3n de correo ingresada no es v\xE1lida.");
		theForm.email.focus();
		return (false);				
	}
	
	if (theForm.telefono.value == "" || theForm.telefono.value == "Telefono"){
		alert("Su tel\xE9fono es un dato requerido.");
		theForm.telefono.focus();
		return (false);
	}
	
	if (theForm.mensaje.value == "" || theForm.mensaje.value == "Mensaje"){
		alert("El mensaje es un dato requerido.");
		theForm.mensaje.focus();
		return (false);
	}
	
	return (true);
}


function validar_asociate(theForm){
	if (theForm.tipo_socio.value == "ninguno"){
		alert("El tipo de socio es un dato requerido.");
		theForm.tipo_socio.focus();
		return (false);
	}
	
	if (theForm.nombre_apellido.value == ""){
		alert("Su Nombre y Apellido son datos requeridos.");
		theForm.nombre_apellido.focus();
		return (false);
	}
	
	if (theForm.fecha_nacimiento.value == ""){
		alert("La fecha de nacimiento es un dato requerido.");
		theForm.fecha_nacimiento.focus();
		return (false);
	}
	
	if (theForm.dni.value == ""){
		alert("El DNI es un dato requerido.");
		theForm.dni.focus();
		return (false);
	}
	if (theForm.domicilio.value == ""){
		alert("El domicilio es un dato requerido.");
		theForm.domicilio.focus();
		return (false);
	}
	
	if (theForm.localidad.value == ""){
		alert("El localidad es un dato requerido.");
		theForm.localidad.focus();
		return (false);
	}
	
	if (theForm.codigo_postal.value == ""){
		alert("El c\xF3digo postal es un dato requerido.");
		theForm.codigo_postal.focus();
		return (false);
	}
	
	if (theForm.telefono.value == ""){
		alert("El tel\xE9fono es un dato requerido.");
		theForm.telefono.focus();
		return (false);
	}	

	if (theForm.email.value == "" || theForm.email.value == "E-mail"){
		alert("Su direcci\xF3n de correo es un dato requerido.");
		theForm.email.focus();
		return (false);
	}
	
	email = theForm.email.value;
	email = email.toLowerCase();			
	
	if ( email.search("@") != -1 ){
	}
	else{
		alert("La direcci\xF3n de correo ingresada no es v\xE1lida.");
		theForm.email.focus();
		return (false);				
	}
	
	if (theForm.estado_civil.value == "ninguno"){
		alert("El estado civil es un dato requerido.");
		theForm.estado_civil.focus();
		return (false);
	}
	
	if (theForm.domicilio_cobro.value == ""){
		alert("Su domicilio de cobro  es un dato requerido.");
		theForm.domicilio_cobro.focus();
		return (false);
	}
	
		
	return (true);
}


function validar_acreditacion(theForm){
	if (theForm.nombre_del_medio.value == ""){
		alert("El nombre del medio es un dato requerido.");
		theForm.nombre_del_medio.focus();
		return (false);
	}
	
	if (theForm.responsable_del_medio.value == ""){
		alert("El responsable del medio es un dato requerido.");
		theForm.responsable_del_medio.focus();
		return (false);
	}
	
/*	if (theForm.nombre_y_apellido.value == ""){
		alert("El nombre y apellido es un dato requerido.");
		theForm.nombre_y_apellido.focus();
		return (false);
	}
	
	if (theForm.dni.value == ""){
		alert("El DNI es un dato requerido.");
		theForm.dni.focus();
		return (false);
	}
	
	if (theForm.tareas_a_desarrollar.value == ""){
		alert("Las tareas a desarrollar son requeridas.");
		theForm.tareas_a_desarrollar.focus();
		return (false);
	}
*/	
	if (theForm.cabinas_de_transmision.value == "seleccione"){
		alert("Las cabinas de transmisi\xF3n son requeridas.");
		theForm.cabinas_de_transmision.focus();
		return (false);
	}	
	return (true);
}
