function ff_CselCountry_action(element, action)
{
    state   = ff_getElementByName('CselState');

    var stateArray = new Array(
        'Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado',
        'Connecticut', 'Delaware', 'Columbia', 'Florida', 'Georgia', 'Hawaii',
        'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky',
        'Louisiana', 'Maine', 'Maryland', 'Massachusetts', 'Michigan',
        'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska',
        'Nevada', 'New Hampshire', 'New Jersey', 'New Mexico', 'New York',
        'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon',
        'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota',
        'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington',
        'West Virginia', 'Wisconsin', 'Wyoming'
    );
    if (element.value=='USA') {
        // drop supernumerous option
        while (stateArray.length < state.options.length-1)
            state.options[state.options.length-1] = null;

        // add the new options
	    state.options[0] = new Option('Select State', 'none', true, true);
        for (var i=0; i < stateArray.length; i++)
            state.options[i+1] = new Option(stateArray[i], stateArray[i]);
    } else {
        while (state.options.length > 0)
            state.options[(state.options.length - 1)] = null;
    } // if
} //ff_CselCountry_action