Código HTML:
<form action="" method="post" name="formulario" id="formulario" onsubmit="comprobar()">
Nombre: <input type="text" name="Nombre" id="Nombre"><br>
Apellidos: <input type="text" name="Apellidos" id="Apellidos"><br>
<input type="submit" value="Send" id="Send">
</form>
El problema estaba en el formulario, Checkea las diferencias...
Saludos...