function do_move_bottom() {
    var max_rank = max_selected_rank();
    if (num_selected < 1) {
        alert("No choices were selected. "+
              "Click (or shift-click) to select choices");
        return;
    }
    //if (max_rank >= cur_bot)
    cur_bot = num_choices;
    scan_ranks();
    var collision = num_at_rank[max_rank];
    for (var i = 0; i < num_choices; i++) {
        if (selected[i]) {
            if (set_rank(i, cur_bot)) i--;
        } else if (collision && rank[i] <= cur_bot
                             && rank[i] > max_rank
                             && rank[i] > 1) {
            set_rank(i, rank[i] - 1);
        }
    }
    cur_bot--;
    set_row_borders();
}
// move the suggested choices to the bottom possible ranking
move the suggested choices to the bottom possible ranking
move the suggested choices to the bottom possible ranking
function do_move_bottom() {
    var max_rank = max_selected_rank();
    if (num_selected < 1) {
        alert("No choices were selected. "+
              "Click (or shift-click) to select choices");
        return;
    }
    cur_bot = num_choices;
    scan_ranks();
    var collision = num_at_rank[max_rank];
    for (var i = 0; i < num_choices; i++) {
        if (selected[i]) {
            if (set_rank(i, cur_bot)) i--;
        } else if (collision && rank[i] <= cur_bot
                             && rank[i] > max_rank
                             && rank[i] > 1) {
            set_rank(i, rank[i] - 1);
        }
    }
    cur_bot--;
    set_row_borders();
}
function do_move_bottom ( ) { var max_rank = max_selected_rank ( ) ; if ( num_selected < 1 ) { alert ( "No choices were selected. " + "Click (or shift-click) to select choices" ) ; return ; } cur_bot = num_choices ; scan_ranks ( ) ; var collision = num_at_rank [ max_rank ] ; for ( var i = 0 ; i < num_choices ; i ++ ) { if ( selected [ i ] ) { if ( set_rank ( i , cur_bot ) ) i -- ; } else if ( collision && rank [ i ] <= cur_bot && rank [ i ] > max_rank && rank [ i ] > 1 ) { set_rank ( i , rank [ i ] - 1 ) ; } } cur_bot -- ; set_row_borders ( ) ; }
move the suggested choices to the bottom possible ranking
move the suggested choices to the bottom possible ranking
//if (max_rank >= cur_bot)