    function mostrar_informacion(txt){
            var b=/^[^@ $]+@([^@. $]+\.[^@. $]+)+$/
            return b.test(txt)
         }

       function comprueba () {
         var message = "";
         var obj;

       if ( document.formulario.Nombre.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Nombre;
            }
            message += "Por favor, introduzca su NOMBRE. Please input your name\n";
         }
         if ( document.formulario.Apellidos.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Apellidos;
            }
            message += "Por favor, introduzca sus APELLIDOS. Please input your surename\n";
         }
         if ( document.formulario.Telefono.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Telefono;
            }
            message += "Por favor, introduzca un TELÉFONO de contacto. Please input your phone number\n";
         }
         if ( document.formulario.email.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.email;
            }
            message += "Por favor, introduzca un E-MAIL personal. Please input your email\n";
         } else {
            if ( mostrar_informacion(document.formulario.email.value) == false ) {
               if (message.length == 0) {
                  obj = document.formulario.email;
               }
               message = message + "Ha introducido un E-MAIL INCORRECTO. Invalid email format\n";
            }
         }
         if ( document.formulario.Direccion.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Direccion;
            }
            message += "Por favor, introduzca una DIRECCIÓN. Please input your adress\n";
         }
         if ( document.formulario.Codigo_Postal.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Codigo_Postal;
            }
            message += "Por favor, introduzca un CÓDIGO POSTAL. Please input your postal code\n";
         }
         if ( document.formulario.Localidad.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Localidad;
            }
            message += "Por favor, introduzca una POBLACIÓN. Please input your city\n";
         }
         if ( document.formulario.Provincia_Estado.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Provincia_Estado;
            }
            message += "Por favor, introduzca una PROVINCIA. Please input your state\n";
         }
         if ( document.formulario.Pais.value == "" ) {
            if (message.length == 0) {
               obj = document.formulario.Pais;
            }
            message += "Por favor, introduzca una PAÍS. Please input your country\n";
         }
         if ( message.length > 0 ) {
            obj.focus();
            message = "Complete los campos:\nComplete all fields\n\n" + message;
            alert( message );
            return false;
         } else {
            return true;
         }
      }
