function validar()
{
	if (document.ficha.Nombre.value=='')
		{
		alert('Ingrese su Nombre');
		document.ficha.Nombre.focus()
		return false;
		}
		
		if (document.ficha.Apellidos.value=='')
		{
		alert('Ingrese sus Apellidos');
		document.ficha.Apellidos.focus()
		return false;
		}
		
		if (document.ficha.DNI.value=='')
		{
		alert('Ingrese su Numero de DNI');
		document.ficha.DNI.focus();
		return false;
		}
		else
		{
				if (document.ficha.DNI.value.length < 8)
				  {
					alert("Escriba por lo menos 8 digito en el campo DNI.");
					document.ficha.DNI.focus();
					return (false);
				  }
				
				  var checkOK = "0123456789";
				  var checkStr = document.ficha.DNI.value;
				  var allValid = true;
				  for (i = 0;  i < checkStr.length;  i++)
				  {
					ch = checkStr.charAt(i);
					for (j = 0;  j < checkOK.length;  j++)
					  if (ch == checkOK.charAt(j))
						break;
					if (j == checkOK.length)
					{
					  allValid = false;
					  break;
					}
				  }
				  if (!allValid)
				  {
					alert("Escriba sólo digitos en el campo DNI.");
					document.ficha.DNI.focus();
					return (false);
				  }
		}
		

		if (document.ficha.Fecha_de_Nacimiento.value=='')
		{
		alert('Ingrese su Fecha de Nacimiento');
		document.ficha.Fecha_de_Nacimiento.focus();
		return false;
		}
		else
		{
				if(!(document.ficha.Fecha_de_Nacimiento.value.charAt(2)=="/" || document.ficha.Fecha_de_Nacimiento.value.charAt(5)=="/"))
				{
					alert("Debe escribir en el formato correcto DD/MM/AA")	;
					return false;
					document.ficha.Fecha_de_Nacimiento.focus();
				}
			
		}
		
		if (document.ficha.Vehiculo.value=='')
		{
		alert('Ingrese algun tipo de Auto , de lo contrario escribir NO Poseo Vehiculo');
		document.ficha.Vehiculo.focus()
		return false;
		}
		
		
		
		if (document.ficha.Telefono_Casa.value=='')
		{
		alert('Ingrese su Numero de Telefono');
		document.ficha.Telefono_Casa.focus();
		return false;
		}
		else
		{
		
				if (document.ficha.Telefono_Casa.value.length < 7)
				  {
					alert("Escriba por lo menos 7 digito en el campo Telefono de Casa.");
					document.ficha.Telefono_Casa.focus();
					return (false);
				  }
				
				  var checkOK = "0123456789-";
				  var checkStr = document.ficha.Telefono_Casa.value;
				  var allValid = true;
				  for (i = 0;  i < checkStr.length;  i++)
				  {
					ch = checkStr.charAt(i);
					for (j = 0;  j < checkOK.length;  j++)
					  if (ch == checkOK.charAt(j))
						break;
					if (j == checkOK.length)
					{
					  allValid = false;
					  break;
					}
				  }
				  if (!allValid)
				  {
					alert("Escriba sólo digitos en el campo Telefono de Casa.");
					document.ficha.Telefono_Casa.focus();
					return (false);
				  }
		
		}
		

		if (document.ficha.Celular.value=='')
		{
		alert('Ingrese Numero de Celular');
		document.ficha.Numero_Celular.focus();
		return false;
		}
		else
		{
				if (document.ficha.Celular.value.length < 9)
				  {
					alert("Escriba por lo menos 9 digitos en el campo Celular.");
					document.ficha.Celular.focus();
					return (false);
				  }
				
				  var checkOK = "0123456789-()";
				  var checkStr = document.ficha.Celular.value;
				  var allValid = true;
				  for (i = 0;  i < checkStr.length;  i++)
				  {
					ch = checkStr.charAt(i);
					for (j = 0;  j < checkOK.length;  j++)
					  if (ch == checkOK.charAt(j))
						break;
					if (j == checkOK.length)
					{
					  allValid = false;
					  break;
					}
				  }
				  if (!allValid)
				  {
					alert("Escriba sólo digitos en el campo Celular.");
					document.ficha.Celular.focus();
					return (false);
				  }
		
		}
		
		if (document.ficha.cv.value=='')
		{
		alert('Debe Cargar su Curriculum en un  Documento de Word Válido');
		
		return false;
		}
		
		
		
		
		
		
		
		
		return true;




}




