function cargarCantones(){
	var prov = document.frm_aprobados.c_provincia.value, canton = document.frm_aprobados.c_canton, i = 0;
	switch (prov){
		case "1":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Alfaro Ruiz', 'Alfaro Ruiz');
			canton.options[2] = new Option('Atenas', 'Atenas');
			canton.options[3] = new Option('Cantón Central', 'Cantón Central');
			canton.options[4] = new Option('Grecia', 'Grecia');
			canton.options[5] = new Option('Guatuso', 'Guatuso');
			canton.options[6] = new Option('Los Chiles', 'Los Chiles');
			canton.options[7] = new Option('Naranjo', 'Naranjo');
			canton.options[8] = new Option('Orotina', 'Orotina');
			canton.options[9] = new Option('Palmares', 'Palmares');
			canton.options[10] = new Option('Poás', 'Poás');
			canton.options[11] = new Option('San Carlos', 'San Carlos');
			canton.options[12] = new Option('San Mateo', 'San Mateo');
			canton.options[13] = new Option('San Ramón', 'San Ramón');
			canton.options[14] = new Option('Upala', 'Upala');
			canton.options[15] = new Option('Valverde Vega', 'Valverde Vega');
			break;
		
		case "2":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Alvarado', 'Alvarado');
			canton.options[2] = new Option('Central', 'Central');
			canton.options[3] = new Option('Guarco', 'Guarco');
			canton.options[4] = new Option('Jiménez', 'Jiménez');
			canton.options[5] = new Option('Oreamuno', 'Oreamuno');
			canton.options[6] = new Option('Paraíso', 'Paraíso');
			canton.options[7] = new Option('Turrialba', 'Turrialba');
			canton.options[8] = new Option('Unión', 'Unión');
			break;
		
		case "3":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Abangares', 'Abangares');
			canton.options[2] = new Option('Bagaces', 'Bagaces');
			canton.options[3] = new Option('Cañas', 'Cañas');
			canton.options[4] = new Option('Carrillo', 'Carrillo');
			canton.options[5] = new Option('Hojancha', 'Hojancha');
			canton.options[6] = new Option('La Cruz', 'La Cruz');
			canton.options[7] = new Option('Liberia', 'Liberia');
			canton.options[8] = new Option('Nandayure', 'Nandayure');
			canton.options[9] = new Option('Nicoya', 'Nicoya');
			canton.options[10] = new Option('Santa Cruz', 'Santa Cruz');
			canton.options[11] = new Option('Tilarán', 'Tilarán');
			break;
		
		case "4":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Barva', 'Barva');
			canton.options[2] = new Option('Belén', 'Belén');
			canton.options[3] = new Option('Cantón Central', 'Cantón Central');
			canton.options[4] = new Option('Flores', 'Flores');
			canton.options[5] = new Option('San Isidro', 'San Isidro');
			canton.options[6] = new Option('San Pablo', 'San Pablo');
			canton.options[7] = new Option('San Rafael', 'San Rafael');
			canton.options[8] = new Option('Santa Bárbara', 'Santa Bárbara');
			canton.options[9] = new Option('Santo Domingo', 'Santo Domingo');
			canton.options[10] = new Option('Sarapiquí', 'Sarapiquí');
			break;
		
		case "5":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Central', 'Central');
			canton.options[2] = new Option('Guácimo', 'Guácimo');
			canton.options[3] = new Option('Matina', 'Matina');
			canton.options[4] = new Option('Pococí', 'Pococí');
			canton.options[5] = new Option('Siquirres', 'Siquirres');
			canton.options[6] = new Option('Talamanca', 'Talamanca');
			break;
		
		case "6":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Aguirre', 'Aguirre');
			canton.options[2] = new Option('Buenos Aires', 'Buenos Aires');
			canton.options[3] = new Option('Central', 'Central');
			canton.options[4] = new Option('Corredores', 'Corredores');
			canton.options[5] = new Option('Coto Brus', 'Coto Brus');
			canton.options[6] = new Option('Esparza', 'Esparza');
			canton.options[7] = new Option('Garabito', 'Garabito');
			canton.options[8] = new Option('Golfito', 'Golfito');
			canton.options[9] = new Option('Montes de Oro', 'Montes de Oro');
			canton.options[10] = new Option('Osa', 'Osa');
			canton.options[11] = new Option('Parrita', 'Parrita');
			break;
		
		case "7":
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			canton.options[1] = new Option('Acosta', 'Acosta');
			canton.options[2] = new Option('Alajuelita', 'Alajuelita');
			canton.options[3] = new Option('Aserrí', 'Aserrí');
			canton.options[4] = new Option('Central', 'Central');
			canton.options[5] = new Option('Curridabat', 'Curridabat');
			canton.options[6] = new Option('Desamparados', 'Desamparados');
			canton.options[7] = new Option('Dota', 'Dota');
			canton.options[8] = new Option('Escazú', 'Escazú');
			canton.options[9] = new Option('Goicoechea', 'Goicoechea');
			canton.options[10] = new Option('León Cortés Castro', 'León Cortés Castro');
			canton.options[11] = new Option('Montes de Oca', 'Montes de Oca');
			canton.options[12] = new Option('Mora', 'Mora');
			canton.options[13] = new Option('Moravia', 'Moravia');
			canton.options[14] = new Option('Perez Zeledón', 'Perez Zeledón');
			canton.options[15] = new Option('Puriscal', 'Puriscal');
			canton.options[16] = new Option('Santa Ana', 'Santa Ana');
			canton.options[17] = new Option('Tarrazú', 'Tarrazú');
			canton.options[18] = new Option('Tibás', 'Tibás');
			canton.options[19] = new Option('Turrubares', 'Turrubares');
			canton.options[20] = new Option('Vazquez de Coronado', 'Vazquez de Coronado');
			break;
		
		default:
			if (canton.length > 1){
				for (i=1; i < canton.length;i++){
					canton.options[i] = null;
				}
			}
			break;
	}
}

