function ff_CselRegion_action(element, action)
{
    country = ff_getElementByName('CselCountry');
    state   = ff_getElementByName('CselState');

    var africaArray = new Array(
        'Ethiopia', 'Somalia', 'South Africa', 'Other'
    );

    var middleeastArray = new Array(
        'Egypt', 'Iran', 'Israel', 'Kuwait', 'Lebanon', 'Morocco',
        'Saudi Arabia', 'Syria', 'Turkey', 'U.A.Emirates', 'Other'
    );

    var asiaArray = new Array(
        'Armenia', 'Bangladesh', 'Cambodia', 'China', 'India', 'Indonesia',
        'Japan', 'Malaysia', 'Myanmar', 'Nepal', 'Pakistan', 'Philippines',
        'Singapore', 'South Korea', 'Sri Lanka', 'Taiwan', 'Thailand',
        'Uzbekistan', 'Vietnam', 'Other'
    );

    var europeArray = new Array(
        'Albania', 'Austria', 'Belarus', 'Belgium', 'Bosnia', 'Bulgaria',
        'Croatia', 'Cyprus', 'Czech Rep.', 'Denmark', 'Estonia', 'Finland',
        'France', 'Germany', 'Greece', 'Hungary', 'Iceland', 'Ireland',
        'Italy', 'Latvia', 'Liechtenstein', 'Lithuania', 'Luxembourg',
        'Macedonia', 'Malta', 'Monaco', 'Netherlands', 'Norway', 'Poland',
        'Portugal', 'Romania', 'Russia', 'Slovakia', 'Slovenia', 'Spain',
        'Sweden', 'Switzerland', 'Ukraine', 'United Kingdom', 'Other'
    );

    var australiaArray = new Array('Australia', 'New Zealand', 'Other');

    var lamericaArray = new Array(
        'Costa Rica', 'Cuba', 'El Salvador', 'Guatemala', 'Haiti', 'Jamaica',
        'Mexico', 'Panama', 'Other'
    );

    var namericaArray =  new Array('Canada', 'USA', 'Other');

    var samericaArray =  new Array(
        'Argentina', 'Bolivia', 'Brazil', 'Chile', 'Colombia', 'Ecuador',
        'Paraguay', 'Peru', 'Suriname', 'Uruguay', 'Venezuela', 'Other'
    );

    if (element.value == 'none') {
        // drop countries
        while (country.options.length > 0)
            country.options[country.options.length-1] = null;
    } else {
        // get the matching array
        var selectedArray = eval(element.value+'Array');

        // drop supernumerous option
        while (selectedArray.length < country.options.length-1)
            country.options[country.options.length-1] = null;

        // add the new options
        country.options[0] = new Option('Select Country', 'none', true, true);
        for (var i=0; i < selectedArray.length; i++)
            country.options[i+1] =
                new Option(selectedArray[i], selectedArray[i]);
    } // if

    // drop states
    while (state.options.length > 0)
        state.options[state.options.length-1] = null;
} // ff_CselRegion_action