function ff_setChecked(name, value, checked)
{
    if (arguments.length<3) checked = true;
    for (var i = 0; i < ff_elements.length; i++)
        if (ff_elements[i][2]==name) {
            var e = ff_getElementByIndex(i);
            if (e.value == value) {
                e.checked = checked;
                break;
            } // if
        } // if
} // ff_setChecked