

function resetPassword() {
var pars = "page=passwordreset&action=reset&email="+$('emailaddress').value;

var myAjax = new Ajax.Request("index.php", {method:'post', postBody:pars, 
  onSuccess:function(transport){
      $('forgot').innerHTML = transport.responseText;
    }, onFailure:submitError()});
}

function submitError() {
}
