function fill_province(form_name, id_country, selection) {
  document.forms[form_name].State.options.length = 0;
  if (states[id_country].length != 0) {
    i = 0;
    arr_states = states[id_country];
    for (state in arr_states) {
      document.forms[form_name].State.options[i] = new Option(arr_states[state], state, false, false);      
      if (state==selection) document.forms[form_name].State.options[i].selected = true;                                                
      i++; 
    }
  }
}
