function ff_submittedhome(status, message)
{
    if(typeof bfUseErrorAlerts == 'undefined'){
        swal(message+"\nYou will be redirected to the home page now.");
    } else {
        alert(message+"\nYou will be redirected to the home page now.");
    }
    ff_returnHome();
} // ff_submittedhome