/**
 * Funcion que sirce para cuando alguien se quiere registrar
 */
function register()
{
new Ajax.Request("/register.php", {
  method: 'post',
  postBody: 'user[email]='+$('user[email]').getValue()+'&user[password]='+$('user[password]').getValue(),
  onSuccess: function(transport) {
  		alert(transport.responseText);
  }
});
return false;
}
