Ext.states = [ ]; Ext.counties = [ ['1','CA','Alameda'],['3','CA','Alpine'],['5','CA','Amador'],['7','CA','Butte'],['9','CA','Calaveras'],['11','CA','Colusa'],['13','CA','Contra Costa'],['15','CA','Del Norte'],['17','CA','El Dorado'],['19','CA','Fresno'],['21','CA','Glenn'],['23','CA','Humboldt'],['25','CA','Imperial'],['27','CA','Inyo'],['29','CA','Kern'],['31','CA','Kings'],['33','CA','Lake'],['35','CA','Lassen'],['37','CA','Los Angeles'],['39','CA','Madera'],['41','CA','Marin'],['43','CA','Mariposa'],['45','CA','Mendocino'],['47','CA','Merced'],['49','CA','Modoc'],['51','CA','Mono'],['53','CA','Monterey'],['55','CA','Napa'],['57','CA','Nevada'],['59','CA','Orange'],['61','CA','Placer'],['63','CA','Plumas'],['65','CA','Riverside'],['67','CA','Sacramento'],['69','CA','San Benito'],['71','CA','San Bernardino'],['73','CA','San Diego'],['75','CA','San Francisco'],['77','CA','San Joaquin'],['79','CA','San Luis Obispo'],['81','CA','San Mateo'],['83','CA','Santa Barbara'],['85','CA','Santa Clara'],['87','CA','Santa Cruz'],['89','CA','Shasta'],['91','CA','Sierra'],['93','CA','Siskiyou'],['95','CA','Solano'],['97','CA','Sonoma'],['99','CA','Stanislaus'],['101','CA','Sutter'],['103','CA','Tehama'],['105','CA','Trinity'],['107','CA','Tulare'],['109','CA','Tuolumne'],['111','CA','Ventura'],['113','CA','Yolo'],['115','CA','Yuba'],['1','CO','Adams'],['3','CO','Alamosa'],['5','CO','Arapahoe'],['7','CO','Archuleta'],['9','CO','Baca'],['11','CO','Bent'],['13','CO','Boulder'],['14','CO','Broomfield'],['15','CO','Chaffee'],['17','CO','Cheyenne'],['19','CO','Clear Creek'],['21','CO','Conejos'],['23','CO','Costilla'],['25','CO','Crowley'],['27','CO','Custer'],['29','CO','Delta'],['31','CO','Denver'],['33','CO','Dolores'],['35','CO','Douglas'],['37','CO','Eagle'],['39','CO','Elbert'],['41','CO','El Paso'],['43','CO','Fremont'],['45','CO','Garfield'],['47','CO','Gilpin'],['49','CO','Grand'],['51','CO','Gunnison'],['53','CO','Hinsdale'],['55','CO','Huerfano'],['57','CO','Jackson'],['59','CO','Jefferson'],['61','CO','Kiowa'],['63','CO','Kit Carson'],['65','CO','Lake'],['67','CO','La Plata'],['69','CO','Larimer'],['71','CO','Las Animas'],['73','CO','Lincoln'],['75','CO','Logan'],['77','CO','Mesa'],['79','CO','Mineral'],['81','CO','Moffat'],['83','CO','Montezuma'],['85','CO','Montrose'],['87','CO','Morgan'],['89','CO','Otero'],['91','CO','Ouray'],['93','CO','Park'],['95','CO','Phillips'],['97','CO','Pitkin'],['99','CO','Prowers'],['101','CO','Pueblo'],['103','CO','Rio Blanco'],['105','CO','Rio Grande'],['107','CO','Routt'],['109','CO','Saguache'],['111','CO','San Juan'],['113','CO','San Miguel'],['115','CO','Sedgwick'],['117','CO','Summit'],['119','CO','Teller'],['121','CO','Washington'],['123','CO','Weld'],['125','CO','Yuma']]; // states DATASTORE var ds_states = new Ext.data.SimpleStore({ fields: ['id', 'state'], data : Ext.states }); // counties DATASTORE var ds_counties = new Ext.data.SimpleStore({ fields: ['id','state','county'], data : Ext.counties });