function ff_psc_alladds_action(element, action)
{
    switch (action) {
        case 'click':
            for (var i = 0; i < ff_elements.length; i++)
                if (ff_elements[i][2]=='psc_adds') 
                    ff_getElementByIndex(i).checked = element.checked;
            ff_psc_calculate();
            break;
        default:;
    } // switch
} // ff_psc_alladds_action