function ResendConfirmation() {
  var url = 'ajax/resend_confirmation.php';
  new Ajax.Request(
  	url, {
  		method: 'post',
  		parameters: Form.serialize('ResendConfirmation'),
  		onSuccess: function(transport) {
    		var notice = $('notice');
   		 	if (transport.responseText == 0) {
      			notice.update('<font color="#ff0000">Form Error(s)</font>');
      			Effect.Appear('notice');
    		}
    		if (transport.responseText == 1) { 
      			Effect.Fade('ResendConfirmation');
      			notice.update('Confirmation resent, please <strong>check your email to activate and confirm your account</strong>.');
      			Effect.Appear('notice');
    		}
    		if (transport.responseText == 2) { 
      			notice.update('<font color="#ff0000">Human Test Failed</font>');
      			Effect.Appear('notice');
      			alert('Human Test Failed');
				Recaptcha.reload();
    		}
    		if (transport.responseText == 3) { 
      			notice.update('<font color="#ff0000">Username Does Not Exist</font>'); 
      			Effect.Appear('notice');
      			alert('Username Does Not Exist');
    		}
    	}
  	}
  );
}