function validar(datos){
  if (datos.nombre.value == "")
  {
    alert("Debe ingresar su nombre");
    datos.nombre.focus();
    return (false);
  }

  if (datos.apellido.value == "")
  {
    alert("Debe ingresar su apellido");
    datos.apellido.focus();
    return (false);
  }

  if (datos.email.value == "")
  {
    alert("Debe ingresar una direcci&oacute;n email");
    datos.email.focus();
    return (false);
  }else if(!isEmail(datos.email.value)){
		alert("Direcci&oacute;n email no v&aacute;lida");
	    datos.email.focus();
    	return (false);
  }

  if (datos.direccion.value == "")
  {
    alert("Debe ingresar su direccion");
    datos.direccion.focus();
    return (false);
  }

  if (datos.telefono.value == "")
  {
    alert("Debe ingresar un n&uacute;mero de tel&eacute;fono opara contactarlo");
    datos.telefono.focus();
    return (false);
  }

  if (datos.ciudad.value == "")
  {
    alert("Ingrese el nombre de la ciudad donde Ud. reside");
    datos.ciudad.focus();
    return (false);
  }

  if (datos.cpostal.value == "")
  {
    alert("Debe ingresar el c&oacute;digo postal");
    datos.cpostal.focus();
    return (false);
  }

  if (datos.provincia.value == "")
  {
    alert("Ingrese el nombre de la provincia donde Ud. reside");
    datos.provincia.focus();
    return (false);
  }

  if (datos.archivo.value == "")
  {
    alert("Adjute su CV");
    datos.archivo.focus();
    return (false);
  }

 return true;
}

