function ff_3f0fad3349da82424621c480a156ce6b_action(element, action)
{
    switch (action) {
        case 'click':
            if(ff_getElementByName("bfSubsPassword").value == ff_getElementByName("bfSubsPassword2").value){
                if(ff_getElementByName("bfSubsPassword").value.length > 5){
                    ff_validate_submit();
                } else {
                    alert("Your password is too short, please use a password with at least 6 characters!");
                }
            } else {
                alert("The passwords do not match!");
            }
            break;
        default:;
    } // switch
} // ff_3f0fad3349da82424621c480a156ce6b_action