
/*function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}*/

function changeStyle(pid,lid,display){
document.getElementById(pid).style.background = "#94b6ce url(../images/passwordSliceleft.gif) left top no-repeat";
document.getElementById(lid).style.background = "url(../images/passwordSliceright.gif) right top no-repeat";
document.getElementById("hereDisplay").innerHTML = display;
}

function Display(dis){
document.getElementById("hereDisplay").innerHTML = dis;
}

function myBlur(){

         document.form1.state.disabled=true;
         document.form1.county.disabled=true;      
         loadCountries();
   } 
function myBlur2(){
   checkTheInput();
   changeDropDownOptions(); 
   
}

function openwindow(url){

win1= window.open(url);

win1.resizeTo(400,400);
win1.moveTo(300,90);
win1.focus();

}
                         
function  checkTheInput(){
                                   var propertyIsFor_array = document.form1.propertyIsFor.options[document.form1.propertyIsFor.options.selectedIndex].text;
                                    //document.write(propertyIsFor_array);
                                    if(propertyIsFor_array == "Sale")
                                       {
                                        document.form1.propertyIsFor.options[0] = new Option("Sale","buy");
                                        document.form1.propertyIsFor.options[1] = new Option("Rent","rent");
                                                                              
                                       }
                                   else
                                     {if(propertyIsFor_array == "Rent")
                                      {
                                       document.form1.propertyIsFor.options[0] = new Option("Rent","rent");
                                       document.form1.propertyIsFor.options[1] = new Option("Sale","buy");
                                                                              
                                      } }
			   }
                          
                          

	var state = new Array();
	state [0] = "SELECT A STATE";
	state [1] = "Alaska";
	state [2] = "Alabama";
	state [3] = "Arkansas";
	state [4] = "Arizona";
	state [5] = "California";
	state [6] = "Colorado";
	state [7] = "Connecticut";
	state [8] = "District of Columbia";
	state [9] = "Delaware";
	state [10] = "Florida";
	state [11] = "Georgia";
	state [12] = "Hawaii";
	state [13] = "Iowa";
	state [14] = "Idaho";
	state [15] = "Illinois";
	state [16] = "Indiana";
	state [17] = "Kansas";
	state [18] = "Kentucky";
	state [19] = "Louisiana";
	state [20] = "Massachusetts";
	state [21] = "Maryland";
	state [22] = "Maine";
	state [23] = "Michigan";
	state [24] = "Minnesota";
	state [25] = "Missouri";
	state [26] = "Mississippi";
	state [27] = "Montana";
	state [28] = "North Carolina";
	state [29] = "North Dakota";
	state [30] = "Nebraska";
	state [31] = "New Hampshire";
	state [32] = "New Jersey";
	state [33] = "New Mexico";
	state [34] = "Nevada";
	state [35] = "New York";
	state [36] = "Ohio";
	state [37] = "Oklahoma";
	state [38] = "Oregon";
	state [39] = "Pennsylvania";
	state [40] = "Rhode Island";
	state [41] = "South Carolina";
	state [42] = "South Dakota";
	state [43] = "Tennessee";
	state [44] = "Texas";
	state [45] = "Utah";
	state [46] = "Virginia";
	state [47] = "Vermont";
	state [48] = "Washington";
	state [49] = "Wisconsin";
	state [50] = "West Virginia";
	state [51] = "Wyoming";


        var Alaska = new Array();
	Alaska [0] = "SELECT A COUNTY";
	Alaska [1] = "Aleutians East Borough";
	Alaska [2] = "Aleutians West";
	Alaska [3] = "Anchorage Borough";
	Alaska [4] = "ABethel";
	Alaska [5] = "Bristol Bay Borough";
	Alaska [6] = "Denali Borough";
	Alaska [7] = "Dillingham";
	Alaska [8] = "Fairbanks North Star Borough";
	Alaska [9] = "Haines Borough";
	Alaska [10] = "Juneau Borough";
	Alaska [11] = "Kenai Peninsula Borough";
	Alaska [12] = "Ketchikan Gateway Borough";
	Alaska [13] = "Kodiak Island Borough";
	Alaska [14] = "Lake and Peninsula Borough";
	Alaska [15] = "Matanuska-Susitna Borough";
	Alaska [16] = "Nome";
	Alaska [17] = "North Slope Borough";
	Alaska [18] = "Northwest Arctic Borough";
	Alaska [19] = "Prince of Wales-Outer Ketchikan";
	Alaska [20] = "Sitka Borough";
	Alaska [21] = "Skagway-Hoonah-Angoon";
	Alaska [22] = "Southeast Fairbanks";
	Alaska [23] = "Valdez-Cordova";
	Alaska [24] = "Wade Hampton";
	Alaska [25] = "Wrangell-Petersburg";
	Alaska [26] = "AYakutat City and Borough";
	Alaska [27] = "Yukon-Koyukuk";


	var Alabama = new Array();
	Alabama[0] = "SELECT A COUNTY";
	Alabama[1] = "Autauga County";
	Alabama[2] = "Baldwin County";
	Alabama[3] = "Barbour County";
	Alabama[4] = "Bibb County";
	Alabama[5] = "Blount County";
	Alabama[6] = "Bullock County";
	Alabama[7] = "Butler County";
	Alabama[8] = "Calhoun County";
	Alabama[9] = "Chambers County";
	Alabama[10] = "Cherokee County";
	Alabama[11] = "Chilton County";
	Alabama[12] = "Choctaw County";
	Alabama[13] = "Clarke County";
	Alabama[14] = "Clay County";
	Alabama[15] = "Cleburne County";
	Alabama[16] = "Coffee County";
	Alabama[17] = "Colbert County";
	Alabama[18] = "Conecuh County";
	Alabama[19] = "Coosa County";
	Alabama[20] = "Covington County";
	Alabama[21] = "Crenshaw County";
	Alabama[22] = "Cullman County";
	Alabama[23] = "Dale County";
	Alabama[24] = "Dallas County";
	Alabama[25] = "DeKalb County";
	Alabama[26] = "Elmore County";
	Alabama[27] = "Escambia County";
	Alabama[28] = "Etowah County";
	Alabama[29] = "Fayette County";
	Alabama[30] = "Franklin County";
	Alabama[31] = "Geneva County";
	Alabama[32] = "Greene County";
	Alabama[33] = "Hale County";
	Alabama[34] = "Henry County";
	Alabama[35] = "Houston County";
	Alabama[36] = "Jackson County";
	Alabama[37] = "Jefferson County";
	Alabama[38] = "Lamar County";
	Alabama[39] = "Lauderdale County";
	Alabama[40] = "Lawrence County";
	Alabama[41] = "Lee County";
	Alabama[42] = "Limestone County";
	Alabama[43] = "Lowndes County";
	Alabama[44] = "Macon County";
	Alabama[45] = "Madison County";
	Alabama[46] = "Marengo County";
	Alabama[47] = "Marion County";
	Alabama[48] = "Marshall County";
	Alabama[49] = "Mobile County";
	Alabama[50] = "Monroe County";
	Alabama[51] = "Montgomery County";
	Alabama[52] = "Morgan County";
	Alabama[53] = "Perry County";
	Alabama[54] = "Pickens County";
	Alabama[55] = "Pike County";
	Alabama[56] = "Randolph County";
	Alabama[57] = "Russell County";
	Alabama[58] = "St. Clair County";
	Alabama[59] = "Shelby County";
	Alabama[60] = "Sumter County";
	Alabama[61] = "Talladega County";
	Alabama[62] = "Tallapoosa County";
	Alabama[63] = "Tuscaloosa County";
	Alabama[64] = "Walker County";
	Alabama[65] = "Washington County";
	Alabama[66] = "Wilcox County";
	Alabama[67] = "Winston County";
        
        var Arkansas = new Array();
	Arkansas[0] = "SELECT A COUNTY";
	Arkansas[1] = "Arkansas County";
	Arkansas[2] = "Ashley County";
	Arkansas[3] = "Baxter County";
	Arkansas[4] = "Benton County";
	Arkansas[5] = "Boone County";
	Arkansas[6] = "Bradley County";
	Arkansas[7] = "Calhoun County";
	Arkansas[8] = "Carroll County";
	Arkansas[9] = "Chicot County";
	Arkansas[10] = "Clark County";
	Arkansas[11] = "Clay County";
	Arkansas[12] = "Cleburne County";
	Arkansas[13] = "Cleveland County";
	Arkansas[14] = "Columbia County";
	Arkansas[15] = "Conway County";
	Arkansas[16] = "Craighead County";
	Arkansas[17] = "Crawford County";
	Arkansas[18] = "Crittenden County";
	Arkansas[19] = "Cross County";
	Arkansas[20] = "Dallas County";
	Arkansas[21] = "Desha County";
	Arkansas[22] = "Drew County";
	Arkansas[23] = "Faulkner County";
	Arkansas[24] = "Franklin County";
	Arkansas[25] = "Fulton County";
	Arkansas[26] = "Garland County";
	Arkansas[27] = "Grant County";
	Arkansas[28] = "Greene County";
	Arkansas[29] = "Hempstead County";
	Arkansas[30] = "Hot Spring County";
	Arkansas[31] = "Howard County";
	Arkansas[32] = "Independence County";
	Arkansas[33] = "Izard County";
	Arkansas[34] = "Jackson County";
	Arkansas[35] = "Jefferson County";
	Arkansas[36] = "Johnson County";
	Arkansas[37] = "Lafayette County";
	Arkansas[38] = "Lawrence County";
	Arkansas[39] = "Lee County";
	Arkansas[40] = "Lincoln County";
	Arkansas[41] = "Little River County";
	Arkansas[42] = "Logan County";
	Arkansas[43] = "Lonoke County";
	Arkansas[44] = "Madison County";
	Arkansas[45] = "Marion County";
	Arkansas[46] = "Miller County";
	Arkansas[47] = "Mississippi County";
	Arkansas[48] = "Monroe County";
	Arkansas[49] = "Montgomery County";
	Arkansas[50] = "Nevada County";
	Arkansas[51] = "Newton County";
	Arkansas[52] = "Perry County";
	Arkansas[53] = "Phillips County";
	Arkansas[54] = "Pike County";
	Arkansas[55] = "Polk County";
	Arkansas[56] = "Pope County";
	Arkansas[57] = "Prairie County";
	Arkansas[58] = "Randolph County";
	Arkansas[59] = "St. Francis County";
	Arkansas[60] = "Saline County";
	Arkansas[61] = "Scott County";
	Arkansas[62] = "Searcy County";
	Arkansas[63] = "Sebastian County";
	Arkansas[64] = "Sevier County";
	Arkansas[65] = "Sharp County";
	Arkansas[66] = "Stone County";
	Arkansas[67] = "Union County";
	Arkansas[68] = "Van Buren County";
	Arkansas[69] = "Washington County";
	Arkansas[70] = "White County";
	Arkansas[71] = "Woodruff County";
	Arkansas[72] = "Yell County";
	
	var Arizona = new Array();
	Arizona [0] = "SELECT A COUNTY";
	Arizona [1] = "Apache County";
	Arizona [2] = "Cochise County";
	Arizona [3] = "Coconino County";
	Arizona [4] = "Gila County";
	Arizona [5] = "Graham County";
	Arizona [6] = "Greenlee County";
	Arizona [7] = "La Paz County";
	Arizona [8] = "Maricopa County";
	Arizona [9] = "Mohave County";
	Arizona [10] = "Navajo County";
	Arizona [11] = "Pima County";
	Arizona [12] = "Pinal County";
	Arizona [13] = "Santa Cruz County";
	Arizona [14] = "Yavapai County";
	Arizona [15] = "Yuma County";
	
	var California = new Array();
	California [0] = "SELECT A COUNTY";
	California [1] = "Alameda County";
	California [2] = "Alpine County";
	California [3] = "Amador County";
	California [4] = "Butte County";
	California [5] = "Calaveras County";
	California [6] = "Colusa County";
	California [7] = "Contra Costa County";
	California [8] = "Del Norte County";
	California [9] = "El Dorado County";
	California [10] = "Fresno County";
	California [11] = "Glenn County";
	California [12] = "Humboldt County";
	California [13] = "Imperial County";
	California [14] = "Inyo County";
	California [15] = "Kern County";
	California [16] = "Kings County";
	California [17] = "Lake County";
	California [18] = "Lassen County";
	California [19] = "Los Angeles County";
	California [20] = "Madera County";
	California [21] = "Marin County";
	California [22] = "Mariposa County";
	California [23] = "Mendocino County";
	California [24] = "Merced County";
	California [25] = "Modoc County";
	California [26] = "Mono County";
	California [27] = "Monterey County";
	California [28] = "Napa County";
	California [29] = "Nevada County";
	California [30] = "Orange County";
	California [31] = "Placer County";
	California [32] = "Plumas County";
	California [34] = "Riverside County";
	California [35] = "Sacramento County";
	California [36] = "San Benito County";
	California [37] = "San Bernardino County";
	California [38] = "San Diego County";
	California [39] = "San Francisco County";
	California [40] = "San Joaquin County";
	California [41] = "San Luis Obispo County";
	California [42] = "San Mateo County";
	California [43] = "Santa Barbara County";
	California [44] = "Santa Clara County";
	California [45] = "Santa Cruz County";
	California [46] = "Shasta County";
	California [47] = "Sierra County";
	California [48] = "Siskiyou County";
	California [49] = "Solano County";
	California [50] = "Sonoma County";
	California [51] = "Stanislaus County";
	California [52] = "Sutter County";
	California [53] = "Tehama County";
	California [54] = "Trinity County";
	California [55] = "Tulare County";
	California [56] = "Tuolumne County";
	California [57] = "Ventura County";
	California [58] = "Yolo County";
	California [59] = "Yuba County";
	
	var Colorado = new Array();
	Colorado [0] = "SELECT A COUNTY";
	Colorado [1] = "Adams County";
	Colorado [2] = "Alamosa County";
	Colorado [3] = "Arapahoe County";
	Colorado [4] = "Archuleta County";
	Colorado [5] = "Baca County";
	Colorado [6] = "Bent County";
	Colorado [7] = "Boulder County";
	Colorado [8] = "Chaffee County";
	Colorado [9] = "Cheyenne County";
	Colorado [10] = "Clear Creek County";
	Colorado [11] = "Conejos County";
	Colorado [12] = "Costilla County";
	Colorado [13] = "Crowley County";
	Colorado [14] = "Custer County";
	Colorado [15] = "Delta County";
	Colorado [16] = "Denver County";
	Colorado [17] = "Dolores County";
	Colorado [18] = "Douglas County";
	Colorado [19] = "Eagle County";
	Colorado [20] = "Elbert County";
	Colorado [21] = "El Paso County";
	Colorado [22] = "Fremont County";
	Colorado [23] = "Garfield County";
	Colorado [24] = "Gilpin County";
	Colorado [25] = "Grand County";
	Colorado [26] = "Gunnison County";
	Colorado [27] = "Hinsdale County";
	Colorado [28] = "Huerfano County";
	Colorado [29] = "Jackson County";
	Colorado [30] = "Jefferson County";
	Colorado [31] = "Kiowa County";
	Colorado [32] = "Kit Carson County";
	Colorado [33] = "Lake County";
	Colorado [34] = "La Plata County";
	Colorado [35] = "Larimer County";
	Colorado [36] = "Las Animas County";
	Colorado [37] = "Lincoln County";
	Colorado [38] = "Logan County";
	Colorado [39] = "Mesa County";
	Colorado [40] = "Mineral County";
	Colorado [41] = "Moffat County";
	Colorado [42] = "Montezuma County";
	Colorado [43] = "Montrose County";
	Colorado [44] = "Morgan County";
	Colorado [45] = "Otero County";
	Colorado [46] = "Ouray County";
	Colorado [47] = "Park County";
	Colorado [48] = "Phillips County";
	Colorado [49] = "Pitkin County";
	Colorado [50] = "Prowers County";
	Colorado [51] = "Pueblo County";
	Colorado [52] = "Rio Blanco County";
	Colorado [53] = "Rio Grande County";
	Colorado [54] = "Routt County";
	Colorado [55] = "Saguache County";
	Colorado [56] = "San Juan County";
	Colorado [57] = "San Miguel County";
	Colorado [58] = "Sedgwick County";
	Colorado [59] = "Summit County";
	Colorado [60] = "Teller County";
	Colorado [61] = "Washington County";
	Colorado [62] = "Weld County";
	Colorado [63] = "Yuma County";	
	
	var Connecticut = new Array();
	Connecticut [0] = "SELECT A COUNTY";
	Connecticut [1] = "Fairfield County";
	Connecticut [2] = "Hartford County";
	Connecticut [3] = "Litchfield County";
	Connecticut [4] = "Middlesex County";
	Connecticut [5] = "New Haven County";
	Connecticut [6] = "New London County";
	Connecticut [7] = "Tolland County";
	Connecticut [8] = "Windham County";
	
	var DistrictofColumbia = new Array();
	DistrictofColumbia [0] = "SELECT A COUNTY";
	DistrictofColumbia [1] = "District of Columbia";
	
	var Delaware = new Array();
	Delaware [0] = "SELECT A COUNTY";
	Delaware [1] = "Kent County";
	Delaware [2] = "New Castle County";
	Delaware [3] = "Sussex County";
	
	var Florida = new Array();
	Florida [0] = "SELECT A COUNTY";
	Florida [1] = "Alachua County";
	Florida [2] = "Baker County";
	Florida [3] = "Bay County";
	Florida [4] = "Bradford County";
	Florida [5] = "Brevard County";
	Florida [6] = "Broward County";
	Florida [7] = "Calhoun County";
	Florida [8] = "Charlotte County";
	Florida [9] = "Citrus County";
	Florida [10] = "Clay County";
	Florida [11] = "Collier County";
	Florida [12] = "Columbia County";
	Florida [13] = "DeSoto County";
	Florida [14] = "Dixie County";
	Florida [15] = "Duval County";
	Florida [16] = "Escambia County";
	Florida [17] = "Flagler County";
	Florida [18] = "Franklin County";
	Florida [19] = "Gadsden County";
	Florida [20] = "Gilchrist County";
	Florida [21] = "Glades County";
	Florida [22] = "Gulf County";
	Florida [23] = "Hamilton County";
	Florida [24] = "Hardee County";
	Florida [25] = "Hendry County";
	Florida [26] = "Hernando County";
	Florida [27] = "Highlands County";
	Florida [28] = "Hillsborough County";
	Florida [29] = "Holmes County";
	Florida [30] = "Indian River County";
	Florida [31] = "Jackson County";
	Florida [32] = "Jefferson County";
	Florida [33] = "Lafayette County";
	Florida [34] = "Lake County";
	Florida [35] = "Lee County";
	Florida [36] = "Leon County";
	Florida [37] = "Levy County";
	Florida [38] = "Liberty County";
	Florida [39] = "Madison County";
	Florida [40] = "Manatee County";
	Florida [41] = "Marion County";
	Florida [42] = "Martin County";
	Florida [43] = "Miami-Dade County";
	Florida [44] = "Monroe County";
	Florida [45] = "Nassau County";
	Florida [46] = "Okaloosa County";
	Florida [47] = "Okeechobee County";
	Florida [48] = "Orange County";
	Florida [49] = "Osceola County";
	Florida [50] = "Palm Beach County";
	Florida [51] = "Pasco County";
	Florida [52] = "Pinellas County";
	Florida [53] = "Polk County";
	Florida [54] = "Putnam County";
	Florida [55] = "St. Johns County";
	Florida [56] = "St. Lucie County";
	Florida [57] = "Santa Rosa County";
	Florida [58] = "Sarasota County";
	Florida [59] = "Seminole County";
	Florida [60] = "Sumter County";
	Florida [61] = "Suwannee County";
	Florida [62] = "Taylor County";
	Florida [63] = "Union County";
	Florida [64] = "Volusia County";
	Florida [65] = "Wakulla County";
	Florida [66] = "Walton County";
	Florida [67] = "Washington County";
	
	var Georgia  = new Array();
	Georgia [0] = "SELECT A COUNTY";
	Georgia [1] = "Appling County";
	Georgia [2] = "Atkinson County";
	Georgia [3] = "Bacon County";
	Georgia [4] = "Baker County";
	Georgia [5] = "Baldwin County";
	Georgia [6] = "Banks County";
	Georgia [7] = "Barrow County";
	Georgia [8] = "Bartow County";
	Georgia [9] = "Ben Hill County";
	Georgia [10] = "Berrien County";
	Georgia [11] = "Bibb County";
	Georgia [12] = "Bleckley County";
	Georgia [13] = "Brantley County";
	Georgia [14] = "Brooks County";
	Georgia [15] = "Bryan County";
	Georgia [16] = "Bulloch County";
	Georgia [17] = "Burke County";
	Georgia [18] = "Butts County";
	Georgia [19] = "Calhoun County";
	Georgia [20] = "Camden County";
	Georgia [21] = "Candler County";
	Georgia [22] = "Carroll County";
	Georgia [23] = "Catoosa County";
	Georgia [24] = "Charlton County";
	Georgia [25] = "Chatham County";
	Georgia [26] = "Chattahoochee County";
	Georgia [27] = "Chattooga County";
	Georgia [28] = "Cherokee County";
	Georgia [29] = "Clarke County";
	Georgia [30] = "Clay County";
	Georgia [31] = "Clayton County";
	Georgia [32] = "Clinch County";
	Georgia [33] = "Cobb County";
	Georgia [34] = "Coffee County";
	Georgia [35] = "Colquitt County";
	Georgia [36] = "Columbia County";
	Georgia [37] = "Cook County";
	Georgia [38] = "Coweta County";
	Georgia [39] = "Crawford County";
	Georgia [40] = "Crisp County";
	Georgia [41] = "Dade County";
	Georgia [42] = "Dawson County";
	Georgia [43] = "Decatur County";
	Georgia [44] = "DeKalb County";
	Georgia [45] = "Dodge County";
	Georgia [46] = "Dooly County";
	Georgia [47] = "Dougherty County";
	Georgia [48] = "Douglas County";
	Georgia [49] = "Early County";
	Georgia [50] = "Echols County";
	Georgia [51] = "Effingham County";
	Georgia [52] = "Elbert County";
	Georgia [53] = "Emanuel County";
	Georgia [54] = "Evans County";
	Georgia [55] = "Fannin County";
	Georgia [56] = "Fayette County";
	Georgia [57] = "Floyd County";
	Georgia [58] = "Forsyth County";
	Georgia [59] = "Franklin County";
	Georgia [60] = "Fulton County";
	Georgia [61] = "Gilmer County";
	Georgia [62] = "Glascock County";
	Georgia [63] = "Glynn County";
	Georgia [64] = "Gordon County";
	Georgia [65] = "Grady County";
	Georgia [66] = "Greene County";
	Georgia [67] = "Gwinnett County";
	Georgia [68] = "Habersham County";
	Georgia [69] = "Hall County";
	Georgia [70] = "Hancock County";
	Georgia [71] = "Haralson County";
	Georgia [72] = "Harris County";
	Georgia [73] = "Hart County";
	Georgia [74] = "Heard County";
	Georgia [75] = "Henry County";
	Georgia [76] = "Houston County";
	Georgia [77] = "Irwin County";
	Georgia [78] = "Jackson County";
	Georgia [79] = "Jasper County";
	Georgia [80] = "Jeff Davis County";
	Georgia [81] = "Jefferson County";
	Georgia [82] = "Jenkins County";
	Georgia [83] = "Johnson County";
	Georgia [84] = "Jones County";
	Georgia [85] = "Lamar County";
	Georgia [86] = "Lanier County";
	Georgia [87] = "Laurens County";
	Georgia [88] = "Lee County";
	Georgia [89] = "Liberty County";
	Georgia [90] = "Lincoln County";
	Georgia [91] = "Long County";
	Georgia [92] = "Lowndes County";
	Georgia [93] = "Lumpkin County";
	Georgia [94] = "McDuffie County";
	Georgia [95] = "McIntosh County";
	Georgia [96] = "Macon County";
	Georgia [97] = "Madison County";
	Georgia [98] = "Marion County";
	Georgia [99] = "Meriwether County";
	Georgia [100] = "Miller County";
	Georgia [101] = "Mitchell County";
	Georgia [102] = "Monroe County";
	Georgia [103] = "Montgomery County";
	Georgia [104] = "Morgan County";
	Georgia [105] = "Murray County";
	Georgia [106] = "Muscogee County";
	Georgia [107] = "Newton County";
	Georgia [108] = "Oconee County";
	Georgia [109] = "Oglethorpe County";
	Georgia [110] = "Paulding County";
	Georgia [111] = "Peach County";
	Georgia [112] = "Pickens County";
	Georgia [113] = "Pierce County";
	Georgia [114] = "Pike County";
	Georgia [115] = "Polk County";
	Georgia [116] = "Pulaski County";
	Georgia [117] = "Putnam County";
	Georgia [118] = "Quitman County";
	Georgia [119] = "Rabun County";
	Georgia [120] = "Randolph County";
	Georgia [121] = "Richmond County";
	Georgia [122] = "Rockdale County";
	Georgia [123] = "Schley County";
	Georgia [124] = "Screven County";
	Georgia [125] = "Seminole County";
	Georgia [126] = "Spalding County";
	Georgia [127] = "Stephens County";
	Georgia [128] = "Stewart County";
	Georgia [129] = "Sumter County";
	Georgia [130] = "Talbot County";
	Georgia [131] = "Taliaferro County";
	Georgia [132] = "Tattnall County";
	Georgia [133] = "Taylor County";
	Georgia [134] = "Telfair County";
	Georgia [135] = "Terrell County";
	Georgia [136] = "Thomas County";
	Georgia [137] = "Tift County";
	Georgia [138] = "Toombs County";
	Georgia [139] = "Towns County";
	Georgia [140] = "Treutlen County";
	Georgia [141] = "Troup County";
	Georgia [142] = "Turner County";
	Georgia [143] = "Twiggs County";
	Georgia [144] = "Union County";
	Georgia [145] = "Upson County";
	Georgia [146] = "Walker County";
	Georgia [147] = "Walton County";
	Georgia [148] = "Ware County";
	Georgia [149] = "Warren County";
	Georgia [150] = "Washington County";
	Georgia [151] = "Wayne County";
	Georgia [152] = "Webster County";
	Georgia [153] = "Wheeler County";
	Georgia [154] = "White County";
	Georgia [155] = "Whitfield County";
	Georgia [156] = "Wilcox County";
	Georgia [157] = "Wilkes County";
	Georgia [158] = "Wilkinson County";
	Georgia [159] = "Worth County";
	
	var Hawaii = new Array();
	Hawaii [0] = "SELECT A COUNTY";
	Hawaii [1] = "Hawaii County";
	Hawaii [2] = "Honolulu County";
	Hawaii [3] = "Kalawao County";
	Hawaii [4] = "Kauai County";
	Hawaii [5] = "Maui County";
	
	var Idaho = new Array();
	Idaho [0] = "SELECT A COUNTY";
	Idaho [1] = "Ada County";
	Idaho [2] = "Adams County";
	Idaho [3] = "Bannock County";
	Idaho [4] = "Bear Lake County";
	Idaho [5] = "Benewah County";
	Idaho [6] = "Bingham County";
	Idaho [7] = "Blaine County";
	Idaho [8] = "Boise County";
	Idaho [9] = "Bonner County";
	Idaho [10] = "Bonneville County";
	Idaho [11] = "Boundary County";
	Idaho [12] = "Butte County";
	Idaho [13] = "Camas County";
	Idaho [14] = "Canyon County";
	Idaho [15] = "Caribou County";
	Idaho [16] = "Cassia County";
	Idaho [17] = "Clark County";
	Idaho [18] = "Clearwater County";
	Idaho [19] = "Custer County";
	Idaho [20] = "Elmore County";
	Idaho [21] = "Franklin County";
	Idaho [22] = "Fremont County";
	Idaho [23] = "Gem County";
	Idaho [24] = "Gooding County";
	Idaho [25] = "Idaho County";
	Idaho [26] = "Jefferson County";
	Idaho [27] = "Jerome County";
	Idaho [28] = "Kootenai County";
	Idaho [29] = "Latah County";
	Idaho [30] = "Lemhi County";
	Idaho [31] = "Lewis County";
	Idaho [32] = "Lincoln County";
	Idaho [33] = "Madison County";
	Idaho [34] = "Minidoka County";
	Idaho [35] = "Nez Perce County";
	Idaho [36] = "Oneida County";
	Idaho [37] = "Owyhee County";
	Idaho [38] = "Payette County";
	Idaho [39] = "Power County";
	Idaho [40] = "Shoshone County";
	Idaho [41] = "Teton County";
	Idaho [42] = "Twin Falls County";
	Idaho [43] = "Valley County";
	Idaho [44] = "Washington County";
	
	var Iowa = new Array();
	Iowa [0] = "SELECT A COUNTY";
	Iowa [1] = "Adair County";
	Iowa [2] = "Adams County";
	Iowa [3] = "Allamakee County";
	Iowa [4] = "Appanoose County";
	Iowa [5] = "Audubon County";
	Iowa [6] = "Benton County";
	Iowa [7] = "Black Hawk County";
	Iowa [8] = "Boone County";
	Iowa [9] = "Bremer County";
	Iowa [10] = "Buchanan County";
	Iowa [11] = "Buena Vista County";
	Iowa [12] = "Butler County";
	Iowa [13] = "Calhoun County";
	Iowa [14] = "Carroll County";
	Iowa [15] = "Cass County";
	Iowa [16] = "Cedar County";
	Iowa [17] = "Cerro Gordo County";
	Iowa [18] = "Cherokee County";
	Iowa [19] = "Chickasaw County";
	Iowa [20] = "Clarke County";
	Iowa [21] = "Clay County";
	Iowa [22] = "Clayton County";
	Iowa [23] = "Clinton County";
	Iowa [24] = "Crawford County";
	Iowa [25] = "Dallas County";
	Iowa [26] = "Davis County";
	Iowa [27] = "Decatur County";
	Iowa [28] = "Delaware County";
	Iowa [29] = "Des Moines County";
	Iowa [30] = "Dickinson County";
	Iowa [31] = "Dubuque County";
	Iowa [32] = "Emmet County";
	Iowa [33] = "Fayette County";
	Iowa [34] = "Floyd County";
	Iowa [35] = "Franklin County";
	Iowa [36] = "Fremont County";
	Iowa [37] = "Greene County";
	Iowa [38] = "Grundy County";
	Iowa [39] = "Guthrie County";
	Iowa [40] = "Hamilton County";
	Iowa [41] = "Hancock County";
	Iowa [42] = "Hardin County";
	Iowa [43] = "Harrison County";
	Iowa [44] = "Henry County";
	Iowa [45] = "Howard County";
	Iowa [46] = "Humboldt County";
	Iowa [47] = "Ida County";
	Iowa [48] = "Iowa County";
	Iowa [49] = "Jackson County";
	Iowa [50] = "Jasper County";
	Iowa [51] = "Jefferson County";
	Iowa [52] = "Johnson County";
	Iowa [53] = "Jones County";
	Iowa [54] = "Keokuk County";
	Iowa [55] = "Kossuth County";
	Iowa [56] = "Lee County";
	Iowa [57] = "Linn County";
	Iowa [58] = "Louisa County";
	Iowa [59] = "Lucas County";
	Iowa [60] = "Lyon County";
	Iowa [61] = "Madison County";
	Iowa [62] = "Mahaska County";
	Iowa [63] = "Marion County";
	Iowa [64] = "Marshall County";
	Iowa [65] = "Mills County";
	Iowa [66] = "Mitchell County";
	Iowa [67] = "Monona County";
	Iowa [68] = "Monroe County";
	Iowa [69] = "Montgomery County";
	Iowa [70] = "Muscatine County";
	Iowa [71] = "O'Brien County";
	Iowa [72] = "Osceola County";
	Iowa [73] = "Page County";
	Iowa [74] = "Palo Alto County";
	Iowa [75] = "Plymouth County";
	Iowa [76] = "Pocahontas County";
	Iowa [77] = "Polk County";
	Iowa [78] = "Pottawattamie County";
	Iowa [79] = "Poweshiek County";
	Iowa [80] = "Ringgold County";
	Iowa [81] = "Sac County";
	Iowa [82] = "Scott County";
	Iowa [83] = "Shelby County";
	Iowa [84] = "Sioux County";
	Iowa [85] = "Story County";
	Iowa [86] = "Tama County";
	Iowa [87] = "Taylor County";
	Iowa [88] = "Union County";
	Iowa [89] = "Van Buren County";
	Iowa [90] = "Wapello County";
	Iowa [91] = "Warren County";
	Iowa [92] = "Washington County";
	Iowa [93] = "Wayne County";
	Iowa [94] = "Webster County";
	Iowa [95] = "Winnebago County";
	Iowa [96] = "Winneshiek County";
	Iowa [97] = "Woodbury County";
	Iowa [98] = "Worth County";
	Iowa [99] = "Wright County";
	
	var Illinois = new Array();
	Illinois [0] = "SELECT A COUNTY";
	Illinois [1] = "Adams County";
	Illinois [2] = "Alexander County";
	Illinois [3] = "Bond County";
	Illinois [4] = "Boone County";
	Illinois [5] = "Brown County";
	Illinois [6] = "Bureau County";
	Illinois [7] = "Calhoun County";
	Illinois [8] = "Carroll County";
	Illinois [9] = "Cass County";
	Illinois [10] = "Champaign County";
	Illinois [11] = "Christian County";
	Illinois [12] = "Clark County";
	Illinois [13] = "Clay County";
	Illinois [14] = "Clinton County";
	Illinois [15] = "Coles County";
	Illinois [16] = "Cook County";
	Illinois [17] = "Crawford County";
	Illinois [18] = "Cumberland County";
	Illinois [19] = "DeKalb County";
	Illinois [20] = "De Witt County";
	Illinois [21] = "Douglas County";
	Illinois [22] = "DuPage County";
	Illinois [23] = "Edgar County";
	Illinois [24] = "Edwards County";
	Illinois [25] = "Effingham County";
	Illinois [26] = "Fayette County";
	Illinois [27] = "Ford County";
	Illinois [28] = "Franklin County";
	Illinois [29] = "Fulton County";
	Illinois [30] = "Gallatin County";
	Illinois [31] = "Greene County";
	Illinois [32] = "Grundy County";
	Illinois [33] = "Hamilton County";
	Illinois [34] = "Hancock County";
	Illinois [35] = "Hardin County";
	Illinois [36] = "Henderson County";
	Illinois [37] = "Henry County";
	Illinois [38] = "Iroquois County";
	Illinois [39] = "Jackson County";
	Illinois [40] = "Jasper County";
	Illinois [41] = "Jefferson County";
	Illinois [42] = "Jersey County";
	Illinois [43] = "Jo Daviess County";
	Illinois [44] = "Johnson County";
	Illinois [45] = "Kane County";
	Illinois [46] = "Kankakee County";
	Illinois [47] = "Kendall County";
	Illinois [48] = "Knox County";
	Illinois [49] = "Lake County";
	Illinois [50] = "La Salle County";
	Illinois [51] = "Lawrence County";
	Illinois [52] = "Lee County";
	Illinois [53] = "Livingston County";
	Illinois [54] = "Logan County";
	Illinois [55] = "McDonough County";
	Illinois [56] = "McHenry County";
	Illinois [57] = "McLean County";
	Illinois [58] = "Macon County";
	Illinois [59] = "Macoupin County";
	Illinois [60] = "Madison County";
	Illinois [61] = "Marion County";
	Illinois [62] = "Marshall County";
	Illinois [63] = "Mason County";
	Illinois [64] = "Massac County";
	Illinois [65] = "Menard County";
	Illinois [66] = "Mercer County";
	Illinois [67] = "Monroe County";
	Illinois [68] = "Montgomery County";
	Illinois [68] = "Morgan County";
	Illinois [69] = "Moultrie County";
	Illinois [70] = "Ogle County";
	Illinois [71] = "Peoria County";
	Illinois [72] = "Perry County";
	Illinois [73] = "Piatt County";
	Illinois [75] = "Pike County";
	Illinois [76] = "Pope County";
	Illinois [77] = "Pulaski County";
	Illinois [78] = "Putnam County";
	Illinois [79] = "Randolph County";
	Illinois [80] = "Richland County";
	Illinois [81] = "Rock Island County";
	Illinois [82] = "St. Clair County";
	Illinois [83] = "Saline County";
	Illinois [84] = "Sangamon County";
	Illinois [85] = "Schuyler County";
	Illinois [86] = "Scott County";
	Illinois [87] = "Shelby County";
	Illinois [88] = "Stark County";
	Illinois [89] = "Stephenson County";
	Illinois [90] = "Tazewell County";
	Illinois [91] = "Union County";
	Illinois [92] = "Vermilion County";
	Illinois [93] = "Wabash County";
	Illinois [94] = "Warren County";
	Illinois [95] = "Washington County";
	Illinois [96] = "Wayne County";
	Illinois [97] = "White County";
	Illinois [98] = "Whiteside County";
	Illinois [99] = "Will County";
	Illinois [100] = "Williamson County";
	Illinois [110] = "Winnebago County";
	Illinois [111] = "Woodford County";
	
	
	var Indiana = new Array();
	Indiana [0] = "SELECT A COUNTY";
	Indiana [1] = "Adams County";
	Indiana [2] = "Allen County";
	Indiana [3] = "Bartholomew County";
	Indiana [4] = "Benton County";
	Indiana [5] = "Blackford County";
	Indiana [6] = "Boone County";
	Indiana [7] = "Brown County";
	Indiana [8] = "Carroll County";
	Indiana [9] = "Cass County";
	Indiana [10] = "Clark County";
	Indiana [11] = "Clay County";
	Indiana [12] = "Clinton County";
	Indiana [13] = "Crawford County";
	Indiana [14] = "Daviess County";
	Indiana [15] = "Dearborn County";
	Indiana [16] = "Decatur County";
	Indiana [17] = "De Kalb County";
	Indiana [18] = "Delaware County";
	Indiana [19] = "Dubois County";
	Indiana [20] = "Elkhart County";
	Indiana [21] = "Fayette County";
	Indiana [22] = "Floyd County";
	Indiana [23] = "Fountain County";
	Indiana [24] = "Franklin County";
	Indiana [25] = "Fulton County";
	Indiana [26] = "Gibson County";
	Indiana [27] = "Grant County";
	Indiana [28] = "Greene County";
	Indiana [29] = "Hamilton County";
	Indiana [30] = "Hancock County";
	Indiana [31] = "Harrison County";
	Indiana [32] = "Hendricks County";
	Indiana [33] = "Henry County";
	Indiana [34] = "Howard County";
	Indiana [35] = "Huntington County";
	Indiana [36] = "Jackson County";
	Indiana [37] = "Jasper County";
	Indiana [38] = "Jay County";
	Indiana [39] = "Jefferson County";
	Indiana [40] = "Jennings County";
	Indiana [41] = "Johnson County";
	Indiana [42] = "Knox County";
	Indiana [43] = "Kosciusko County";
	Indiana [44] = "Lagrange County";
	Indiana [45] = "Lake County";
	Indiana [46] = "La Porte County";
	Indiana [47] = "Lawrence County";
	Indiana [48] = "Madison County";
	Indiana [49] = "Marion County";
	Indiana [50] = "Marshall County";
	Indiana [51] = "Martin County";
	Indiana [52] = "Miami County";
	Indiana [53] = "Monroe County";
	Indiana [54] = "Montgomery County";
	Indiana [55] = "Morgan County";
	Indiana [56] = "Newton County";
	Indiana [57] = "Noble County";
	Indiana [58] = "Ohio County";
	Indiana [59] = "Orange County";
	Indiana [60] = "Owen County";
	Indiana [61] = "Parke County";
	Indiana [62] = "Perry County";
	Indiana [63] = "Pike County";
	Indiana [64] = "Porter County";
	Indiana [65] = "Posey County";
	Indiana [66] = "Pulaski County";
	Indiana [67] = "Putnam County";
	Indiana [68] = "Randolph County";
	Indiana [69] = "Ripley County";
	Indiana [70] = "Rush County";
	Indiana [71] = "St. Joseph County";
	Indiana [72] = "Scott County";
	Indiana [73] = "Shelby County";
	Indiana [74] = "Spencer County";
	Indiana [75] = "Starke County";
	Indiana [76] = "Steuben County";
	Indiana [77] = "Sullivan County";
	Indiana [78] = "Switzerland County";
	Indiana [79] = "Tippecanoe County";
	Indiana [80] = "Tipton County";
	Indiana [81] = "Union County";
	Indiana [82] = "Vanderburgh County";
	Indiana [83] = "Vermillion County";
	Indiana [84] = "Vigo County";
	Indiana [85] = "Wabash County";
	Indiana [86] = "Warren County";
	Indiana [87] = "Warrick County";
	Indiana [88] = "Washington County";
	Indiana [89] = "Wayne County";
	Indiana [90] = "Wells County";
	Indiana [91] = "White County";
	Indiana [92] = "Whitley County";
	
	var Kansas = new Array();
	Kansas [0] = "SELECT A COUNTY";
	Kansas [1] = "Allen County";
	Kansas [2] = "Anderson County";
	Kansas [3] = "Atchison County";
	Kansas [4] = "Barber County";
	Kansas [5] = "Barton County";
	Kansas [6] = "Bourbon County";
	Kansas [7] = "Brown County";
	Kansas [8] = "Butler County";
	Kansas [9] = "Chase County";
	Kansas [10] = "Chautauqua County";
	Kansas [11] = "Cherokee County";
	Kansas [12] = "Cheyenne County";
	Kansas [13] = "Clark County";
	Kansas [14] = "Clay County";
	Kansas [15] = "Cloud County";
	Kansas [16] = "Coffey County";
	Kansas [17] = "Comanche County";
	Kansas [18] = "Cowley County";
	Kansas [19] = "Crawford County";
	Kansas [20] = "Decatur County";
	Kansas [21] = "Dickinson County";
	Kansas [22] = "Doniphan County";
	Kansas [23] = "Douglas County";
	Kansas [24] = "Edwards County";
	Kansas [25] = "Elk County";
	Kansas [26] = "Ellis County";
	Kansas [27] = "Ellsworth County";
	Kansas [28] = "Finney County";
	Kansas [29] = "Ford County";
	Kansas [30] = "Franklin County";
	Kansas [31] = "Geary County";
	Kansas [32] = "Gove County";
	Kansas [33] = "Graham County";
	Kansas [34] = "Grant County";
	Kansas [35] = "Gray County";
	Kansas [36] = "Greeley County";
	Kansas [37] = "Greenwood County";
	Kansas [38] = "Hamilton County";
	Kansas [39] = "Harper County";
	Kansas [40] = "Harvey County";
	Kansas [41] = "Haskell County";
	Kansas [42] = "Hodgeman County";
	Kansas [43] = "Jackson County";
	Kansas [44] = "Jefferson County";
	Kansas [45] = "Jewell County";
	Kansas [46] = "Johnson County";
	Kansas [47] = "Kearny County";
	Kansas [48] = "Kingman County";
	Kansas [49] = "Kiowa County";
	Kansas [50] = "Labette County";
	Kansas [51] = "Lane County";
	Kansas [52] = "Leavenworth County";
	Kansas [53] = "Lincoln County";
	Kansas [54] = "Linn County";
	Kansas [55] = "Logan County";
	Kansas [56] = "Lyon County";
	Kansas [57] = "McPherson County";
	Kansas [58] = "Marion County";
	Kansas [59] = "Marshall County";
	Kansas [60] = "Meade County";
	Kansas [61] = "Miami County";
	Kansas [62] = "Mitchell County";
	Kansas [63] = "Montgomery County";
	Kansas [64] = "Morris County";
	Kansas [65] = "Morton County";
	Kansas [66] = "Nemaha County";
	Kansas [67] = "Neosho County";
	Kansas [68] = "Ness County";
	Kansas [69] = "Norton County";
	Kansas [70] = "Osage County";
	Kansas [71] = "Osborne County";
	Kansas [72] = "Ottawa County";
	Kansas [73] = "Pawnee County";
	Kansas [74] = "Phillips County";
	Kansas [75] = "Pottawatomie County";
	Kansas [76] = "Pratt County";
	Kansas [77] = "Rawlins County";
	Kansas [78] = "Reno County";
	Kansas [79] = "Republic County";
	Kansas [80] = "Rice County";
	Kansas [81] = "Riley County";
	Kansas [82] = "Rooks County";
	Kansas [83] = "Rush County";
	Kansas [84] = "Russell County";
	Kansas [85] = "Saline County";
	Kansas [86] = "Scott County";
	Kansas [87] = "Sedgwick County";
	Kansas [88] = "Seward County";
	Kansas [89] = "Shawnee County";
	Kansas [90] = "Sheridan County";
	Kansas [91] = "Sherman County";
	Kansas [92] = "Smith County";
	Kansas [93] = "Stafford County";
	Kansas [94] = "Stanton County";
	Kansas [95] = "Stevens County";
	Kansas [96] = "Sumner County";
	Kansas [97] = "Thomas County";
	Kansas [98] = "Trego County";
	Kansas [99] = "Wabaunsee County";
	Kansas [100] = "Wallace County";
	Kansas [101] = "Washington County";
	Kansas [102] = "Wichita County";
	Kansas [103] = "Wilson County";
	Kansas [104] = "Woodson County";
	Kansas [105] = "Wyandotte County";

        var Kentucky = new Array();
        Kentucky [0] = "SELECT A COUNTY";
        Kentucky [1] = "Adair County";
        Kentucky [2] = "Allen County";
        Kentucky [3] = "Anderson County";
        Kentucky [4] = "Ballard County";
        Kentucky [5] = "Barren County";
        Kentucky [6] = "Bath County";
        Kentucky [7] = "Bell County";
        Kentucky [8] = "Boone County";
        Kentucky [9] = "Bourbon County";
        Kentucky [10] = "Boyd County";
        Kentucky [11] = "Boyle County";
        Kentucky [12] = "Bracken County";
        Kentucky [13] = "Breathitt County";
        Kentucky [14] = "Breckinridge County";
        Kentucky [15] = "Bullitt County";
        Kentucky [16] = "Butler County";
        Kentucky [17] = "Caldwell County";
        Kentucky [18] = "Calloway County";
        Kentucky [19] = "Campbell County";
        Kentucky [20] = "Carlisle County";
        Kentucky [21] = "Carroll County";
        Kentucky [22] = "Carter County";
        Kentucky [23] = "Casey County";
        Kentucky [24] = "Christian County";
        Kentucky [25] = "Clark County";
        Kentucky [26] = "Clay County";
        Kentucky [27] = "Clinton County";
        Kentucky [28] = "Crittenden County";
        Kentucky [29] = "Cumberland County";
        Kentucky [30] = "Daviess County";
        Kentucky [31] = "Edmonson County";
        Kentucky [32] = "Elliott County";
        Kentucky [33] = "Estill County";
        Kentucky [34] = "Fayette County";
        Kentucky [35] = "Fleming County";
        Kentucky [36] = "Floyd County";
        Kentucky [37] = "Franklin County";
        Kentucky [38] = "Fulton County";
        Kentucky [39] = "Gallatin County";
        Kentucky [40] = "Garrard County";
        Kentucky [41] = "Grant County";
        Kentucky [42] = "Graves County";
        Kentucky [43] = "Grayson County";
        Kentucky [44] = "Green County";
        Kentucky [45] = "Greenup County";
        Kentucky [46] = "Hancock County";
        Kentucky [47] = "Hardin County";
        Kentucky [48] = "Harlan County";
        Kentucky [49] = "Harrison County";
        Kentucky [50] = "Hart County";
        Kentucky [51] = "Henderson County";
        Kentucky [52] = "Henry County";
        Kentucky [53] = "Hickman County";
        Kentucky [54] = "Hopkins County";
        Kentucky [55] = "Jackson County";
        Kentucky [56] = "Jefferson County";
        Kentucky [57] = "Jessamine County";
        Kentucky [58] = "Johnson County";
        Kentucky [59] = "Kenton County";
        Kentucky [60] = "Knott County";
        Kentucky [61] = "Knox County";
        Kentucky [62] = "Larue County";
        Kentucky [63] = "Laurel County";
        Kentucky [64] = "Lawrence County";
        Kentucky [65] = "Lee County";
        Kentucky [66] = "Leslie County";
        Kentucky [67] = "Letcher County";
        Kentucky [68] = "Lewis County";
        Kentucky [69] = "Lincoln County";
        Kentucky [70] = "Livingston County";
        Kentucky [71] = "Logan County";
        Kentucky [72] = "Lyon County";
        Kentucky [73] = "McCracken County";
        Kentucky [74] = "McCreary County";
        Kentucky [75] = "McLean County";
        Kentucky [76] = "Madison County";
        Kentucky [77] = "Magoffin County";
        Kentucky [78] = "Marion County";
        Kentucky [79] = "Marshall County";
        Kentucky [80] = "Martin County";
        Kentucky [81] = "Mason County";
        Kentucky [82] = "Meade County";
        Kentucky [83] = "Menifee County";
        Kentucky [84] = "Mercer County";
        Kentucky [85] = "Metcalfe County";
        Kentucky [86] = "Monroe County";
        Kentucky [87] = "Montgomery County";
        Kentucky [88] = "Morgan County";
        Kentucky [89] = "Muhlenberg County";
        Kentucky [90] = "Nelson County";
        Kentucky [91] = "Nicholas County";
        Kentucky [92] = "Ohio County";
        Kentucky [93] = "Oldham County";
        Kentucky [94] = "Owen County";
        Kentucky [95] = "Owsley County";
        Kentucky [96] = "Pendleton County";
        Kentucky [97] = "Perry County";
        Kentucky [98] = "Pike County";
        Kentucky [99] = "Powell County";
        Kentucky [100] = "Pulaski County";
        Kentucky [101] = "Robertson County";
        Kentucky [102] = "Rockcastle County";
        Kentucky [103] = "Rowan County";
        Kentucky [104] = "Russell County";
        Kentucky [105] = "Scott County";
        Kentucky [106] = "Shelby County";
        Kentucky [107] = "Simpson County";
        Kentucky [108] = "Spencer County";
        Kentucky [109] = "Taylor County";
        Kentucky [110] = "Todd County";
        Kentucky [111] = "Trigg County";
        Kentucky [112] = "Trimble County";
        Kentucky [113] = "Union County";
        Kentucky [114] = "Warren County";
        Kentucky [115] = "Washington County";
        Kentucky [116] = "Wayne County";
        Kentucky [117] = "Webster County";
        Kentucky [118] = "Whitley County";
        Kentucky [119] = "Wolfe County";
        Kentucky [120] = "Woodford County";
       
       
        var Louisiana = new Array();
        Louisiana [0] = "SELECT A COUNTY";
        Louisiana [1] = "Acadia Parish";
        Louisiana [2] = "Allen Parish";
        Louisiana [3] = "Ascension Parish";
        Louisiana [4] = "Assumption Parish";
        Louisiana [5] = "Avoyelles Parish";
        Louisiana [6] = "Beauregard Parish";
        Louisiana [7] = "Bienville Parish";
        Louisiana [8] = "Bossier Parish";
        Louisiana [9] = "Caddo Parish";
        Louisiana [10] = "Calcasieu Parish";
        Louisiana [11] = "Caldwell Parish";
        Louisiana [12] = "Cameron Parish";
        Louisiana [13] = "Catahoula Parish";
        Louisiana [14] = "Claiborne Parish";
        Louisiana [15] = "Concordia Parish";
        Louisiana [16] = "De Soto Parish";
        Louisiana [17] = "East Baton Rouge Parish";
        Louisiana [18] = "East Carroll Parish";
        Louisiana [19] = "East Feliciana Parish";
        Louisiana [20] = "Evangeline Parish";
        Louisiana [21] = "Franklin Parish";
        Louisiana [22] = "Grant Parish";
        Louisiana [23] = "Iberia Parish";
        Louisiana [24] = "Iberville Parish";
        Louisiana [25] = "Jackson Parish";
        Louisiana [26] = "Jefferson Parish";
        Louisiana [27] = "Jefferson Davis Parish";
        Louisiana [28] = "Lafayette Parish";
        Louisiana [29] = "Lafourche Parish";
        Louisiana [30] = "La Salle Parish";
        Louisiana [31] = "Lincoln Parish";
        Louisiana [32] = "Livingston Parish";
        Louisiana [33] = "Madison Parish";
        Louisiana [34] = "Morehouse Parish";
        Louisiana [35] = "Natchitoches Parish";
        Louisiana [36] = "Orleans Parish";
        Louisiana [37] = "Ouachita Parish";
        Louisiana [38] = "Plaquemines Parish";
        Louisiana [39] = "Pointe Coupee Parish";
        Louisiana [40] = "Rapides Parish";
        Louisiana [41] = "Red River Parish";
        Louisiana [42] = "Richland Parish";
        Louisiana [43] = "Sabine Parish";
        Louisiana [44] = "St. Bernard Parish";
        Louisiana [45] = "St. Charles Parish";
        Louisiana [46] = "St. Helena Parish";
        Louisiana [47] = "St. James Parish";
        Louisiana [48] = "St. John the Baptist Parish";
        Louisiana [49] = "St. Landry Parish";
        Louisiana [50] = "St. Martin Parish";
        Louisiana [51] = "St. Mary Parish";
        Louisiana [52] = "St. Tammany Parish";
        Louisiana [53] = "Tangipahoa Parish";
        Louisiana [54] = "Tensas Parish";
        Louisiana [55] = "Terrebonne Parish";
        Louisiana [56] = "Union Parish";
        Louisiana [57] = "Vermilion Parish";
        Louisiana [58] = "Vernon Parish";
        Louisiana [59] = "Washington Parish";
        Louisiana [60] = "Webster Parish";
        Louisiana [61] = "West Baton Rouge Parish";
        Louisiana [62] = "West Carroll Parish";
        Louisiana [63] = "West Feliciana Parish";
        Louisiana [64] = "Winn Parish";   
        
        var Massachusetts = new Array();
        Massachusetts [0] = "SELECT A COUNTY";
        Massachusetts [1] = "Barnstable County";
        Massachusetts [2] = "Berkshire County";
        Massachusetts [3] = "Bristol County";
        Massachusetts [4] = "Dukes County";
        Massachusetts [5] = "Essex County";
        Massachusetts [6] = "Franklin County";
        Massachusetts [7] = "Hampden County";
        Massachusetts [8] = "Hampshire County";
        Massachusetts [9] = "Middlesex County";
        Massachusetts [10] = "Nantucket County";
        Massachusetts [11] = "Norfolk County";
        Massachusetts [12] = "Plymouth County";
        Massachusetts [13] = "Suffolk County";
        Massachusetts [14] = "Worcester County"; 
        
        var Maryland = new Array();
        Maryland [0] = "SELECT A COUNTY";
        Maryland [1] = "Allegany County";
        Maryland [2] = "Anne Arundel County";
        Maryland [3] = "Baltimore County";
        Maryland [4] = "Calvert County";
        Maryland [5] = "Caroline County";
        Maryland [6] = "Carroll County";
        Maryland [7] = "Cecil County";
        Maryland [8] = "Charles County";
        Maryland [9] = "Dorchester County";
        Maryland [10] = "Frederick County";
        Maryland [11] = "Garrett County";
        Maryland [12] = "Harford County";
        Maryland [13] = "Howard County";
        Maryland [14] = "Kent County";
        Maryland [15] = "Montgomery County";
        Maryland [16] = "Prince George's County";
        Maryland [17] = "Queen Anne's County";
        Maryland [18] = "St. Mary's County";
        Maryland [19] = "Somerset County";
        Maryland [20] = "Talbot County";
        Maryland [21] = "Washington County";
        Maryland [22] = "Wicomico County";
        Maryland [23] = "Worcester County";
        Maryland [24] = "Baltimore city";
        
        var Maine = new Array();
        Maine [0] = "SELECT A COUNTY";
        Maine [1] = "Androscoggin County";
        Maine [2] = "Aroostook County";
        Maine [3] = "Cumberland County";
        Maine [4] = "Franklin County";
        Maine [5] = "Hancock County";
        Maine [6] = "Kennebec County";
        Maine [7] = "Knox County";
        Maine [8] = "Lincoln County";
        Maine [9] = "Oxford County";
        Maine [10] = "Penobscot County";
        Maine [11] = "Piscataquis County";
        Maine [12] = "Sagadahoc County";
        Maine [13] = "Somerset County";
        Maine [14] = "Waldo County";
        Maine [15] = "Washington County";
        Maine [16] = "York County";
        
        var Michigan = new Array();
        Michigan[0] = "SELECT A COUNTY";
        Michigan[1] = "Alcona County";
        Michigan[2] = "Alger County";
        Michigan[3] = "Allegan County";
        Michigan[4] = "Alpena County";
        Michigan[5] = "Antrim County";
        Michigan[6] = "Arenac County";
        Michigan[7] = "Baraga County";
        Michigan[8] = "Barry County";
        Michigan[9] = "Bay County";
        Michigan[10] = "Benzie County";
        Michigan[11] = "Berrien County";
        Michigan[12] = "Branch County";
        Michigan[13] = "Calhoun County";
        Michigan[14] = "Cass County";
        Michigan[15] = "Charlevoix County";
        Michigan[16] = "Cheboygan County";
        Michigan[17] = "Chippewa County";
        Michigan[18] = "Clare County";
        Michigan[19] = "Clinton County";
        Michigan[20] = "Crawford County";
        Michigan[21] = "Delta County";
        Michigan[22] = "Dickinson County";
        Michigan[23] = "Eaton County";
        Michigan[24] = "Emmet County";
        Michigan[25] = "Genesee County";
        Michigan[26] = "Gladwin County";
        Michigan[27] = "Gogebic County";
        Michigan[28] = "Grand Traverse County";
        Michigan[29] = "Gratiot County";
        Michigan[30] = "Hillsdale County";
        Michigan[31] = "Houghton County";
        Michigan[32] = "Huron County";
        Michigan[33] = "Ingham County";
        Michigan[34] = "Ionia County";
        Michigan[35] = "Iosco County";
        Michigan[36] = "Iron County";
        Michigan[37] = "Isabella County";
        Michigan[38] = "Jackson County";
        Michigan[39] = "Kalamazoo County";
        Michigan[40] = "Kalkaska County";
        Michigan[41] = "Kent County";
        Michigan[42] = "Keweenaw County";
        Michigan[43] = "Lake County";
        Michigan[44] = "Lapeer County";
        Michigan[45] = "Leelanau County";
        Michigan[46] = "Lenawee County";
        Michigan[47] = "Livingston County";
        Michigan[48] = "Luce County";
        Michigan[49] = "Mackinac County";
        Michigan[50] = "Macomb County";
        Michigan[51] = "Manistee County";
        Michigan[52] = "Marquette County";
        Michigan[53] = "Mason County";
        Michigan[54] = "Mecosta County";
        Michigan[55] = "Menominee County";
        Michigan[56] = "Midland County";
        Michigan[57] = "Missaukee County";
        Michigan[58] = "Monroe County";
        Michigan[59] = "Montcalm County";
        Michigan[60] = "Montmorency County";
        Michigan[61] = "Muskegon County";
        Michigan[62] = "Newaygo County";
        Michigan[63] = "Oakland County";
        Michigan[64] = "Oceana County";
        Michigan[65] = "Ogemaw County";
        Michigan[66] = "Ontonagon County";
        Michigan[67] = "Osceola County";
        Michigan[68] = "Oscoda County";
        Michigan[69] = "Otsego County";
        Michigan[70] = "Ottawa County";
        Michigan[71] = "Presque Isle County";
        Michigan[72] = "Roscommon County";
        Michigan[73] = "Saginaw County";
        Michigan[74] = "St. Clair County";
        Michigan[75] = "St. Joseph County";
        Michigan[76] = "Sanilac County";
        Michigan[77] = "Schoolcraft County";
        Michigan[78] = "Shiawassee County";
        Michigan[79] = "Tuscola County";
        Michigan[80] = "Van Buren County";
        Michigan[81] = "Washtenaw County";
        Michigan[82] = "Wayne County";
        Michigan[83] = "Wexford County";
        
        var Minnesota = new Array();
        Minnesota [0] = "SELECT A COUNTY";
        Minnesota [1] = "Aitkin County";
        Minnesota [2] = "Anoka County";
        Minnesota [3] = "Becker County";
        Minnesota [4] = "Beltrami County";
        Minnesota [5] = "Benton County";
        Minnesota [6] = "Big Stone County";
        Minnesota [7] = "Blue Earth County";
        Minnesota [8] = "Brown County";
        Minnesota [9] = "Carlton County";
        Minnesota [10] = "Carver County";
        Minnesota [11] = "Cass County";
        Minnesota [12] = "Chippewa County";
        Minnesota [13] = "Chisago County";
        Minnesota [14] = "Clay County";
        Minnesota [15] = "Clearwater County";
        Minnesota [16] = "Cook County";
        Minnesota [17] = "Cottonwood County";
        Minnesota [18] = "Crow Wing County";
        Minnesota [19] = "Dakota County";
        Minnesota [20] = "Dodge County";
        Minnesota [21] = "Douglas County";
        Minnesota [22] = "Faribault County";
        Minnesota [23] = "Fillmore County";
        Minnesota [24] = "Freeborn County";
        Minnesota [25] = "Goodhue County";
        Minnesota [26] = "Grant County";
        Minnesota [27] = "Hennepin County";
        Minnesota [28] = "Houston County";
        Minnesota [29] = "Hubbard County";
        Minnesota [30] = "Isanti County";
        Minnesota [31] = "Itasca County";
        Minnesota [32] = "Jackson County";
        Minnesota [33] = "Kanabec County";
        Minnesota [34] = "Kandiyohi County";
        Minnesota [35] = "Kittson County";
        Minnesota [36] = "Koochiching County";
        Minnesota [37] = "Lac qui Parle County";
        Minnesota [38] = "Lake County";
        Minnesota [39] = "Lake of the Woods County";
        Minnesota [40] = "Le Sueur County";
        Minnesota [41] = "Lincoln County";
        Minnesota [42] = "Lyon County";
        Minnesota [43] = "McLeod County";
        Minnesota [44] = "Mahnomen County";
        Minnesota [45] = "Marshall County";
        Minnesota [46] = "Martin County";
        Minnesota [47] = "Meeker County";
        Minnesota [48] = "Mille Lacs County";
        Minnesota [49] = "Morrison County";
        Minnesota [50] = "Mower County";
        Minnesota [51] = "Murray County";
        Minnesota [52] = "Nicollet County";
        Minnesota [53] = "Nobles County";
        Minnesota [54] = "Norman County";
        Minnesota [55] = "Olmsted County";
        Minnesota [56] = "Otter Tail County";
        Minnesota [57] = "Pennington County";
        Minnesota [58] = "Pine County";
        Minnesota [59] = "Pipestone County";
        Minnesota [60] = "Polk County";
        Minnesota [61] = "Pope County";
        Minnesota [62] = "Ramsey County";
        Minnesota [63] = "Red Lake County";
        Minnesota [64] = "Redwood County";
        Minnesota [65] = "Renville County";
        Minnesota [66] = "Rice County";
        Minnesota [67] = "Rock County";
        Minnesota [68] = "Roseau County";
        Minnesota [69] = "St. Louis County";
        Minnesota [70] = "Scott County";
        Minnesota [71] = "Sherburne County";
        Minnesota [72] = "Sibley County";
        Minnesota [73] = "Stearns County";
        Minnesota [74] = "Steele County";
        Minnesota [75] = "Stevens County";
        Minnesota [76] = "Swift County";
        Minnesota [77] = "Todd County";
        Minnesota [78] = "Traverse County";
        Minnesota [79] = "Wabasha County";
        Minnesota [80] = "Wadena County";
        Minnesota [81] = "Waseca County";
        Minnesota [82] = "Washington County";
        Minnesota [83] = "Watonwan County";
        Minnesota [84] = "Wilkin County";
        Minnesota [85] = "Winona County";
        Minnesota [86] = "Wright County";
        Minnesota [87] = "Yellow Medicine County";
        
        var Missouri = new Array();
        Missouri[0] = "SELECT A COUNTY";
        Missouri[1] = "Adair County";
        Missouri[2] = "Andrew County";
        Missouri[3] = "Atchison County";
        Missouri[4] = "Audrain County";
        Missouri[5] = "Barry County";
        Missouri[6] = "Barton County";
        Missouri[7] = "Bates County";
        Missouri[8] = "Benton County";
        Missouri[9] = "Bollinger County";
        Missouri[10] = "Boone County";
        Missouri[11] = "Buchanan County";
        Missouri[12] = "Butler County";
        Missouri[13] = "Caldwell County";
        Missouri[14] = "Callaway County";
        Missouri[15] = "Camden County";
        Missouri[16] = "Cape Girardeau County";
        Missouri[17] = "Carroll County";
        Missouri[18] = "Carter County";
        Missouri[19] = "Cass County";
        Missouri[20] = "Cedar County";
        Missouri[21] = "Chariton County";
        Missouri[22] = "Christian County";
        Missouri[23] = "Clark County";
        Missouri[24] = "Clay County";
        Missouri[25] = "Clinton County";
        Missouri[26] = "Cole County";
        Missouri[27] = "Cooper County";
        Missouri[28] = "Crawford County";
        Missouri[29] = "Dade County";
        Missouri[30] = "Dallas County";
        Missouri[31] = "Daviess County";
        Missouri[32] = "DeKalb County";
        Missouri[33] = "Dent County";
        Missouri[34] = "Douglas County";
        Missouri[35] = "Dunklin County";
        Missouri[36] = "Franklin County";
        Missouri[37] = "Gasconade County";
        Missouri[38] = "Gentry County";
        Missouri[39] = "Greene County";
        Missouri[40] = "Grundy County";
        Missouri[41] = "Harrison County";
        Missouri[42] = "Henry County";
        Missouri[43] = "Hickory County";
        Missouri[44] = "Holt County";
        Missouri[45] = "Howard County";
        Missouri[46] = "Howell County";
        Missouri[47] = "Iron County";
        Missouri[48] = "Jackson County";
        Missouri[49] = "Jasper County";
        Missouri[50] = "Jefferson County";
        Missouri[51] = "Johnson County";
        Missouri[52] = "Knox County";
        Missouri[53] = "Laclede County";
        Missouri[54] = "Lafayette County";
        Missouri[55] = "Lawrence County";
        Missouri[56] = "Lewis County";
        Missouri[57] = "Lincoln County";
        Missouri[58] = "Linn County";
        Missouri[59] = "Livingston County";
        Missouri[60] = "McDonald County";
        Missouri[61] = "Macon County";
        Missouri[62] = "Madison County";
        Missouri[63] = "Maries County";
        Missouri[64] = "Marion County";
        Missouri[65] = "Mercer County";
        Missouri[66] = "Miller County";
        Missouri[67] = "Mississippi County";
        Missouri[68] = "Moniteau County";
        Missouri[69] = "Monroe County";
        Missouri[70] = "Montgomery County";
        Missouri[71] = "Morgan County";
        Missouri[72] = "New Madrid County";
        Missouri[73] = "Newton County";
        Missouri[74] = "Nodaway County";
        Missouri[75] = "Oregon County";
        Missouri[76] = "Osage County";
        Missouri[77] = "Ozark County";
        Missouri[78] = "Pemiscot County";
        Missouri[79] = "Perry County";
        Missouri[80] = "Pettis County";
        Missouri[81] = "Phelps County";
        Missouri[82] = "Pike County";
        Missouri[83] = "Platte County";
        Missouri[84] = "Polk County";
        Missouri[85] = "Pulaski County";
        Missouri[86] = "Putnam County";
        Missouri[87] = "Ralls County";
        Missouri[88] = "Randolph County";
        Missouri[89] = "Ray County";
        Missouri[90] = "Reynolds County";
        Missouri[91] = "Ripley County";
        Missouri[92] = "St. Charles County";
        Missouri[93] = "St. Clair County";
        Missouri[94] = "Ste. Genevieve County";
        Missouri[95] = "St. Francois County";
        Missouri[96] = "St. Louis County";
        Missouri[97] = "Schuyler County";
        Missouri[98] = "Scotland County";
        Missouri[99] = "Scott County";
        Missouri[100] = "Shannon County";
        Missouri[101] = "Shelby County";
        Missouri[102] = "Stoddard County";
        Missouri[103] = "Stone County";
        Missouri[104] = "Sullivan County";
        Missouri[105] = "Taney County";
        Missouri[106] = "Texas County";
        Missouri[107] = "Vernon County";
        Missouri[108] = "Warren County";
        Missouri[109] = "Washington County";
        Missouri[110] = "Wayne County";
        Missouri[111] = "Webster County";
        Missouri[112] = "Worth County";
        Missouri[113] = "Wright County";
        Missouri[114] = "St. Louis city";
        
        var Mississippi = new Array();
        Mississippi[0] = "SELECT A COUNTY";
        Mississippi[1] = "Adams County";
        Mississippi[2] = "Alcorn County";
        Mississippi[3] = "Amite County";
        Mississippi[4] = "Attala County";
        Mississippi[5] = "Benton County";
        Mississippi[6] = "Bolivar County";
        Mississippi[7] = "Calhoun County";
        Mississippi[8] = "Carroll County";
        Mississippi[9] = "Chickasaw County";
        Mississippi[10] = "Choctaw County";
        Mississippi[11] = "Claiborne County";
        Mississippi[12] = "Clarke County";
        Mississippi[13] = "Clay County";
        Mississippi[14] = "Coahoma County";
        Mississippi[15] = "Copiah County";
        Mississippi[16] = "Covington County";
        Mississippi[17] = "DeSoto County";
        Mississippi[18] = "Forrest County";
        Mississippi[19] = "Franklin County";
        Mississippi[20] = "George County";
        Mississippi[21] = "Greene County";
        Mississippi[22] = "Grenada County";
        Mississippi[23] = "Hancock County";
        Mississippi[24] = "Harrison County";
        Mississippi[25] = "Hinds County";
        Mississippi[26] = "Holmes County";
        Mississippi[27] = "Humphreys County";
        Mississippi[28] = "Issaquena County";
        Mississippi[29] = "Itawamba County";
        Mississippi[30] = "Jackson County";
        Mississippi[31] = "Jasper County";
        Mississippi[32] = "Jefferson County";
        Mississippi[33] = "Jefferson Davis County";
        Mississippi[34] = "Jones County";
        Mississippi[35] = "Kemper County";
        Mississippi[36] = "Lafayette County";
        Mississippi[37] = "Lamar County";
        Mississippi[38] = "Lauderdale County";
        Mississippi[39] = "Lawrence County";
        Mississippi[40] = "Leake County";
        Mississippi[41] = "Lee County";
        Mississippi[42] = "Leflore County";
        Mississippi[43] = "Lincoln County";
        Mississippi[44] = "Lowndes County";
        Mississippi[45] = "Madison County";
        Mississippi[46] = "Marion County";
        Mississippi[47] = "Marshall County";
        Mississippi[48] = "Monroe County";
        Mississippi[49] = "Montgomery County";
        Mississippi[50] = "Neshoba County";
        Mississippi[51] = "Newton County";
        Mississippi[52] = "Noxubee County";
        Mississippi[53] = "Oktibbeha County";
        Mississippi[54] = "Panola County";
        Mississippi[55] = "Pearl River County";
        Mississippi[56] = "Perry County";
        Mississippi[57] = "Pike County";
        Mississippi[58] = "Pontotoc County";
        Mississippi[59] = "Prentiss County";
        Mississippi[60] = "Quitman County";
        Mississippi[61] = "Rankin County";
        Mississippi[62] = "Scott County";
        Mississippi[63] = "Sharkey County";
        Mississippi[64] = "Simpson County";
        Mississippi[65] = "Smith County";
        Mississippi[66] = "Stone County";
        Mississippi[67] = "Sunflower County";
        Mississippi[68] = "Tallahatchie County";
        Mississippi[69] = "Tate County";
        Mississippi[70] = "Tippah County";
        Mississippi[71] = "Tishomingo County";
        Mississippi[72] = "Tunica County";
        Mississippi[73] = "Union County";
        Mississippi[74] = "Walthall County";
        Mississippi[75] = "Warren County";
        Mississippi[76] = "Washington County";
        Mississippi[77] = "Wayne County";
        Mississippi[78] = "Webster County";
        Mississippi[79] = "Wilkinson County";
        Mississippi[80] = "Winston County";
        Mississippi[81] = "Yalobusha County";
        Mississippi[82] = "Yazoo County";
        
        var Montana = new Array();
        Montana [0] = "SELECT A COUNTY";
        Montana [1] = "Beaverhead County";
        Montana [2] = "Big Horn County";
        Montana [3] = "Blaine County";
        Montana [4] = "Broadwater County";
        Montana [5] = "Carbon County";
        Montana [6] = "Carter County";
        Montana [7] = "Cascade County";
        Montana [8] = "Chouteau County";
        Montana [9] = "Custer County";
        Montana [10] = "Daniels County";
        Montana [11] = "Dawson County";
        Montana [12] = "Deer Lodge County";
        Montana [13] = "Fallon County";
        Montana [14] = "Fergus County";
        Montana [15] = "Flathead County";
        Montana [16] = "Gallatin County";
        Montana [17] = "Garfield County";
        Montana [18] = "Glacier County";
        Montana [19] = "Golden Valley County";
        Montana [20] = "Granite County";
        Montana [21] = "Hill County";
        Montana [22] = "Jefferson County";
        Montana [23] = "Judith Basin County";
        Montana [24] = "Lake County";
        Montana [25] = "Lewis and Clark County";
        Montana [26] = "Liberty County";
        Montana [27] = "Lincoln County";
        Montana [28] = "McCone County";
        Montana [29] = "Madison County";
        Montana [30] = "Meagher County";
        Montana [31] = "Mineral County";
        Montana [32] = "Missoula County";
        Montana [33] = "Musselshell County";
        Montana [34] = "Park County";
        Montana [35] = "Petroleum County";
        Montana [36] = "Phillips County";
        Montana [37] = "Pondera County";
        Montana [38] = "Powder River County";
        Montana [39] = "Powell County";
        Montana [40] = "Prairie County";
        Montana [41] = "Ravalli County";
        Montana [42] = "Richland County";
        Montana [43] = "Roosevelt County";
        Montana [44] = "Rosebud County";
        Montana [45] = "Sanders County";
        Montana [46] = "Sheridan County";
        Montana [47] = "Silver Bow County";
        Montana [48] = "Stillwater County";
        Montana [49] = "Sweet Grass County";
        Montana [50] = "Teton County";
        Montana [51] = "Toole County";
        Montana [52] = "Treasure County";
        Montana [53] = "Valley County";
        Montana [54] = "Wheatland County";
        Montana [55] = "Wibaux County";
        Montana [56] = "Yellowstone County";
        
        var NorthCarolina = new Array();
        NorthCarolina[0] = "SELECT A COUNTY";
        NorthCarolina[1] = "Alamance County";
        NorthCarolina[2] = "Alexander County";
        NorthCarolina[3] = "Alleghany County";
        NorthCarolina[4] = "Anson County";
        NorthCarolina[5] = "Ashe County";
        NorthCarolina[6] = "Avery County";
        NorthCarolina[7] = "Beaufort County";
        NorthCarolina[8] = "Bertie County";
        NorthCarolina[9] = "Bladen County";
        NorthCarolina[10] = "Brunswick County";
        NorthCarolina[11] = "Buncombe County";
        NorthCarolina[12] = "Burke County";
        NorthCarolina[13] = "Cabarrus County";
        NorthCarolina[14] = "Caldwell County";
        NorthCarolina[15] = "Camden County";
        NorthCarolina[16] = "Carteret County";
        NorthCarolina[17] = "Caswell County";
        NorthCarolina[18] = "Catawba County";
        NorthCarolina[19] = "Chatham County";
        NorthCarolina[20] = "Cherokee County";
        NorthCarolina[21] = "Chowan County";
        NorthCarolina[22] = "Clay County";
        NorthCarolina[23] = "Cleveland County";
        NorthCarolina[24] = "Columbus County";
        NorthCarolina[25] = "Craven County";
        NorthCarolina[26] = "Cumberland County";
        NorthCarolina[27] = "Currituck County";
        NorthCarolina[28] = "Dare County";
        NorthCarolina[29] = "Davidson County";
        NorthCarolina[30] = "Davie County";
        NorthCarolina[31] = "Duplin County";
        NorthCarolina[32] = "Durham County";
        NorthCarolina[33] = "Edgecombe County";
        NorthCarolina[34] = "Forsyth County";
        NorthCarolina[35] = "Franklin County";
        NorthCarolina[36] = "Gaston County";
        NorthCarolina[37] = "Gates County";
        NorthCarolina[38] = "Graham County";
        NorthCarolina[39] = "Granville County";
        NorthCarolina[40] = "Greene County";
        NorthCarolina[41] = "Guilford County";
        NorthCarolina[42] = "Halifax County";
        NorthCarolina[43] = "Harnett County";
        NorthCarolina[44] = "Haywood County";
        NorthCarolina[45] = "Henderson County";
        NorthCarolina[46] = "Hertford County";
        NorthCarolina[47] = "Hoke County";
        NorthCarolina[48] = "Hyde County";
        NorthCarolina[49] = "Iredell County";
        NorthCarolina[50] = "Jackson County";
        NorthCarolina[51] = "Johnston County";
        NorthCarolina[52] = "Jones County";
        NorthCarolina[53] = "Lee County";
        NorthCarolina[54] = "Lenoir County";
        NorthCarolina[55] = "Lincoln County";
        NorthCarolina[56] = "McDowell County";
        NorthCarolina[57] = "Macon County";
        NorthCarolina[58] = "Madison County";
        NorthCarolina[59] = "Martin County";
        NorthCarolina[60] = "Mecklenburg County";
        NorthCarolina[61] = "Mitchell County";
        NorthCarolina[62] = "Montgomery County";
        NorthCarolina[63] = "Moore County";
        NorthCarolina[64] = "Nash County";
        NorthCarolina[65] = "New Hanover County";
        NorthCarolina[66] = "Northampton County";
        NorthCarolina[67] = "Onslow County";
        NorthCarolina[68] = "Orange County";
        NorthCarolina[69] = "Pamlico County";
        NorthCarolina[70] = "Pasquotank County";
        NorthCarolina[71] = "Pender County";
        NorthCarolina[72] = "Perquimans County";
        NorthCarolina[73] = "Person County";
        NorthCarolina[74] = "Pitt County";
        NorthCarolina[75] = "Polk County";
        NorthCarolina[76] = "Randolph County";
        NorthCarolina[77] = "Richmond County";
        NorthCarolina[78] = "Robeson County";
        NorthCarolina[79] = "Rockingham County";
        NorthCarolina[80] = "Rowan County";
        NorthCarolina[81] = "Rutherford County";
        NorthCarolina[82] = "Sampson County";
        NorthCarolina[83] = "Scotland County";
        NorthCarolina[84] = "Stanly County";
        NorthCarolina[85] = "Stokes County";
        NorthCarolina[86] = "Surry County";
        NorthCarolina[87] = "Swain County";
        NorthCarolina[88] = "Transylvania County";
        NorthCarolina[89] = "Tyrrell County";
        NorthCarolina[90] = "Union County";
        NorthCarolina[91] = "Vance County";
        NorthCarolina[92] = "Wake County";
        NorthCarolina[93] = "Warren County";
        NorthCarolina[94] = "Washington County";
        NorthCarolina[95] = "Watauga County";
        NorthCarolina[96] = "Wayne County";
        NorthCarolina[97] = "Wilkes County";
        NorthCarolina[98] = "Wilson County";
        NorthCarolina[99] = "Yadkin County";
        NorthCarolina[100] = "Yancey County";
        
        var NorthDakota = new Array();
        NorthDakota[0] = "SELECT A COUNTY";
        NorthDakota[1] = "Adams County";
        NorthDakota[2] = "Barnes County";
        NorthDakota[3] = "Benson County";
        NorthDakota[4] = "Billings County";
        NorthDakota[5] = "Bottineau County";
        NorthDakota[6] = "Bowman County";
        NorthDakota[7] = "Burke County";
        NorthDakota[8] = "Burleigh County";
        NorthDakota[9] = "Cass County";
        NorthDakota[10] = "Cavalier County";
        NorthDakota[11] = "Dickey County";
        NorthDakota[12] = "Divide County";
        NorthDakota[13] = "Dunn County";
        NorthDakota[14] = "Eddy County";
        NorthDakota[15] = "Emmons County";
        NorthDakota[16] = "Foster County";
        NorthDakota[17] = "Golden Valley County";
        NorthDakota[18] = "Grand Forks County";
        NorthDakota[19] = "Grant County";
        NorthDakota[20] = "Griggs County";
        NorthDakota[21] = "Hettinger County";
        NorthDakota[22] = "Kidder County";
        NorthDakota[23] = "LaMoure County";
        NorthDakota[24] = "Logan County";
        NorthDakota[25] = "McHenry County";
        NorthDakota[26] = "McIntosh County";
        NorthDakota[27] = "McKenzie County";
        NorthDakota[28] = "McLean County";
        NorthDakota[29] = "Mercer County";
        NorthDakota[30] = "Morton County";
        NorthDakota[31] = "Mountrail County";
        NorthDakota[32] = "Nelson County";
        NorthDakota[33] = "Oliver County";
        NorthDakota[34] = "Pembina County";
        NorthDakota[35] = "Pierce County";
        NorthDakota[36] = "Ramsey County";
        NorthDakota[37] = "Ransom County";
        NorthDakota[38] = "Renville County";
        NorthDakota[39] = "Richland County";
        NorthDakota[40] = "Rolette County";
        NorthDakota[41] = "Sargent County";
        NorthDakota[42] = "Sheridan County";
        NorthDakota[43] = "Sioux County";
        NorthDakota[44] = "Slope County";
        NorthDakota[45] = "Stark County";
        NorthDakota[46] = "Steele County";
        NorthDakota[47] = "Stutsman County";
        NorthDakota[48] = "Towner County";
        NorthDakota[49] = "Traill County";
        NorthDakota[50] = "Walsh County";
        NorthDakota[51] = "Ward County";
        NorthDakota[52] = "Wells County";
        NorthDakota[53] = "Williams County";
        
        var Nebraska = new Array();
        Nebraska [0] = "SELECT A COUNTY";
        Nebraska [1] = "Adams County";
        Nebraska [2] = "Antelope County";
        Nebraska [3] = "Arthur County";
        Nebraska [4] = "Banner County";
        Nebraska [5] = "Blaine County";
        Nebraska [6] = "Boone County";
        Nebraska [7] = "Box Butte County";
        Nebraska [8] = "Boyd County";
        Nebraska [9] = "Brown County";
        Nebraska [10] = "Buffalo County";
        Nebraska [11] = "Burt County";
        Nebraska [12] = "Butler County";
        Nebraska [13] = "Cass County";
        Nebraska [14] = "Cedar County";
        Nebraska [15] = "Chase County";
        Nebraska [16] = "Cherry County";
        Nebraska [17] = "Cheyenne County";
        Nebraska [18] = "Clay County";
        Nebraska [19] = "Colfax County";
        Nebraska [20] = "Cuming County";
        Nebraska [21] = "Custer County";
        Nebraska [22] = "Dakota County";
        Nebraska [23] = "Dawes County";
        Nebraska [24] = "Dawson County";
        Nebraska [25] = "Deuel County";
        Nebraska [26] = "Dixon County";
        Nebraska [27] = "Dodge County";
        Nebraska [28] = "Douglas County";
        Nebraska [29] = "Dundy County";
        Nebraska [30] = "Fillmore County";
        Nebraska [31] = "Franklin County";
        Nebraska [32] = "Frontier County";
        Nebraska [33] = "Furnas County";
        Nebraska [34] = "Gage County";
        Nebraska [35] = "Garden County";
        Nebraska [36] = "Garfield County";
        Nebraska [37] = "Gosper County";
        Nebraska [38] = "Grant County";
        Nebraska [39] = "Greeley County";
        Nebraska [40] = "Hall County";
        Nebraska [41] = "Hamilton County";
        Nebraska [42] = "Harlan County";
        Nebraska [43] = "Hayes County";
        Nebraska [44] = "Hitchcock County";
        Nebraska [45] = "Holt County";
        Nebraska [46] = "Hooker County";
        Nebraska [47] = "Howard County";
        Nebraska [48] = "Jefferson County";
        Nebraska [49] = "Johnson County";
        Nebraska [50] = "Kearney County";
        Nebraska [51] = "Keith County";
        Nebraska [52] = "Keya Paha County";
        Nebraska [53] = "Kimball County";
        Nebraska [54] = "Knox County";
        Nebraska [55] = "Lancaster County";
        Nebraska [56] = "Lincoln County";
        Nebraska [57] = "Logan County";
        Nebraska [58] = "Loup County";
        Nebraska [59] = "McPherson County";
        Nebraska [60] = "Madison County";
        Nebraska [61] = "Merrick County";
        Nebraska [62] = "Morrill County";
        Nebraska [63] = "Nance County";
        Nebraska [64] = "Nemaha County";
        Nebraska [65] = "Nuckolls County";
        Nebraska [66] = "Otoe County";
        Nebraska [67] = "Pawnee County";
        Nebraska [68] = "Perkins County";
        Nebraska [69] = "Phelps County";
        Nebraska [70] = "Pierce County";
        Nebraska [71] = "Platte County";
        Nebraska [72] = "Polk County";
        Nebraska [73] = "Red Willow County";
        Nebraska [74] = "Richardson County";
        Nebraska [75] = "Rock County";
        Nebraska [76] = "Saline County";
        Nebraska [77] = "Sarpy County";
        Nebraska [78] = "Saunders County";
        Nebraska [79] = "Scotts Bluff County";
        Nebraska [80] = "Seward County";
        Nebraska [81] = "Sheridan County";
        Nebraska [82] = "Sherman County";
        Nebraska [83] = "Sioux County";
        Nebraska [84] = "Stanton County";
        Nebraska [85] = "Thayer County";
        Nebraska [86] = "Thomas County";
        Nebraska [87] = "Thurston County";
        Nebraska [88] = "Valley County";
        Nebraska [89] = "Washington County";
        Nebraska [90] = "Wayne County";
        Nebraska [91] = "Webster County";
        Nebraska [92] = "Wheeler County";
        Nebraska [93] = "York County";
        
        var NewHampshire = new Array();
        NewHampshire[0] = "SELECT A COUNTY";
        NewHampshire[1] = "Belknap County";
        NewHampshire[2] = "Carroll County";
        NewHampshire[3] = "Cheshire County";
        NewHampshire[4] = "Coos County";
        NewHampshire[5] = "Grafton County";
        NewHampshire[6] = "Hillsborough County";
        NewHampshire[7] = "Merrimack County";
        NewHampshire[8] = "Rockingham County";
        NewHampshire[9] = "Strafford County";
        NewHampshire[10] = "Sullivan County";
        
        var NewJersey = new Array();
        NewJersey[0] = "SELECT A COUNTY";
        NewJersey[1] = "Atlantic County";
        NewJersey[2] = "Bergen County";
        NewJersey[3] = "Burlington County";
        NewJersey[4] = "Camden County";
        NewJersey[5] = "Cape May County";
        NewJersey[6] = "Cumberland County";
        NewJersey[7] = "Essex County";
        NewJersey[8] = "Gloucester County";
        NewJersey[9] = "Hudson County";
        NewJersey[10] = "Hunterdon County";
        NewJersey[11] = "Mercer County";
        NewJersey[12] = "Middlesex County";
        NewJersey[13] = "Monmouth County";
        NewJersey[14] = "Morris County";
        NewJersey[15] = "Ocean County";
        NewJersey[16] = "Passaic County";
        NewJersey[17] = "Salem County";
        NewJersey[18] = "Somerset County";
        NewJersey[19] = "Sussex County";
        NewJersey[20] = "Union County";
        NewJersey[21] = "Warren County";
	
	var NewMexico = new Array();
	NewMexico[0] = "SELECT A COUNTY";
	NewMexico[1] = "Bernalillo County";
	NewMexico[2] = "Catron County";
	NewMexico[3] = "Chaves County";
	NewMexico[4] = "Cibola County";
	NewMexico[5] = "Colfax County";
	NewMexico[6] = "Curry County";
	NewMexico[7] = "DeBaca County";
	NewMexico[8] = "Dona Ana County";
	NewMexico[9] = "Eddy County";
	NewMexico[10] = "Grant County";	
	NewMexico[11] = "Guadalupe County";
	NewMexico[12] = "Harding County";
	NewMexico[13] = "Hidalgo County";
	NewMexico[14] = "Lea County";
	NewMexico[15] = "Lincoln County";
	NewMexico[16] = "Los Alamos County";
	NewMexico[17] = "Luna County";
	NewMexico[18] = "McKinley County";
	NewMexico[19] = "Mora County";
	NewMexico[20] = "Otero County";
	NewMexico[21] = "Quay County";
	NewMexico[22] = "Rio Arriba County";
	NewMexico[23] = "Roosevelt County";
	NewMexico[24] = "Sandoval County";
	NewMexico[25] = "San Juan County";
	NewMexico[26] = "San Miguel County";
	NewMexico[27] = "Santa Fe County";
	NewMexico[28] = "Sierra County";
	NewMexico[29] = "Socorro County";
	NewMexico[30] = "Taos County";
	NewMexico[31] = "Torrance County";
	NewMexico[32] = "Union County";
	NewMexico[33] = "Valencia County";
	
	var Nevada = new Array();
	Nevada[0] = "SELECT A COUNTY";
	Nevada[1] = "Churchill County";
	Nevada[2] = "Clark County";
	Nevada[3] = "Douglas County";
	Nevada[4] = "Elko County";
	Nevada[5] = "Esmeralda County";
	Nevada[6] = "Eureka County";
	Nevada[7] = "Humboldt County";
	Nevada[8] = "Lander County";
	Nevada[9] = "Lincoln County";
	Nevada[10] = "Lyon County";
	Nevada[11] = "Mineral County";
	Nevada[12] = "Nye County";
	Nevada[13] = "Pershing County";
	Nevada[14] = "Storey County";
	Nevada[15] = "Washoe County";
	Nevada[16] = "White Pine County";
	Nevada[17] = "Carson City";
	
	var NewYork = new Array();
	NewYork[0] = "SELECT A COUNTY";
	NewYork[1] = "Albany County";
	NewYork[2] = "Allegany County";
	NewYork[3] = "Bronx County";
	NewYork[4] = "Broome County";
	NewYork[5] = "Cattaraugus County";
	NewYork[6] = "Cayuga County";
	NewYork[7] = "Chautauqua County";
	NewYork[8] = "Chemung County";
	NewYork[9] = "Chenango County";
	NewYork[10] = "Clinton County";
	NewYork[11] = "Columbia County";
	NewYork[12] = "Cortland County";
	NewYork[13] = "Delaware County";
	NewYork[14] = "Dutchess County";
	NewYork[15] = "Erie County";
	NewYork[16] = "Essex County";
	NewYork[17] = "Franklin County";
	NewYork[18] = "Fulton County";
	NewYork[19] = "Genesee County";
	NewYork[20] = "Greene County";
	NewYork[21] = "Hamilton County";
	NewYork[22] = "Herkimer County";
	NewYork[23] = "Jefferson County";
	NewYork[24] = "Kings County";
	NewYork[25] = "Lewis County";
	NewYork[26] = "Livingston County";
	NewYork[27] = "Madison County";
	NewYork[28] = "Monroe County";
	NewYork[29] = "Montgomery County";
	NewYork[30] = "Nassau County";
	NewYork[31] = "New York County";
	NewYork[32] = "Niagara County";
	NewYork[33] = "Oneida County";
	NewYork[34] = "Onondaga County";
	NewYork[35] = "Ontario County";
	NewYork[36] = "Orange County";
	NewYork[37] = "Orleans County";
	NewYork[38] = "Oswego County";
	NewYork[39] = "Otsego County";
	NewYork[40] = "Putnam County";
	NewYork[41] = "Queens County";
	NewYork[42] = "Rensselaer County";
	NewYork[43] = "Richmond County";
	NewYork[44] = "Rockland County";
	NewYork[45] = "St. Lawrence County";
	NewYork[46] = "Saratoga County";
	NewYork[47] = "Schenectady County";
	NewYork[48] = "Schoharie County";
	NewYork[49] = "Schuyler County";
	NewYork[50] = "Seneca County";
	NewYork[51] = "Steuben County";
	NewYork[52] = "Suffolk County";
	NewYork[53] = "Sullivan County";
	NewYork[54] = "Tioga County";
	NewYork[55] = "Tompkins County";
	NewYork[56] = "Ulster County";
	NewYork[57] = "Warren County";
	NewYork[58] = "Washington County";
	NewYork[59] = "Wayne County";
	NewYork[60] = "Westchester County";
	NewYork[61] = "Wyoming County";
	NewYork[62] = "Yates County";
	
	var Ohio = new Array();
	Ohio[0] = "SELECT A COUNTY";
	Ohio[1] = "Adams County";
	Ohio[2] = "Allen County";
	Ohio[3] = "Ashland County";
	Ohio[4] = "Ashtabula County";
	Ohio[5] = "Athens County";
	Ohio[6] = "Auglaize County";
	Ohio[7] = "Belmont County";
	Ohio[8] = "Brown County";
	Ohio[9] = "Butler County";
	Ohio[10] = "Carroll County";
	Ohio[11] = "Champaign County";
	Ohio[12] = "Clark County";
	Ohio[13] = "Clermont County";
	Ohio[14] = "Clinton County";
	Ohio[15] = "Columbiana County";
	Ohio[16] = "Coshocton County";
	Ohio[17] = "Crawford County";
	Ohio[18] = "Cuyahoga County";
	Ohio[19] = "Darke County";
	Ohio[20] = "Defiance County";
	Ohio[21] = "Delaware County";
	Ohio[22] = "Erie County";
	Ohio[23] = "Fairfield County";
	Ohio[24] = "Fayette County";
	Ohio[25] = "Franklin County";
	Ohio[26] = "Fulton County";
	Ohio[27] = "Gallia County";
	Ohio[28] = "Geauga County";
	Ohio[29] = "Greene County";
	Ohio[30] = "Guernsey County";
	Ohio[31] = "Hamilton County";
	Ohio[32] = "Hancock County";
	Ohio[33] = "Hardin County";
	Ohio[34] = "Harrison County";
	Ohio[35] = "Henry County";
	Ohio[36] = "Highland County";
	Ohio[37] = "Hocking County";
	Ohio[38] = "Holmes County";
	Ohio[39] = "Huron County";
	Ohio[40] = "Jackson County";
	Ohio[41] = "Jefferson County";
	Ohio[42] = "Knox County";
	Ohio[43] = "Lake County";
	Ohio[44] = "Lawrence County";
	Ohio[45] = "Licking County";
	Ohio[46] = "Logan County";
	Ohio[47] = "Lorain County";
	Ohio[48] = "Lucas County";
	Ohio[49] = "Madison County";
	Ohio[50] = "Mahoning County";
	Ohio[51] = "Marion County";
	Ohio[52] = "Medina County";
	Ohio[53] = "Meigs County";
	Ohio[54] = "Mercer County";
	Ohio[55] = "Miami County";
	Ohio[56] = "Monroe County";
	Ohio[57] = "Montgomery County";
	Ohio[58] = "Morgan County";
	Ohio[59] = "Morrow County";
	Ohio[60] = "Muskingum County";
	Ohio[61] = "Noble County";
	Ohio[62] = "Ottawa County";
	Ohio[63] = "Paulding County";
	Ohio[64] = "Perry County";
	Ohio[65] = "Pickaway County";
	Ohio[66] = "Pike County";
	Ohio[67] = "Portage County";
	Ohio[68] = "Preble County";
	Ohio[69] = "Putnam County";
	Ohio[70] = "Richland County";
	Ohio[71] = "Ross County";
	Ohio[72] = "Sandusky County";
	Ohio[73] = "Scioto County";
	Ohio[74] = "Seneca County";
	Ohio[75] = "Shelby County";
	Ohio[76] = "Stark County";
	Ohio[77] = "Summit County";
	Ohio[78] = "Trumbull County";
	Ohio[79] = "Tuscarawas County";
	Ohio[80] = "Union County";
	Ohio[81] = "Van Wert County";
	Ohio[82] = "Vinton County";
	Ohio[83] = "Warren County";
	Ohio[84] = "Washington County";
	Ohio[85] = "Wayne County";
	Ohio[86] = "Williams County";
	Ohio[87] = "Wood County";
	Ohio[88] = "Wyandot County";
	
	var Oklahoma = new Array();
	Oklahoma[0] = "SELECT A COUNTY";
	Oklahoma[1] = "Adair County";
	Oklahoma[2] = "Alfalfa County";
	Oklahoma[3] = "Atoka County";
	Oklahoma[4] = "Beaver County";
	Oklahoma[5] = "Beckham County";
	Oklahoma[6] = "Blaine County";
	Oklahoma[7] = "Bryan County";
	Oklahoma[8] = "Caddo County";
	Oklahoma[9] = "Canadian County";
	Oklahoma[10] = "Carter County";
	Oklahoma[11] = "Cherokee County";
	Oklahoma[12] = "Choctaw County";
	Oklahoma[13] = "Cimarron County";
	Oklahoma[14] = "Cleveland County";
	Oklahoma[15] = "Coal County";
	Oklahoma[16] = "Comanche County";
	Oklahoma[17] = "Cotton County";
	Oklahoma[18] = "Craig County";
	Oklahoma[19] = "Creek County";
	Oklahoma[20] = "Custer County";
	Oklahoma[21] = "Delaware County";
	Oklahoma[22] = "Dewey County";
	Oklahoma[23] = "Ellis County";
	Oklahoma[24] = "Garfield County";
	Oklahoma[25] = "Garvin County";
	Oklahoma[26] = "Grady County";
	Oklahoma[27] = "Grant County";
	Oklahoma[28] = "Greer County";
	Oklahoma[29] = "Harmon County";
	Oklahoma[30] = "Harper County";
	Oklahoma[31] = "Haskell County";
	Oklahoma[32] = "Hughes County";
	Oklahoma[33] = "Jackson County";
	Oklahoma[34] = "Jefferson County";
	Oklahoma[35] = "Johnston County";
	Oklahoma[36] = "Kay County";
	Oklahoma[37] = "Kingfisher County";
	Oklahoma[38] = "Kiowa County";
	Oklahoma[39] = "Latimer County";
	Oklahoma[40] = "Le Flore County";
	Oklahoma[41] = "Lincoln County";
	Oklahoma[42] = "Logan County";
	Oklahoma[43] = "Love County";
	Oklahoma[44] = "McClain County";
	Oklahoma[45] = "McCurtain County";
	Oklahoma[46] = "McIntosh County";
	Oklahoma[47] = "Major County";
	Oklahoma[48] = "Marshall County";
	Oklahoma[49] = "Mayes County";
	Oklahoma[50] = "Murray County";
	Oklahoma[51] = "Muskogee County";
	Oklahoma[52] = "Noble County";
	Oklahoma[53] = "Nowata County";
	Oklahoma[54] = "Okfuskee County";
	Oklahoma[55] = "Oklahoma County";
	Oklahoma[56] = "Okmulgee County";
	Oklahoma[57] = "Osage County";
	Oklahoma[58] = "Ottawa County";
	Oklahoma[59] = "Pawnee County";
	Oklahoma[60] = "Payne County";
	Oklahoma[61] = "Pittsburg County";
	Oklahoma[62] = "Pontotoc County";
	Oklahoma[63] = "Pottawatomie County";
	Oklahoma[64] = "Pushmataha County";
	Oklahoma[65] = "Roger Mills County";
	Oklahoma[66] = "Rogers County";
	Oklahoma[67] = "Seminole County";
	Oklahoma[68] = "Sequoyah County";
	Oklahoma[69] = "Stephens County";
	Oklahoma[70] = "Texas County";
	Oklahoma[71] = "Tillman County";
	Oklahoma[72] = "Tulsa County";
	Oklahoma[73] = "Wagoner County";
	Oklahoma[74] = "Washington County";
	Oklahoma[75] = "Washita County";
	Oklahoma[76] = "Woods County";
	Oklahoma[77] = "Woodward County";
	
	var Oregon = new Array();
	Oregon [0] ="SELECT A COUNTY";
	Oregon [1] ="Baker County";
	Oregon [2] ="Benton County";
	Oregon [3] ="Clackamas County";
	Oregon [4] ="Clatsop County";
	Oregon [5] ="Columbia County";
	Oregon [6] ="Coos County";
	Oregon [7] ="Crook County";
	Oregon [8] ="Curry County";
	Oregon [9] ="Deschutes County";
	Oregon [10] ="Douglas County";
	Oregon [11] ="Gilliam County";
	Oregon [12] ="Grant County";
	Oregon [13] ="Harney County";
	Oregon [14] ="Hood River County";
	Oregon [15] ="Jackson County";
	Oregon [16] ="Jefferson County";
	Oregon [17] ="Josephine County";
	Oregon [18] ="Klamath County";
	Oregon [19] ="Lake County";
	Oregon [20] ="Lane County";
	Oregon [21] ="Lincoln County";
	Oregon [22] ="Linn County";
	Oregon [23] ="Malheur County";
	Oregon [24] ="Marion County";
	Oregon [25] ="Morrow County";
	Oregon [26] ="Multnomah County";
	Oregon [27] ="Polk County";
	Oregon [28] ="Sherman County";
	Oregon [29] ="Tillamook County";
	Oregon [30] ="Umatilla County";
	Oregon [31] ="Union County";
	Oregon [32] ="Wallowa County";
	Oregon [33] ="Wasco County";
	Oregon [34] ="Washington County";
	Oregon [35] ="Wheeler County";
	Oregon [36] ="Yamhill County";

	var Pennsylvania = new Array();
	Pennsylvania[0] ="SELECT A COUNTY";
	Pennsylvania[1] ="Adams County";
	Pennsylvania[2] ="Allegheny County";
	Pennsylvania[3] ="Armstrong County";
	Pennsylvania[4] ="Beaver County";
	Pennsylvania[5] ="Bedford County";
	Pennsylvania[6] ="Berks County";
	Pennsylvania[7] ="Blair County";
	Pennsylvania[8] ="Bradford County";
	Pennsylvania[9] ="Bucks County";
	Pennsylvania[10] ="Butler County";
	Pennsylvania[11] ="Cambria County";
	Pennsylvania[12] ="Cameron County";
	Pennsylvania[13] ="Carbon County";
	Pennsylvania[14] ="Centre County";
	Pennsylvania[15] ="Chester County";
	Pennsylvania[16] ="Clarion County";
	Pennsylvania[17] ="Clearfield County";
	Pennsylvania[18] ="Clinton County";
	Pennsylvania[19] ="Columbia County";
	Pennsylvania[20] ="Crawford County";
	Pennsylvania[21] ="Cumberland County";
	Pennsylvania[22] ="Dauphin County";
	Pennsylvania[23] ="Delaware County";
	Pennsylvania[24] ="Elk County";
	Pennsylvania[25] ="Erie County";
	Pennsylvania[26] ="Fayette County";
	Pennsylvania[27] ="Forest County";
	Pennsylvania[28] ="Franklin County";
	Pennsylvania[29] ="Fulton County";
	Pennsylvania[30] ="Greene County";
	Pennsylvania[31] ="Huntingdon County";
	Pennsylvania[32] ="Indiana County";
	Pennsylvania[33] ="Jefferson County";
	Pennsylvania[34] ="Juniata County";
	Pennsylvania[35] ="Lackawanna County";
	Pennsylvania[36] ="Lancaster County";
	Pennsylvania[37] ="Lawrence County";
	Pennsylvania[38] ="Lebanon County";
	Pennsylvania[39] ="Lehigh County";
	Pennsylvania[40] ="Luzerne County";
	Pennsylvania[41] ="Lycoming County";
	Pennsylvania[42] ="Mc Kean County";
	Pennsylvania[43] ="Mercer County";
	Pennsylvania[44] ="Mifflin County";
	Pennsylvania[45] ="Monroe County";
	Pennsylvania[46] ="Montgomery County";
	Pennsylvania[47] ="Montour County";
	Pennsylvania[48] ="Northampton County";
	Pennsylvania[49] ="Northumberland County";
	Pennsylvania[50] ="Perry County";
	Pennsylvania[51] ="Philadelphia County";
	Pennsylvania[52] ="Pike County";
	Pennsylvania[53] ="Potter County";
	Pennsylvania[54] ="Schuylkill County";
	Pennsylvania[55] ="Snyder County";
	Pennsylvania[56] ="Somerset County";
	Pennsylvania[57] ="Sullivan County";
	Pennsylvania[58] ="Susquehanna County";
	Pennsylvania[59] ="Tioga County";
	Pennsylvania[60] ="Union County";
	Pennsylvania[61] ="Venango County";
	Pennsylvania[62] ="Warren County";
	Pennsylvania[63] ="Washington County";
	Pennsylvania[64] ="Wayne County";
	Pennsylvania[65] ="Westmoreland County";
	Pennsylvania[66] ="Wyoming County";
	Pennsylvania[67] ="York County";
        
        var RhodeIsland = new Array();
        RhodeIsland[0] = "SELECT A COUNTY";
        RhodeIsland[1] = "Bristol County";
        RhodeIsland[2] = "Kent County";
        RhodeIsland[3] = "Newport County";
        RhodeIsland[4] = "Providence County";
        RhodeIsland[5] = "Washington County";
        
        var SouthCarolina = new Array();
        SouthCarolina[0] = "SELECT A COUNTY";
        SouthCarolina[1] = "Abbeville County";
        SouthCarolina[2] = "Aiken County";
        SouthCarolina[3] = "Allendale County";
        SouthCarolina[4] = "Anderson County";
        SouthCarolina[5] = "Bamberg County";
        SouthCarolina[6] = "Barnwell County";
        SouthCarolina[7] = "Beaufort County";
        SouthCarolina[8] = "Berkeley County";
        SouthCarolina[9] = "Calhoun County";
        SouthCarolina[10] = "Charleston County";
        SouthCarolina[11] = "Cherokee County";
        SouthCarolina[12] = "Chester County";
        SouthCarolina[13] = "Chesterfield County";
        SouthCarolina[14] = "Clarendon County";
        SouthCarolina[15] = "Colleton County";
        SouthCarolina[16] = "Darlington County";
        SouthCarolina[17] = "Dillon County";
        SouthCarolina[18] = "Dorchester County";
        SouthCarolina[19] = "Edgefield County";
        SouthCarolina[20] = "Fairfield County";
        SouthCarolina[21] = "Florence County";
        SouthCarolina[22] = "Georgetown County";
        SouthCarolina[23] = "Greenville County";
        SouthCarolina[24] = "Greenwood County";
        SouthCarolina[25] = "Hampton County";
        SouthCarolina[26] = "Horry County";
        SouthCarolina[27] = "Jasper County";
        SouthCarolina[28] = "Kershaw County";
        SouthCarolina[29] = "Lancaster County";
        SouthCarolina[30] = "Laurens County";
        SouthCarolina[31] = "Lee County";
        SouthCarolina[32] = "Lexington County";
        SouthCarolina[33] = "McCormick County";
        SouthCarolina[34] = "Marion County";
        SouthCarolina[35] = "Marlboro County";
        SouthCarolina[36] = "Newberry County";
        SouthCarolina[37] = "Oconee County";
        SouthCarolina[38] = "Orangeburg County";
        SouthCarolina[39] = "Pickens County";
        SouthCarolina[40] = "Richland County";
        SouthCarolina[41] = "Saluda County";
        SouthCarolina[42] = "Spartanburg County";
        SouthCarolina[43] = "Sumter County";
        SouthCarolina[44] = "Union County";
        SouthCarolina[45] = "Williamsburg County";
        SouthCarolina[46] = "York County";
	
	var SouthDakota = new Array();
	SouthDakota[0] = "SELECT A COUNTY";
	SouthDakota[1] = "Aurora County";
	SouthDakota[2] = "Beadle County";
	SouthDakota[3] = "Bennett County";
	SouthDakota[4] = "Bon Homme County";
	SouthDakota[5] = "Brookings County";
	SouthDakota[6] = "Brown County";
	SouthDakota[7] = "Brule County";
	SouthDakota[8] = "Buffalo County";
	SouthDakota[9] = "Butte County";
	SouthDakota[10] = "Campbell County";
	SouthDakota[11] = "Charles Mix County";
	SouthDakota[12] = "Clark County";
	SouthDakota[13] = "Clay County";
	SouthDakota[14] = "Codington County";
	SouthDakota[15] = "Corson County";
	SouthDakota[16] = "Custer County";
	SouthDakota[17] = "Davison County";
	SouthDakota[18] = "Day County";
	SouthDakota[19] = "Deuel County";
	SouthDakota[20] = "Dewey County";
	SouthDakota[21] = "Douglas County";
	SouthDakota[22] = "Edmunds County";
	SouthDakota[23] = "Fall River County";
	SouthDakota[24] = "Faulk County";
	SouthDakota[25] = "Grant County";
	SouthDakota[26] = "Gregory County";
	SouthDakota[27] = "Haakon County";
	SouthDakota[28] = "Hamlin County";
	SouthDakota[29] = "Hand County";
	SouthDakota[30] = "Hanson County";
	SouthDakota[31] = "Harding County";
	SouthDakota[32] = "Hughes County";
	SouthDakota[33] = "Hutchinson County";
	SouthDakota[34] = "Hyde County";
	SouthDakota[35] = "Jackson County";
	SouthDakota[36] = "Jerauld County";
	SouthDakota[37] = "Jones County";
	SouthDakota[38] = "Kingsbury County";
	SouthDakota[39] = "Lake County";
	SouthDakota[40] = "Lawrence County";
	SouthDakota[41] = "Lincoln County";
	SouthDakota[42] = "Lyman County";
	SouthDakota[43] = "McCook County";
	SouthDakota[44] = "McPherson County";
	SouthDakota[45] = "Marshall County";
	SouthDakota[46] = "Meade County";
	SouthDakota[47] = "Mellette County";
	SouthDakota[48] = "Miner County";
	SouthDakota[49] = "Minnehaha County";
	SouthDakota[50] = "Moody County";
	SouthDakota[51] = "Pennington County";
	SouthDakota[52] = "Perkins County";
	SouthDakota[53] = "Potter County";
	SouthDakota[54] = "Roberts County";
	SouthDakota[55] = "Sanborn County";
	SouthDakota[56] = "Shannon County";
	SouthDakota[57] = "Spink County";
	SouthDakota[58] = "Stanley County";
	SouthDakota[59] = "Sully County";
	SouthDakota[60] = "Todd County";
	SouthDakota[61] = "Tripp County";
	SouthDakota[62] = "Turner County";
	SouthDakota[63] = "Union County";
	SouthDakota[64] = "Walworth County";
	SouthDakota[65] = "Yankton County";
	SouthDakota[66] = "Ziebach County";
	
	var Tennessee = new Array();
	Tennessee[0] = "SELECT A COUNTY";
	Tennessee[1] = "Anderson County";
	Tennessee[2] = "Bedford County";
	Tennessee[3] = "Benton County";
	Tennessee[4] = "Bledsoe County";
	Tennessee[5] = "Blount County";
	Tennessee[6] = "Bradley County";
	Tennessee[7] = "Campbell County";
	Tennessee[8] = "Cannon County";
	Tennessee[9] = "Carroll County";
	Tennessee[10] = "Carter County";
	Tennessee[11] = "Cheatham County";
	Tennessee[12] = "Chester County";
	Tennessee[13] = "Claiborne County";
	Tennessee[14] = "Clay County";
	Tennessee[15] = "Cocke County";
	Tennessee[16] = "Coffee County";
	Tennessee[17] = "Crockett County";
	Tennessee[18] = "Cumberland County";
	Tennessee[19] = "Davidson County";
	Tennessee[20] = "Decatur County";
	Tennessee[21] = "DeKalb County";
	Tennessee[22] = "Dickson County";
	Tennessee[23] = "Dyer County";
	Tennessee[24] = "Fayette County";
	Tennessee[25] = "Fentress County";
	Tennessee[26] = "Franklin County";
	Tennessee[27] = "Gibson County";
	Tennessee[28] = "Giles County";
	Tennessee[29] = "Grainger County";
	Tennessee[30] = "Greene County";
	Tennessee[31] = "Grundy County";
	Tennessee[32] = "Hamblen County";
	Tennessee[33] = "Hamilton County";
	Tennessee[34] = "Hancock County";
	Tennessee[35] = "Hardeman County";
	Tennessee[36] = "Hardin County";
	Tennessee[37] = "Hawkins County";
	Tennessee[38] = "Haywood County";
	Tennessee[39] = "Henderson County";
	Tennessee[40] = "Henry County";
	Tennessee[41] = "Hickman County";
	Tennessee[42] = "Houston County";
	Tennessee[43] = "Humphreys County";
	Tennessee[44] = "Jackson County";
	Tennessee[45] = "Jefferson County";
	Tennessee[46] = "Johnson County";
	Tennessee[47] = "Knox County";
	Tennessee[48] = "Lake County";
	Tennessee[49] = "Lauderdale County";
	Tennessee[50] = "Lawrence County";
	Tennessee[51] = "Lewis County";
	Tennessee[52] = "Lincoln County";
	Tennessee[53] = "Loudon County";
	Tennessee[54] = "McMinn County";
	Tennessee[55] = "McNairy County";
	Tennessee[56] = "Macon County";
	Tennessee[57] = "Madison County";
	Tennessee[58] = "Marion County";
	Tennessee[59] = "Marshall County";
	Tennessee[60] = "Maury County";
	Tennessee[61] = "Meigs County";
	Tennessee[62] = "Monroe County";
	Tennessee[63] = "Montgomery County";
	Tennessee[64] = "Moore County";
	Tennessee[65] = "Morgan County";
	Tennessee[66] = "Obion County";
	Tennessee[67] = "Overton County";
	Tennessee[68] = "Perry County";
	Tennessee[69] = "Pickett County";
	Tennessee[70] = "Polk County";
	Tennessee[71] = "Putnam County";
	Tennessee[72] = "Rhea County";
	Tennessee[73] = "Roane County";
	Tennessee[74] = "Robertson County";
	Tennessee[75] = "Rutherford County";
	Tennessee[76] = "Scott County";
	Tennessee[77] = "Sequatchie County";
	Tennessee[78] = "Sevier County";
	Tennessee[79] = "Shelby County";
	Tennessee[80] = "Smith County";
	Tennessee[81] = "Stewart County";
	Tennessee[82] = "Sullivan County";
	Tennessee[83] = "Sumner County";
	Tennessee[84] = "Tipton County";
	Tennessee[85] = "Trousdale County";
	Tennessee[86] = "Unicoi County";
	Tennessee[87] = "Union County";
	Tennessee[88] = "Van Buren County";
	Tennessee[89] = "Warren County";
	Tennessee[90] = "Washington County";
	Tennessee[91] = "Wayne County";
	Tennessee[92] = "Weakley County";
	Tennessee[93] = "White County";
	Tennessee[94] = "Williamson County";
	Tennessee[95] = "Wilson County";
	
	var Texas = new Array();
	Texas[0] = "SELECT A COUNTY";
	Texas[1] = "Anderson County";
	Texas[2] = "Andrews County";
	Texas[3] = "Angelina County";
	Texas[4] = "Aransas County";
	Texas[5] = "Archer County";
	Texas[6] = "Armstrong County";
	Texas[7] = "Atascosa County";
	Texas[8] = "Austin County";
	Texas[9] = "Bailey County";
	Texas[10] = "Bandera County";
	Texas[11] = "Bastrop County";
	Texas[12] = "Baylor County";
	Texas[13] = "Bee County";
	Texas[14] = "Bell County";
	Texas[15] = "Bexar County";
	Texas[16] = "Blanco County";
	Texas[17] = "Borden County";
	Texas[18] = "Bosque County";
	Texas[19] = "Bowie County";
	Texas[20] = "Brazoria County";
	Texas[21] = "Brazos County";
	Texas[22] = "Brewster County";
	Texas[23] = "Briscoe County";
	Texas[24] = "Brooks County";
	Texas[25] = "Brown County";
	Texas[26] = "Burleson County";
	Texas[27] = "Burnet County";
	Texas[28] = "Caldwell County";
	Texas[29] = "Calhoun County";
	Texas[30] = "Callahan County";
	Texas[31] = "Cameron County";
	Texas[32] = "Camp County";
	Texas[33] = "Carson County";
	Texas[34] = "Cass County";
	Texas[35] = "Castro County";
	Texas[36] = "Chambers County";
	Texas[37] = "Cherokee County";
	Texas[38] = "Childress County";
	Texas[39] = "Clay County";
	Texas[40] = "Cochran County";
	Texas[41] = "Coke County";
	Texas[42] = "Coleman County";
	Texas[43] = "Collin County";
	Texas[44] = "Collingsworth County";
	Texas[45] = "Colorado County";
	Texas[46] = "Comal County";
	Texas[47] = "Comanche County";
	Texas[48] = "Concho County";
	Texas[49] = "Cooke County";
	Texas[50] = "Coryell County";
	Texas[51] = "Cottle County";
	Texas[52] = "Crane County";
	Texas[53] = "Crockett County";
	Texas[54] = "Crosby County";
	Texas[55] = "Culberson County";
	Texas[56] = "Dallam County";
	Texas[57] = "Dallas County";
	Texas[58] = "Dawson County";
	Texas[59] = "Deaf Smith County";
	Texas[60] = "Delta County";
	Texas[61] = "Denton County";
	Texas[62] = "DeWitt County";
	Texas[63] = "Dickens County";
	Texas[64] = "Dimmit County";
	Texas[65] = "Donley County";
	Texas[66] = "Duval County";
	Texas[67] = "Eastland County";
	Texas[68] = "Ector County";
	Texas[69] = "Edwards County";
	Texas[70] = "Ellis County";
	Texas[71] = "El Paso County";
	Texas[72] = "Erath County";
	Texas[73] = "Falls County";
	Texas[74] = "Fannin County";
	Texas[75] = "Fayette County";
	Texas[76] = "Fisher County";
	Texas[77] = "Floyd County";
	Texas[78] = "Foard County";
	Texas[79] = "Fort Bend County";
	Texas[80] = "Franklin County";
	Texas[81] = "Freestone County";
	Texas[82] = "Frio County";
	Texas[83] = "Gaines County";
	Texas[84] = "Galveston County";
	Texas[85] = "Garza County";
	Texas[86] = "Gillespie County";
	Texas[87] = "Glasscock County";
	Texas[88] = "Goliad County";
	Texas[89] = "Gonzales County";
	Texas[90] = "Gray County";
	Texas[91] = "Grayson County";
	Texas[92] = "Gregg County";
	Texas[93] = "Grimes County";
	Texas[94] = "Guadalupe County";
	Texas[95] = "Hale County";
	Texas[96] = "Hall County";
	Texas[97] = "Hamilton County";
	Texas[98] = "Hansford County";
	Texas[99] = "Hardeman County";
	Texas[100] = "Hardin County";
	Texas[101] = "Harris County";
	Texas[102] = "Harrison County";
	Texas[103] = "Hartley County";
	Texas[104] = "Haskell County";
	Texas[105] = "Hays County";
	Texas[106] = "Hemphill County";
	Texas[107] = "Henderson County";
	Texas[108] = "Hidalgo County";
	Texas[109] = "Hill County";
	Texas[110] = "Hockley County";
	Texas[111] = "Hood County";
	Texas[112] = "Hopkins County";
	Texas[113] = "Houston County";
	Texas[114] = "Howard County";
	Texas[115] = "Hudspeth County";
	Texas[116] = "Hunt County";
	Texas[117] = "Hutchinson County";
	Texas[118] = "Irion County";
	Texas[119] = "Jack County";
	Texas[120] = "Jackson County";
	Texas[121] = "Jasper County";
	Texas[122] = "Jeff Davis County";
	Texas[123] = "Jefferson County";
	Texas[124] = "Jim Hogg County";
	Texas[125] = "Jim Wells County";
	Texas[126] = "Johnson County";
	Texas[127] = "Jones County";
	Texas[128] = "Karnes County";
	Texas[129] = "Kaufman County";
	Texas[130] = "Kendall County";
	Texas[131] = "Kenedy County";
	Texas[132] = "Kent County";
	Texas[133] = "Kerr County";
	Texas[134] = "Kimble County";
	Texas[135] = "King County";
	Texas[136] = "Kinney County";
	Texas[137] = "Kleberg County";
	Texas[138] = "Knox County";
	Texas[139] = "Lamar County";
	Texas[140] = "Lamb County";
	Texas[141] = "Lampasas County";
	Texas[142] = "La Salle County";
	Texas[143] = "Lavaca County";
	Texas[144] = "Lee County";
	Texas[145] = "Leon County";
	Texas[146] = "Liberty County";
	Texas[147] = "Limestone County";
	Texas[148] = "Lipscomb County";
	Texas[149] = "Live Oak County";
	Texas[150] = "Llano County";
	Texas[151] = "Loving County";
	Texas[152] = "Lubbock County";
	Texas[153] = "Lynn County";
	Texas[154] = "McCulloch County";
	Texas[155] = "McLennan County";
	Texas[156] = "McMullen County";
	Texas[157] = "Madison County";
	Texas[158] = "Marion County";
	Texas[159] = "Martin County";
	Texas[160] = "Mason County";
        Texas[161] = "Matagorda County";
        Texas[162] = "Maverick County";
        Texas[163] = "Medina County";
        Texas[164] = "Menard County";
        Texas[165] = "Midland County";
        Texas[167] = "Milam County";
        Texas[168] = "Mills County";
        Texas[169] = "Mitchell County";
        Texas[170] = "Montague County";
        Texas[171] = "Montgomery County";
        Texas[172] = "Moore County";
        Texas[173] = "Morris County";
        Texas[174] = "Motley County";
        Texas[175] = "Nacogdoches County";
        Texas[176] = "Navarro County";
        Texas[177] = "Newton County";
        Texas[178] = "Nolan County";
        Texas[179] = "Nueces County";
        Texas[180] = "Ochiltree County";
        Texas[181] = "Oldham County";
        Texas[182] = "Orange County";
        Texas[183] = "Palo Pinto County";
        Texas[184] = "Panola County";
        Texas[185] = "Parker County";
        Texas[186] = "Parmer County";
        Texas[187] = "Pecos County";
        Texas[188] = "Polk County";
        Texas[189] = "Potter County";
        Texas[190] = "Presidio County";
        Texas[191] = "Rains County";
        Texas[192] = "Randall County";
        Texas[193] = "Reagan County";
        Texas[194] = "Real County";
        Texas[195] = "Red River County";
        Texas[196] = "Reeves County";
        Texas[197] = "Refugio County";
        Texas[198] = "Roberts County";
        Texas[199] = "Robertson County";
        Texas[200] = "Rockwall County";
        Texas[201] = "Runnels County";
        Texas[202] = "Rusk County";
        Texas[203] = "Sabine County";
        Texas[204] = "San Augustine County";
        Texas[205] = "San Jacinto County";
        Texas[206] = "San Patricio County";
        Texas[207] = "San Saba County";
        Texas[208] = "Schleicher County";
        Texas[209] = "Scurry County";
        Texas[210] = "Shackelford County";
        Texas[211] = "Shelby County";
        Texas[212] = "Sherman County";
        Texas[213] = "Smith County";
        Texas[214] = "Somervell County";
        Texas[215] = "Starr County";
        Texas[216] = "Stephens County";
        Texas[217] = "Sterling County";
        Texas[218] = "Stonewall County";
        Texas[219] = "Sutton County";
        Texas[220] = "Swisher County";
        Texas[221] = "Tarrant County";
        Texas[222] = "Taylor County";
        Texas[223] = "Terrell County";
        Texas[224] = "Terry County";
        Texas[225] = "Throckmorton County";
        Texas[226] = "Titus County";
	Texas[227] = "Tom Green County";
	Texas[228] = "Travis County";
	Texas[229] = "Trinity County";
	Texas[230] = "Tyler County";
	Texas[231] = "Upshur County";
	Texas[232] = "Upton County";
	Texas[233] = "Uvalde County";
	Texas[234] = "Val Verde County";
	Texas[235] = "Van Zandt County";
	Texas[236] = "Victoria County";
	Texas[237] = "Walker County";
	Texas[238] = "Waller County";
	Texas[239] = "Ward County";
	Texas[240] = "Washington County";
	Texas[241] = "Webb County";
	Texas[242] = "Wharton County";
	Texas[243] = "Wheeler County";
	Texas[244] = "Wichita County";
	Texas[245] = "Wilbarger County";
	Texas[246] = "Willacy County";
	Texas[247] = "Williamson County";
	Texas[248] = "Wilson County";
	Texas[249] = "Winkler County";
	Texas[250] = "Wise County";
	Texas[251] = "Wood County";
	Texas[252] = "Yoakum County";
	Texas[253] = "Young County";
	Texas[254] = "Zapata County";
	Texas[255] = "Zavala County";
	
	var Utah = new Array();
	Utah [0] = "SELECT A COUNTY";
	Utah [1] = "Beaver County";
	Utah [2] = "Box Elder County";
	Utah [3] = "Cache County";
	Utah [4] = "Carbon County";
	Utah [5] = "Daggett County";
	Utah [6] = "Davis County";
	Utah [7] = "Duchesne County";
	Utah [8] = "Emery County";
	Utah [9] = "Garfield County";
	Utah [10] = "Grand County";
	Utah [11] = "Iron County";
	Utah [12] = "Juab County";
	Utah [13] = "Kane County";
	Utah [14] = "Millard County";
	Utah [15] = "Morgan County";
	Utah [16] = "Piute County";
	Utah [17] = "Rich County";
	Utah [18] = "Salt Lake County";
	Utah [19] = "San Juan County";
	Utah [20] = "Sanpete County";
	Utah [21] = "Sevier County";
	Utah [22] = "Summit County";
	Utah [23] = "Tooele County";
	Utah [24] = "Uintah County";
	Utah [25] = "Utah County";
	Utah [26] = "Wasatch County";
	Utah [27] = "Washington County";
	Utah [28] = "Wayne County";
	Utah [29] = "Weber County";
	
	
	var Virginia = new Array();
	Virginia[0] = "SELECT A COUNTY";
	Virginia[1] = "Accomack";
	Virginia[2] = "Albemarle";
	Virginia[3] = "Alexandria City";
	Virginia[4] = "Arlington";
	Virginia[5] = "Augusta";
	Virginia[6] = "Caroline";
	Virginia[7] = "Charlottesville City";
	Virginia[8] = "Clarke";
	Virginia[9] = "Culpeper";	
	Virginia[10] = "Essex";
	Virginia[11] = "Fairfax";
	Virginia[12] = "Fairfax City";
	Virginia[13] = "Falls Church City";
	Virginia[14] = "Fauquier";
	Virginia[15] = "Flunna";
	Virginia[16] = "Frederick";
	Virginia[17] = "Fredericksburg City";
	Virginia[18] = "Goochland";
	Virginia[19] = "Greene";
	Virginia[20] = "Hanover";
	Virginia[21] = "Harrisonburg City";
	Virginia[22] = "Henrico";
	Virginia[23] = "King and Queen";
	Virginia[24] = "King George";
	Virginia[25] = "King William";
	Virginia[26] = "Lancaster";
	Virginia[27] = "Loudoun";
	Virginia[28] = "Louisa";
	Virginia[29] = "Madison";
	Virginia[30] = "Manassas City";
	Virginia[31] = "Manassas Park City";
	Virginia[32] = "Mathews";
	Virginia[33] = "Middlesex";
	Virginia[34] = "Nelson";
	Virginia[35] = "Northampton";
	Virginia[36] = "North Cumberland";
	Virginia[37] = "Orange";
	Virginia[38] = "Page";
	Virginia[39] = "Prince William";
	Virginia[40] = "Rappahannock";
	Virginia[41] = "Richmond";
	Virginia[42] = "Richmond City";
	Virginia[43] = "Rockingham";
	Virginia[44] = "Shenandoah";
	Virginia[45] = "Spotsylnia";
	Virginia[46] = "Stafford";
	Virginia[47] = "Staunton City";
	Virginia[48] = "Warren";
	Virginia[49] = "Westmoreland";
	Virginia[50] = "Winchester City";
	
	var Vermont = new Array();
	Vermont[0] ="SELECT A COUNTY";
	Vermont[1] ="Addison County";
	Vermont[2] ="Bennington County";
	Vermont[3] ="Caledonia County";
	Vermont[4] ="Chittenden County";
	Vermont[5] ="Essex County";
	Vermont[6] ="Franklin County";
	Vermont[7] ="Grand Isle County";
	Vermont[8] ="Lamoille County";
	Vermont[9] ="Orange County";
	Vermont[10] ="Orleans County";
	Vermont[11] ="Rutland County";
	Vermont[12] ="Washington County";
	Vermont[13] ="Windham County";
	Vermont[14] ="Windsor County";
	
	var Washington = new Array();
	Washington[0] = "SELECT A COUNTY";
	Washington[1] = "Adams County";
	Washington[2] = "Asotin County";
	Washington[3] = "Benton County";
	Washington[4] = "Chelan County";
	Washington[5] = "Clallam County";
	Washington[6] = "Clark County";
	Washington[7] = "Columbia County";
	Washington[8] = "Cowlitz County";
	Washington[9] = "Douglas County";
	Washington[10] = "Ferry County";
	Washington[11] = "Franklin County";
	Washington[12] = "Garfield County";
	Washington[13] = "Grant County";
	Washington[14] = "Grays Harbor County";
	Washington[15] = "Island County";
	Washington[16] = "Jefferson County";
	Washington[17] = "King County";
	Washington[18] = "Kitsap County";
	Washington[19] = "Kittitas County";
	Washington[20] = "Klickitat County";
	Washington[21] = "Lewis County";
	Washington[22] = "Lincoln County";
	Washington[23] = "Mason County";
	Washington[24] = "Okanogan County";
	Washington[25] = "Pacific County";
	Washington[26] = "Pend Oreille County";
	Washington[27] = "Pierce County";
	Washington[28] = "San Juan County";
	Washington[29] = "Skagit County";
	Washington[30] = "Skamania County";
	Washington[31] = "Snohomish County";
	Washington[32] = "Spokane County";
	Washington[33] = "Stevens County";
	Washington[34] = "Thurston County";
	Washington[35] = "Wahkiakum County";
	Washington[36] = "Walla Walla County";
	Washington[37] = "Whatcom County";
	Washington[38] = "Whitman County";
	Washington[39] = "Yakima County";
	
	var Wisconsin = new Array();
	Wisconsin[0] = "SELECT A COUNTY";
	Wisconsin[1] = "Adams County";
	Wisconsin[2] = "Ashland County";
	Wisconsin[3] = "Barron County";
	Wisconsin[4] = "Bayfield County";
	Wisconsin[5] = "Brown County";
	Wisconsin[6] = "Buffalo County";
	Wisconsin[7] = "Burnett County";
	Wisconsin[8] = "Calumet County";
	Wisconsin[9] = "Chippewa County";
	Wisconsin[10] = "Clark County";
	Wisconsin[11] = "Columbia County";
	Wisconsin[12] = "Crawford County";
	Wisconsin[13] = "Dane County";
	Wisconsin[14] = "Dodge County";
	Wisconsin[15] = "Door County";
	Wisconsin[16] = "Douglas County";
	Wisconsin[17] = "Dunn County";
	Wisconsin[18] = "Eau Claire County";
	Wisconsin[19] = "Florence County";
	Wisconsin[20] = "Fond du Lac County";
	Wisconsin[21] = "Forest County";
	Wisconsin[22] = "Grant County";
	Wisconsin[23] = "Green County";
	Wisconsin[24] = "Green Lake County";
	Wisconsin[25] = "Iowa County";
	Wisconsin[26] = "Iron County";
	Wisconsin[27] = "Jackson County";
	Wisconsin[28] = "Jefferson County";
	Wisconsin[29] = "Juneau County";
	Wisconsin[30] = "Kenosha County";
	Wisconsin[31] = "Kewaunee County";
	Wisconsin[32] = "La Crosse County";
	Wisconsin[33] = "Lafayette County";
	Wisconsin[34] = "Langlade County";
	Wisconsin[35] = "Lincoln County";
	Wisconsin[36] = "Manitowoc County";
	Wisconsin[37] = "Marathon County";
	Wisconsin[38] = "Marinette County";
	Wisconsin[39] = "Marquette County";
	Wisconsin[40] = "Menominee County";
	Wisconsin[41] = "Milwaukee County";
	Wisconsin[42] = "Monroe County";
	Wisconsin[43] = "Oconto County";
	Wisconsin[44] = "Oneida County";
	Wisconsin[45] = "Outagamie County";
	Wisconsin[46] = "Ozaukee County";
	Wisconsin[47] = "Pepin County";
	Wisconsin[48] = "Pierce County";
	Wisconsin[49] = "Polk County";
	Wisconsin[50] = "Portage County";
	Wisconsin[51] = "Price County";
	Wisconsin[52] = "Racine County";
	Wisconsin[53] = "Richland County";
	Wisconsin[54] = "Rock County";
	Wisconsin[55] = "Rusk County";
	Wisconsin[56] = "St. Croix County";
	Wisconsin[57] = "Sauk County";
	Wisconsin[58] = "Sawyer County";
	Wisconsin[59] = "Shawano County";
	Wisconsin[60] = "Sheboygan County";
	Wisconsin[61] = "Taylor County";
	Wisconsin[62] = "Trempealeau County";
	Wisconsin[63] = "Vernon County";
	Wisconsin[64] = "Vilas County";
	Wisconsin[65] = "Walworth County";
	Wisconsin[66] = "Washburn County";
	Wisconsin[67] = "Washington County";
	Wisconsin[68] = "Waukesha County";
	Wisconsin[69] = "Waupaca County";
	Wisconsin[70] = "Waushara County";
	Wisconsin[71] = "Winnebago County";
	Wisconsin[72] = "Wood County";

 	var WestVirginia = new Array();
 	WestVirginia[0] = "SELECT A COUNTY";
 	WestVirginia[1] = "Barbour County";
 	WestVirginia[2] = "Berkeley County";
 	WestVirginia[3] = "Boone County";
 	WestVirginia[4] = "Braxton County";
 	WestVirginia[5] = "Brooke County";
 	WestVirginia[6] = "Cabell County";
 	WestVirginia[7] = "Calhoun County";
 	WestVirginia[8] = "Clay County";
 	WestVirginia[9] = "Doddridge County";
 	WestVirginia[10] = "Fayette County";
 	WestVirginia[11] = "Gilmer County";
 	WestVirginia[12] = "Grant County";
 	WestVirginia[13] = "Greenbrier County";
 	WestVirginia[14] = "Hampshire County";
 	WestVirginia[15] = "Hancock County";
 	WestVirginia[16] = "Hardy County";
 	WestVirginia[17] = "Harrison County";
 	WestVirginia[18] = "Jackson County";
 	WestVirginia[19] = "Jefferson County";
 	WestVirginia[20] = "Kanawha County";
 	WestVirginia[21] = "Lewis County";
 	WestVirginia[22] = "Lincoln County";
 	WestVirginia[23] = "Logan County";
 	WestVirginia[24] = "McDowell County";
 	WestVirginia[25] = "Marion County";
 	WestVirginia[26] = "Marshall County";
 	WestVirginia[27] = "Mason County";
 	WestVirginia[28] = "Mercer County";
 	WestVirginia[29] = "Mineral County";
 	WestVirginia[30] = "Mingo County";
 	WestVirginia[31] = "Monongalia County";
 	WestVirginia[32] = "Monroe County";
 	WestVirginia[33] = "Morgan County";
 	WestVirginia[34] = "Nicholas County";
 	WestVirginia[35] = "Ohio County";
 	WestVirginia[36] = "Pendleton County";
 	WestVirginia[37] = "Pleasants County";
 	WestVirginia[38] = "Pocahontas County";
 	WestVirginia[39] = "Preston County";
 	WestVirginia[40] = "Putnam County";
 	WestVirginia[41] = "Raleigh County";
 	WestVirginia[42] = "Randolph County";
 	WestVirginia[43] = "Ritchie County";
 	WestVirginia[44] = "Roane County";
 	WestVirginia[45] = "Summers County";
 	WestVirginia[46] = "Taylor County";
 	WestVirginia[47] = "Tucker County";
 	WestVirginia[48] = "Tyler County";
 	WestVirginia[49] = "Upshur County";
 	WestVirginia[50] = "Wayne County";
 	WestVirginia[51] = "Webster County";
 	WestVirginia[52] = "Wetzel County";
 	WestVirginia[53] = "Wirt County";
 	WestVirginia[54] = "Wood County";
 	WestVirginia[55] = "Wyoming County";	
 	
 	var Wyoming = new Array();
 	Wyoming[0] = "SELECT A COUNTY";
 	Wyoming[1] = "Albany County";
 	Wyoming[2] = "Big Horn County";
 	Wyoming[3] = "Campbell County";
 	Wyoming[4] = "Carbon County";
 	Wyoming[5] = "Converse County";
 	Wyoming[6] = "Crook County";
 	Wyoming[7] = "Fremont County";
 	Wyoming[8] = "Goshen County";
 	Wyoming[9] = "Hot Springs County";
 	Wyoming[10] = "Johnson County";
 	Wyoming[11] = "Laramie County";
 	Wyoming[12] = "Lincoln County";
 	Wyoming[13] = "Natrona County";
 	Wyoming[14] = "Niobrara County";
 	Wyoming[15] = "Park County";
 	Wyoming[16] = "Platte County";
 	Wyoming[17] = "Sheridan County";
 	Wyoming[18] = "Sublette County";
	Wyoming[19] = "Sweetwater County";
	Wyoming[20] = "Teton County";
	Wyoming[21] = "Uinta County";
	Wyoming[22] = "Washakie County";
	Wyoming[23] = "Weston County";

var country = new Array();
country[0] = "SELECT A COUNTRY";
country[1] = "INDIA";
country[2] = "USA";

var IndiaStates = new Array();
IndiaStates[0] = "SELECT A STATE";
IndiaStates[1] = "Andaman Nicobar";
IndiaStates[2] = "Andhra Pradesh";
IndiaStates[3] = "Arunachal Pradesh";
IndiaStates[4] = "Assam";
IndiaStates[5] = "Bihar";
IndiaStates[6] = "Chandigarh";
IndiaStates[7] = "Chhattisgarh";
IndiaStates[8] = "Dadra and Nagar Haveli";
IndiaStates[9] = "Daman and Diu";
IndiaStates[10] = "Delhi";
IndiaStates[11] = "Goa";
IndiaStates[12] = "Gujarat";
IndiaStates[13] = "Haryana";
IndiaStates[14] = "Himachal Pradesh";
IndiaStates[15] = "Jammu and Kashmir";
IndiaStates[16] = "Jharkhand";
IndiaStates[17] = "Karnataka";
IndiaStates[18] = "Kerala";
IndiaStates[19] = "Lakshadweep"; 
IndiaStates[20] = "Madhya Pradesh";
IndiaStates[21] = "Maharashtra";
IndiaStates[22] = "Manipur";
IndiaStates[23] = "Meghalaya";
IndiaStates[24] = "Mizoram";
IndiaStates[25] = "Nagaland";
IndiaStates[26] = "Orissa";
IndiaStates[27] = "Pondicherry";
IndiaStates[28] = "Punjab";
IndiaStates[29] = "Rajasthan";
IndiaStates[30] = "Sikkim";
IndiaStates[31] = "Tamil Nadu";
IndiaStates[32] = "Tripura";
IndiaStates[33] = "Uttar Pradesh";
IndiaStates[34] = "Uttaranchal";
IndiaStates[35] = "West Bengal";

/*var IndiaStates = new Array();
IndiaStates[0] = "SELECT A STATE"
IndiaStates[1] = "Rajasthan";
IndiaStates[2] = "Maharastra";
IndiaStates[3] = "Gujarat"; */

var Rajasthan = new Array();
Rajasthan [0] = "SELECT A DISTRICT";
Rajasthan [1] = "Ajmer";
Rajasthan [2] = "Alwar";
Rajasthan [3] = "Banswara";
Rajasthan [4] = "Baran";
Rajasthan [5] = "Barmer";
Rajasthan [6] = "Bharatpur";
Rajasthan [7] = "Bhilwara";
Rajasthan [8] = "Bikaner";
Rajasthan [9] = "Bundi";
Rajasthan [10] = "Chittorgarh";
Rajasthan [11] = "Churu";
Rajasthan [12] = "Dausa";
Rajasthan [13] = "Dholpur";
Rajasthan [14] = "Dungarpur";
Rajasthan [15] = "Hanumangarh";
Rajasthan [16] = "Jaipur";
Rajasthan [17] = "Jaisalmer";
Rajasthan [18] = "Jalor";
Rajasthan [19] = "Jhalawar";
Rajasthan [20] = "Jhunjhunu";
Rajasthan [21] = "Jodhpur";
Rajasthan [22] = "Karauli";
Rajasthan [23] = "Kota";
Rajasthan [24] = "Nagaur";
Rajasthan [25] = "Pali";
Rajasthan [26] = "Rajsamand";
Rajasthan [27] = "Sawai Madhopur";
Rajasthan [28] = "Sikar";
Rajasthan [29] = "Sirohi";
Rajasthan [30] = "Sri Ganganagar";
Rajasthan [31] = "Tonk";
Rajasthan [32] = "Udaipur";




var Maharastra = new Array();
Maharastra [0] = "SELECT A DISTRICT";
Maharastra [1] = "Ahmednagar";
Maharastra [2] = "Akola";
Maharastra [3] = "Amravati";
Maharastra [4] = "Aurangabad";
Maharastra [5] = "Bandra Suburban";
Maharastra [6] = "Beed";
Maharastra [7] = "Bhandara";
Maharastra [8] = "Buldhana";
Maharastra [9] = "Chandrapur";
Maharastra [10] = "Dhule";
Maharastra [11] = "Gadchiroli";
Maharastra [12] = "Gondia";
Maharastra [13] = "Hingoli";
Maharastra [14] = "Jalgaon";
Maharastra [15] = "Jalna";
Maharastra [16] = "Kolhapur";
Maharastra [17] = "Latur";
Maharastra [18] = "Mumbai";
Maharastra [19] = "Nagpur";
Maharastra [20] = "Nanded";
Maharastra [21] = "Nandurbar";
Maharastra [22] = "Nashik";
Maharastra [23] = "Osmanabad";
Maharastra [24] = "Parbhani";
Maharastra [25] = "Pune";
Maharastra [26] = "Raigarh";
Maharastra [27] = "Ratnagiri";
Maharastra [28] = "Sangli";
Maharastra [29] = "Satara";
Maharastra [30] = "Sindhudurg";
Maharastra [31] = "Solapur";
Maharastra [32] = "Thane";
Maharastra [33] = "Wardha";
Maharastra [34] = "Washim";
Maharastra [35] = "Yavatmal";

var Gujarat = new Array();
Gujarat [0] = "SELECT A DISTRICT";
Gujarat [1] = "Ahmedabad";
Gujarat [2] = "Amreli";
Gujarat [3] = "Anand";
Gujarat [4] = "Banas Kantha";
Gujarat [5] = "Bharuch";
Gujarat [6] = "Bhavnagar";
Gujarat [7] = "Dahod";
Gujarat [8] = "Gandhinagar";
Gujarat [9] = "Jamnagar";
Gujarat [10] = "Junagadh";
Gujarat [11] = "Kachchh";
Gujarat [12] = "Kheda";
Gujarat [13] = "Mahesana";
Gujarat [14] = "Narmada";
Gujarat [15] = "Navsari";
Gujarat [16] = "Panch Mahals";
Gujarat [17] = "Patan";
Gujarat [18] = "Porbandar";
Gujarat [19] = "Rajkot";
Gujarat [20] = "Sabar Kantha"
Gujarat [21] = "Surat";
Gujarat [22] = "Surendranagar";
Gujarat [23] = "The Dangs";
Gujarat [24] = "Vadodara";
Gujarat [25] = "Valsad";	
	
var AndamanNicobar = new Array();
AndamanNicobar [0] = "SELECT A DISTRICT";
AndamanNicobar [1] = "Andaman";
AndamanNicobar [2] = "Nicobar"; 	 

var AndhraPradesh = new Array();
AndhraPradesh [0] = "SELECT A DISTRICT";
AndhraPradesh [1] = "Adilabad"; 
AndhraPradesh [2] = "Anantapur"; 
AndhraPradesh [3] = "Chittoor";
AndhraPradesh [4] = "Cuddapah";
AndhraPradesh [5] = "East Godavari"; 
AndhraPradesh [6] = "Guntur";
AndhraPradesh [7] = "Hyderabad";
AndhraPradesh [8] = "Karimnagar";
AndhraPradesh [9] = "Khammam";
AndhraPradesh [10] = "Krishna"; 	
AndhraPradesh [11] = "Kurnool"; 	
AndhraPradesh [12] = "Mahbubnagar";
AndhraPradesh [13] = "Medak"; 
AndhraPradesh [14] = "Nalgonda"; 	
AndhraPradesh [15] = "Nellore";
AndhraPradesh [16] = "Nizamabad"; 
AndhraPradesh [17] = "Prakasam";
AndhraPradesh [18] = "Rangareddi";
AndhraPradesh [19] = "Srikakulam";
AndhraPradesh [20] = "Visakhapatnam";
AndhraPradesh [21] = "Vizianagaram";
AndhraPradesh [22] = "Warangal";
AndhraPradesh [23] = "West Godavari";

var ArunachalPradesh = new Array();
ArunachalPradesh [0] = "SELECT A DISTRICT";
ArunachalPradesh [1] = "Anjaw";
ArunachalPradesh [2] = "Changlang"; 
ArunachalPradesh [3] = "Dibang Valley";
ArunachalPradesh [4] = "East Kameng"; 
ArunachalPradesh [5] = "East Siang"; 	
ArunachalPradesh [6] = "Kurung Kumey";
ArunachalPradesh [7] = "Lohit"; 
ArunachalPradesh [8] = "Lower Dibang Valley"; 
ArunachalPradesh [9] = "Lower Subansiri";
ArunachalPradesh [10] = "Papum Pare"; 	
ArunachalPradesh [11] = "Tawang"; 	
ArunachalPradesh [12] = "Tirap";
ArunachalPradesh [13] = "Upper Siang"; 
ArunachalPradesh [14] = "Upper Subansiri"; 
ArunachalPradesh [15] = "West Kameng";
ArunachalPradesh [16] = "West Siang";

var Assam = new Array();
Assam [0] = "SELECT A DISTRICT";
Assam [1] = "Barpeta"; 	
Assam [2] = "Bongaigaon"; 
Assam [3] = "Cachar";
Assam [4] = "Darrang"; 
Assam [5] = "Dhemaji"; 
Assam [6] = "Dhubri";
Assam [7] = "Dibrugarh"; 
Assam [8] = "Goalpara"; 
Assam [9] = "Golaghat";
Assam [10] = "Hailakandi"; 
Assam [11] = "Jorhat"; 
Assam [12] = "Kamrup";
Assam [13] = "Karbi Anglong"; 
Assam [14] = "Karimganj"; 
Assam [15] = "Kokrajhar";
Assam [16] = "Lakhimpur"; 	
Assam [17] = "Marigaon"; 	
Assam [18] = "Nagaon";
Assam [19] = "Nalbari"; 
Assam [20] = "North Cachar Hills"; 	
Assam [21] = "Sivasagar";
Assam [22] = "Sonitpur"; 
Assam [23] = "Tinsukia"; 	 

var Bihar = new Array();
Bihar [0] = "SELECT A DISTRICT";
Bihar [1] = "Araria"; 
Bihar [2] = "Aurangabad"; 
Bihar [3] = "Banka";
Bihar [4] = "Begusarai";
Bihar [5] = "Bhagalpur";
Bihar [6] = "Bhojpur";
Bihar [7] = "Buxar";
Bihar [8] = "Darbhanga";
Bihar [9] = "East Champaran";
Bihar [10] = "Gaya";
Bihar [11] = "Gopalganj"; 	 
Bihar [12] = "Jamui";
Bihar [13] = "Jehanabad";
Bihar [14] = "Kaimur (Bhabua)";
Bihar [15] = "Katihar";
Bihar [16] = "Khagaria";
Bihar [17] = "Kishanganj"; 
Bihar [18] = "Lakhisarai";
Bihar [19] = "Madhepura"; 	
Bihar [20] = "Madhubani"; 	
Bihar [21] = "Munger";
Bihar [22] = "Muzaffarpur"; 	
Bihar [23] = "Nalanda"; 	
Bihar [24] = "Nawada";
Bihar [25] = "Patna"; 
Bihar [26] = "Purnia"; 
Bihar [27] = "Rohtas";
Bihar [28] = "Saharsa"; 	
Bihar [29] = "Samastipur"; 	
Bihar [30] = "Saran";
Bihar [31] = "Sheikhpura"; 	
Bihar [32] = "Sheohar"; 	
Bihar [33] = "Sitamarhi";
Bihar [34] = "Siwan"; 	
Bihar [35] = "Supaul"; 	
Bihar [36] = "Vaishali";
Bihar [37] = "West Champaran";

var Chandigarh = new Array();
Chandigarh [0] = "SELECT A DISTRICT";
Chandigarh [1] = "Chandigarh";

var Chhattisgarh = new Array();
Chhattisgarh [0] = "SELECT A DISTRICT";
Chhattisgarh [1] = "Bastar"; 	
Chhattisgarh [2] = "Bilaspur"; 	
Chhattisgarh [3] = "Dantewada";
Chhattisgarh [4] = "Dhamtari"; 
Chhattisgarh [5] = "Durg"; 	
Chhattisgarh [6] = "Janjgir-Champa";
Chhattisgarh [7] = "Jashpur"; 
Chhattisgarh [8] = "Kanker"; 	
Chhattisgarh [9] = "Kawardha";
Chhattisgarh [10] = "Korba"; 
Chhattisgarh [11] = "Korea"; 
Chhattisgarh [12] = "Mahasamund";
Chhattisgarh [13] = "Raigarh"; 
Chhattisgarh [14] = "Raipur"; 
Chhattisgarh [15] = "Rajnandgaon";
Chhattisgarh [16] = "Surguja";

var DadraandNagarHaveli = new Array();
DadraandNagarHaveli [0] = "SELECT A DISTRICT";
DadraandNagarHaveli [1] = "Dadra & Nagar Haveli";

var DamanandDiu	= new Array();
DamanandDiu [0] = "SELECT A DISTRICT";
DamanandDiu [1] = "Daman";
DamanandDiu [2] = "Diu"; 	 

var Delhi = new Array();
Delhi [0] = "SELECT A DISTRICT";
Delhi [1] = "Central Delhi"; 
Delhi [2] = "East Delhi"; 	
Delhi [3] = "New Delhi";
Delhi [4] = "North Delhi"; 	
Delhi [5] = "North East Delhi"; 
Delhi [6] = "North West Delhi";
Delhi [7] = "South Delhi"; 	
Delhi [8] = "South West Delhi"; 
Delhi [9] = "West Delhi";

var Goa	= new Array();
Goa [0] = "SELECT A DISTRICT";
Goa [1] = "North Goa"; 
Goa [2] = "South Goa"; 	 

var Haryana = new Array();
Haryana [0] = "SELECT A DISTRICT";
Haryana [1] = "Ambala"; 
Haryana [2] = "Bhiwani"; 
Haryana [3] = "Faridabad";
Haryana [4] = "Fatehabad"; 
Haryana [5] = "Gurgaon"; 	
Haryana [6] = "Hisar";
Haryana [7] = "Jhajjar"; 	
Haryana [8] = "Jind"; 	
Haryana [9] = "Kaithal";
Haryana [10] = "Karnal"; 
Haryana [11] = "Kurukshetra"; 
Haryana [12] = "Mahendragarh";
Haryana [13] = "Mewat"; 
Haryana [14] = "Panchkula"; 
Haryana [15] = "Panipat";
Haryana [16] = "Rewari"; 
Haryana [17] = "Rohtak";
Haryana [18] = "Sirsa";
Haryana [19] = "Sonipat"; 
Haryana [20] = "Yamunanagar"; 	 

var HimachalPradesh = new Array();
HimachalPradesh [0] = "SELECT A DISTRICT";
HimachalPradesh [1] = "Bilaspur"; 	
HimachalPradesh [2] = "Chamba"; 
HimachalPradesh [3] = "Hamirpur";
HimachalPradesh [4] = "Kangra"; 
HimachalPradesh [5] = "Kinnaur"; 
HimachalPradesh [6] = "Kullu";
HimachalPradesh [7] = "Lahaul & Spiti"; 
HimachalPradesh [8] = "Mandi"; 
HimachalPradesh [9] = "Shimla";
HimachalPradesh [10] = "Sirmaur"; 
HimachalPradesh [12] = "Solan"; 
HimachalPradesh [13] = "Una";

var JammuandKashmir = new Array();
JammuandKashmir [0] = "SELECT A DISTRICT";
JammuandKashmir [1] = "Anantnag"; 
JammuandKashmir [2] = "Baramulla"; 
JammuandKashmir [3] = "Budgam";
JammuandKashmir [4] = "Doda"; 	
JammuandKashmir [5] = "Jammu"; 	
JammuandKashmir [6] = "Kargil";
JammuandKashmir [7] = "Kathua"; 	
JammuandKashmir [8] = "Kupwara"; 
JammuandKashmir [9] = "Leh";
JammuandKashmir [10] = "Poonch"; 	
JammuandKashmir [11] = "Pulwama"; 
JammuandKashmir [12] = "Rajauri";
JammuandKashmir [13] = "Srinagar"; 
JammuandKashmir [14] = "Udhampur"; 	 

var Jharkhand = new Array();
Jharkhand [0] = "SELECT A DISTRICT";
Jharkhand [1] = "Bokaro"; 
Jharkhand [2] = "Chatra"; 	
Jharkhand [3] = "Deoghar";
Jharkhand [4] = "Dhanbad"; 
Jharkhand [5] = "Dumka"; 	
Jharkhand [6] = "East Singhbhum";
Jharkhand [7] = "Garhwa"; 
Jharkhand [8] = "Giridih"; 
Jharkhand [9] = "Godda";
Jharkhand [10] = "Gumla"; 
Jharkhand [11] = "Hazaribag"; 
Jharkhand [12] = "Jamtara";
Jharkhand [13] = "Koderma"; 
Jharkhand [14] = "Latehar"; 
Jharkhand [15] = "Lohardaga";
Jharkhand [16] = "Pakur"; 
Jharkhand [17] = "Palamu"; 
Jharkhand [18] = "Ranchi";
Jharkhand [19] = "Sahibganj"; 
Jharkhand [20] = "Seraikela"; 	
Jharkhand [21] = "Simdega";
Jharkhand [22] = "West Singhbhum";

var Karnataka = new Array();
Karnataka [0] = "SELECT A DISTRICT";
Karnataka [1] = "Bagalkot"; 
Karnataka [2] = "Bangalore"; 
Karnataka [3] = "Bangalore Rural";
Karnataka [4] = "Belgaum"; 
Karnataka [5] = "Bellary"; 
Karnataka [6] = "Bidar";
Karnataka [7] = "Bijapur"; 	
Karnataka [8] = "Chamrajnagar"; 
Karnataka [9] = "Chickmagalur";
Karnataka [10] = "Chitradurga"; 
Karnataka [11] = "Davangere"; 	
Karnataka [12] = "Dharwad";
Karnataka [13] = "Gadag"; 	
Karnataka [14] = "Gulbarga"; 	
Karnataka [15] = "Hassan";
Karnataka [16] = "Haveri"; 	
Karnataka [17] = "Kodagu"; 	
Karnataka [18] = "Kolar";
Karnataka [19] = "Koppal"; 	 
Karnataka [20] = "Mandya"; 
Karnataka [21] = "Mysore";
Karnataka [22] = "North Kannada"; 
Karnataka [23] = "Raichur"; 	
Karnataka [24] = "Shimoga";
Karnataka [25] = "South Kannada"; 
Karnataka [26] = "Tumkur"; 	 
Karnataka [27] = "Udupi";

var Kerala = new Array();
Kerala [0]= "SELECT A DISTRICT";
Kerala [1] = "Alappuzha"; 
Kerala [2] = "Ernakulam"; 
Kerala [3] = "Idukki";
Kerala [4] = "Kannur"; 
Kerala [5] = "Kasargod"; 
Kerala [6] = "Kollam";
Kerala [7] = "Kottayam"; 
Kerala [8] = "Kozhikode"; 
Kerala [9] = "Malappuram";
Kerala [10] = "Palakkad"; 
Kerala [11] = "Pathanamthitta"; 
Kerala [12] = "Thiruvananthapuram";
Kerala [13] = "Thrissur"; 	
Kerala [14] = "Wayanad"; 	 

var Lakshadweep = new Array(); 
Lakshadweep [0]= "SELECT A DISTRICT";
Lakshadweep [1] = "Lakshadweep";

var MadhyaPradesh = new Array();
MadhyaPradesh [0] = "SELECT A DISTRICT";
MadhyaPradesh [1] = "Anuppur"; 
MadhyaPradesh [2] = "Ashoknagar"; 
MadhyaPradesh [3] = "Balaghat";
MadhyaPradesh [4] = "Barwani"; 
MadhyaPradesh [5] = "Betul"; 
MadhyaPradesh [6] = "Bhind";
MadhyaPradesh [7] = "Bhopal"; 
MadhyaPradesh [8] = "Burhanpur"; 
MadhyaPradesh [9] = "Chhatarpur";
MadhyaPradesh [10] = "Chhindwara"; 
MadhyaPradesh [11] = "Damoh"; 
MadhyaPradesh [12] = "Datia";
MadhyaPradesh [13] = "Dewas"; 	
MadhyaPradesh [14] = "Dhar"; 
MadhyaPradesh [15] = "Dindori";
MadhyaPradesh [16] = "Guna"; 	
MadhyaPradesh [17] = "Gwalior"; 
MadhyaPradesh [18] = "Harda";
MadhyaPradesh [19] = "Hoshangabad"; 
MadhyaPradesh [20] = "Indore"; 	
MadhyaPradesh [21] = "Jabalpur";
MadhyaPradesh [22] = "Jhabua"; 
MadhyaPradesh [23] = "Katni"; 	
MadhyaPradesh [24] = "Khandwa";
MadhyaPradesh [25] = "Khargone"; 
MadhyaPradesh [26] = "Mandla"; 
MadhyaPradesh [27] = "Mandsaur";
MadhyaPradesh [28] = "Morena"; 
MadhyaPradesh [29] = "Narsinghpur";
MadhyaPradesh [30] = "Neemuch";
MadhyaPradesh [31] = "Panna"; 
MadhyaPradesh [32] = "Raisen"; 
MadhyaPradesh [33] = "Rajgarh";
MadhyaPradesh [34] = "Ratlam"; 
MadhyaPradesh [35] = "Rewa"; 	
MadhyaPradesh [36] = "Sagar";
MadhyaPradesh [37] = "Satna"; 
MadhyaPradesh [38] = "Sehore"; 	
MadhyaPradesh [39] = "Seoni";
MadhyaPradesh [40] = "Shahdol"; 
MadhyaPradesh [41] = "Shajapur"; 
MadhyaPradesh [42] = "Sheopur";
MadhyaPradesh [43] = "Shivpuri"; 
MadhyaPradesh [44] = "Sidhi"; 
MadhyaPradesh [45] = "Tikamgarh";
MadhyaPradesh [46] = "Ujjain"; 
MadhyaPradesh [47] = "Umaria"; 
MadhyaPradesh [48] = "Vidisha";

var Manipur = new Array();
Manipur [0] = "SELECT A DISTRICT";
Manipur [1] = "Bishnupur"; 	
Manipur [2] = "Chandel"; 	
Manipur [3] = "Churachandpur";
Manipur [4] = "Imphal East"; 
Manipur [5] = "Imphal West"; 	
Manipur [6] = "Senapati";
Manipur [7] = "Tamenglong"; 	
Manipur [8] = "Thoubal"; 	
Manipur [9] = "Ukhrul";

var Meghalaya = new Array();
Meghalaya [0] = "SELECT A DISTRICT";
Meghalaya [1] = "East Garo Hills";
Meghalaya [2] = "East Khasi Hills"; 	
Meghalaya [3] = "Jaintia Hills";
Meghalaya [4] = "Ri Bhoi"; 
Meghalaya [5] = "South Garo Hills"; 
Meghalaya [6] = "West Garo Hills";
Meghalaya [7] = "West Khasi Hills";

var Mizoram = new Array();
Mizoram [0] = "SELECT A DISTRICT";
Mizoram [1] = "Aizawl"; 	 
Mizoram [2] = "Champhai"; 
Mizoram [3] = "Kolasib";
Mizoram [4] = "Lawngtlai"; 
Mizoram [5] = "Lunglei"; 
Mizoram [6] = "Mamit";
Mizoram [7] = "Saiha"; 	 
Mizoram [8] = "Serchhip";

var Nagaland = new Array();
Nagaland [0] = "SELECT A DISTRICT";
Nagaland [1] = "Dimapur"; 
Nagaland [2] = "Kohima"; 
Nagaland [3] = "Mokokchung";
Nagaland [4] = "Mon"; 	
Nagaland [5] = "Phek"; 
Nagaland [6] = "Tuensang";
Nagaland [7] = "Wokha"; 
Nagaland [8] = "Zunheboto"; 	 

var Orissa = new Array();
Orissa [0] = "SELECT A DISTRICT";
Orissa [1] = "Angul"; 	
Orissa [2] = "Balangir"; 
Orissa [3] = "Baleswar";
Orissa [4] = "Bargarh"; 
Orissa [5] = "Bhadrak"; 
Orissa [6] = "Boudh";
Orissa [7] = "Cuttack"; 
Orissa [8] = "Debagarh"; 
Orissa [9] = "Dhenkanal";
Orissa [10] = "Gajapati"; 	
Orissa [11] = "Ganjam"; 	
Orissa [12] = "Jagatsinghapur";
Orissa [13] = "Jajapur";
Orissa [14] = "Jharsuguda"; 
Orissa [15] = "Kalahandi";
Orissa [16] = "Kandhamal"; 
Orissa [17] = "Kendrapara"; 
Orissa [18] = "Kendujhar";
Orissa [19] = "Khordha"; 
Orissa [20] = "Koraput"; 
Orissa [21] = "Malkangiri";
Orissa [22] = "Mayurbhanj"; 
Orissa [23] = "Nabarangapur"; 	
Orissa [24] = "Nayagarh";
Orissa [25] = "Nuapada"; 	
Orissa [26] = "Puri"; 
Orissa [27] = "Rayagada";
Orissa [28] = "Sambalpur"; 
Orissa [29] = "Subarnapur"; 
Orissa [30] = "Sundergarh";

var Pondicherry = new Array();
Pondicherry [0] = "SELECT A DISTRICT";
Pondicherry [1] = "Karaikal"; 
Pondicherry [2] = "Mahe"; 	
Pondicherry [3] = "Pondicherry";
Pondicherry [4] = "Yanam";

var Punjab = new Array();
Punjab [0] =  "SELECT A DISTRICT";
Punjab [1] = "Amritsar"; 	
Punjab [2] = "Bathinda"; 	
Punjab [3] = "Faridkot";
Punjab [4] = "Fatehgarh Sahib"; 
Punjab [5] = "Ferozepur"; 	
Punjab [6] = "Gurdaspur";
Punjab [7] = "Hoshiarpur"; 	
Punjab [8] = "Jalandhar"; 	
Punjab [9] = "Kapurthala";
Punjab [10] = "Ludhiana"; 	
Punjab [11] = "Mansa"; 	
Punjab [12] = "Moga";
Punjab [13] = "Muktsar"; 
Punjab [14] = "Nawanshahr"; 	
Punjab [15] = "Patiala";
Punjab [16] = "Rupnagar"; 
Punjab [17] = "Sangrur";

var Sikkim = new Array();
Sikkim [0] = "SELECT A DISTRICT";
Sikkim [1] = "East Sikkim"; 	
Sikkim [2] = "North Sikkim"; 	
Sikkim [3] = "South Sikkim";
Sikkim [4] = "West Sikkim";

var TamilNadu = new Array();
TamilNadu [0] = "SELECT A DISTRICT";
TamilNadu [1] = "Chennai"; 
TamilNadu [2] = "Coimbatore";
TamilNadu [3] = "Cuddalore";
TamilNadu [4] = "Dharmapuri"; 	
TamilNadu [5] = "Dindigul"; 
TamilNadu [6] = "Erode";
TamilNadu [7] = "Kanchipuram";
TamilNadu [8] = "Kanyakumari"; 
TamilNadu [9] = "Karur";
TamilNadu [10] = "Krishnagiri"; 
TamilNadu [11] = "Madurai"; 
TamilNadu [12] = "Nagapattinam";
TamilNadu [13] = "Namakkal"; 
TamilNadu [14] = "Nilgiris"; 	
TamilNadu [15] = "Perambalur";
TamilNadu [16] = "Pudukkottai"; 	
TamilNadu [17] = "Ramanathapuram";
TamilNadu [18] = "Salem";
TamilNadu [19] = "Sivaganga"; 
TamilNadu [20] = "Thanjavur"; 
TamilNadu [21] = "Theni";
TamilNadu [22] = "Thoothukudi"; 	
TamilNadu [23] = "Tiruchirappalli"; 	
TamilNadu [24] = "Tirunelveli";
TamilNadu [25] = "Tiruvallur"; 
TamilNadu [26] = "Tiruvannamalai"; 
TamilNadu [27] = "Tiruvarur";
TamilNadu [28] = "Vellore"; 
TamilNadu [29] = "Viluppuram"; 
TamilNadu [30] = "Virudhunagar";

var Tripura = new Array();
Tripura [0] = "SELECT A DISTRICT";
Tripura [1] = "Dhalai"; 	
Tripura [2] = "North Tripura"; 	
Tripura [3] = "South Tripura";
Tripura [4] = "West Tripura";

var UttarPradesh = new Array();
UttarPradesh [0] = "SELECT A DISTRICT";
UttarPradesh [1] = "Agra"; 	
UttarPradesh [2] = "Aligarh"; 
UttarPradesh [3] = "Allahabad";
UttarPradesh [4] = "Ambedkar Nagar"; 
UttarPradesh [5] = "Auraiya"; 
UttarPradesh [6] = "Azamgarh";
UttarPradesh [7] = "Bagpat"; 
UttarPradesh [8] = "Bahraich"; 	
UttarPradesh [9] = "Ballia";
UttarPradesh [10] = "Balrampur"; 
UttarPradesh [11] = "Banda";
UttarPradesh [12] = "Barabanki";
UttarPradesh [13] = "Bareilly"; 
UttarPradesh [14] = "Basti"; 
UttarPradesh [15] = "Bijnor";
UttarPradesh [16] = "Budaun"; 
UttarPradesh [17] = "Bulandshahr";
UttarPradesh [18] = "Chandauli";
UttarPradesh [19] = "Chitrakoot"; 
UttarPradesh [20] = "Deoria"; 
UttarPradesh [21] = "Etah";
UttarPradesh [22] = "Etawah";
UttarPradesh [23] = "Faizabad"; 	
UttarPradesh [24] = "Farrukhabad";
UttarPradesh [25] = "Fatehpur"; 
UttarPradesh [26] = "Firozabad"; 
UttarPradesh [27] = "Gautam Buddha Nagar";
UttarPradesh [28] = "Ghaziabad"; 
UttarPradesh [29] = "Ghazipur"; 
UttarPradesh [30] = "Gonda";
UttarPradesh [31] = "Gorakhpur"; 
UttarPradesh [32] = "Hamirpur"; 
UttarPradesh [33] = "Hardoi";
UttarPradesh [34] = "Hathras"; 	
UttarPradesh [35] = "Jalaun"; 
UttarPradesh [36] = "Jaunpur";
UttarPradesh [37] = "Jhansi"; 
UttarPradesh [38] = "Jyotiba Phule Nagar"; 
UttarPradesh [39] = "Kannauj";
UttarPradesh [40] = "Kanpur Dehat"; 
UttarPradesh [41] = "Kanpur Nagar"; 
UttarPradesh [42] = "Kaushambi";
UttarPradesh [43] = "Kheri"; 
UttarPradesh [44] = "Kushinagar"; 
UttarPradesh [45] = "Lalitpur";
UttarPradesh [46] = "Lucknow"; 
UttarPradesh [47] = "Maharajganj"; 
UttarPradesh [48] = "Mahoba";
UttarPradesh [49] = "Mainpuri"; 	
UttarPradesh [50] = "Mathura";
UttarPradesh [51] = "Mau";
UttarPradesh [52] = "Meerut"; 
UttarPradesh [53] = "Mirzapur"; 
UttarPradesh [54] = "Moradabad";
UttarPradesh [55] = "Muzaffarnagar";
UttarPradesh [56] = "Pilibhit";
UttarPradesh [57] = "Pratapgarh";
UttarPradesh [58] = "RaeBareli"; 
UttarPradesh [59] = "Rampur";
UttarPradesh [60] = "Saharanpur";
UttarPradesh [61] = "Sant Kabir Nagar"; 
UttarPradesh [62] = "Sant Ravidas Nagar"; 	
UttarPradesh [63] = "Shahjahanpur";
UttarPradesh [64] = "Shravasti"; 
UttarPradesh [65] = "Siddharthnagar"; 
UttarPradesh [66] = "Sitapur";
UttarPradesh [67] = "Sonbhadra"; 
UttarPradesh [68] = "Sultanpur";
UttarPradesh [69] = "Unnao";
UttarPradesh [70] = "Varanasi";

var Uttaranchal = new Array();
Uttaranchal [0] = "SELECT A DISTRICT";
Uttaranchal [1] = "Almora"; 	
Uttaranchal [2] = "Bageshwar";	
Uttaranchal [3] = "Chamoli";
Uttaranchal [4] = "Champawat"; 	
Uttaranchal [5] = "Dehradun"; 	
Uttaranchal [6] = "Haridwar";
Uttaranchal [7] = "Nainital"; 	
Uttaranchal [8] = "Pauri Garhwal"; 	
Uttaranchal [9] = "Pithoragarh";
Uttaranchal [10] = "Rudraprayag"; 	
Uttaranchal [11] = "Tehri Garhwal"; 	
Uttaranchal [12] = "Udham Singh Nagar";
Uttaranchal [13] = "Uttarkashi";

var WestBengal = new Array();
WestBengal [0] = "SELECT A DISTRICT";
WestBengal [1] = "Bankura"; 	
WestBengal [2] = "Bardhaman"; 	
WestBengal [3] = "Birbhum";
WestBengal [4] = "Cooch Behar"; 	
WestBengal [5] = "Darjiling"; 	   
WestBengal [6] = "East Midnapore";
WestBengal [7] = "Hooghly"; 
WestBengal [8] = "Howrah"; 
WestBengal [9] = "Jalpaiguri";
WestBengal [10] = "Malda"; 
WestBengal [11] = "Murshidabad"; 	
WestBengal [12] = "Nadia";
WestBengal [13] = "North 24 Parganas"; 
WestBengal [14] = "North Dinajpur"; 
WestBengal [15] = "Puruliya";
WestBengal [16] = "South 24 Parganas"; 	
WestBengal [17] = "South Dinajpur";
WestBengal [18] = "West Midnapore";

	
	
	
function  findCountry(){

var which_array3 = document.form1.country.options[document.form1.country.options.selectedIndex].text;
var which_array3 = splitInt(which_array3," ");


//document.form1.cntry.options.length = 0;

if(which_array3 == "USA")
  { 
      document.form1.state.disabled=false;
      document.form1.state.options.length = 0;
     
      document.getElementById("cid").innerHTML = "County:";      
      document.getElementById("zip").innerHTML = "Zip:";
      if(document.getElementById("minp")!= null)
      	{document.getElementById("minp").innerHTML = "<nobr>Min ($):</nobr>";}
      if(document.getElementById("maxp")!= null)
      	{document.getElementById("maxp").innerHTML = "<nobr>Max ($):</nobr>";}
      myStates2(state);
  }
if(which_array3 == "INDIA")
   {
    
    document.form1.state.disabled=false; 
    document.form1.state.options.length = 0;     
    document.getElementById("cid").innerHTML = "District:";    
    document.getElementById("zip").innerHTML = "Pin:";
    if(document.getElementById("minp")!= null)    
    	{document.getElementById("minp").innerHTML = "<nobr>Min (Rs):</nobr>";}
    if(document.getElementById("maxp") != null)	
    	{document.getElementById("maxp").innerHTML = "<nobr>Max (Rs):</nobr>";}
    
    myStates2(IndiaStates);

   }

}//ends function

function changeAskingPrice(){
if(document.form1.country.options[document.form1.country.options.selectedIndex].text == "USA")
 {
   document.getElementById("price").innerHTML = "* Asking Price ($):";
 }
else
 {
   document.getElementById("price").innerHTML = "* Asking Price (Rs):";}
 }
 
 
function  makebox(){


var array_name;
var which_array = document.form1.state.options[document.form1.state.options.selectedIndex].text;
var which_array2 = splitInt(which_array," ");

array_name = eval(which_array2);

document.form1.county.options.length = 0;
//alert("this is array_name " + array_name);
selectedCounties(array_name);

}//ends function
function selectedCounties(passCounties)
        {
          for (i=0; i < passCounties.length; i++)
		{
		 document.form1.county.disabled=false;			 
		 document.form1.county.options[i]= new Option(passCounties[i],passCounties[i]);  

		}//ends for	 	
        
        
        }

function myStates2(selectedState){
        
	for (i=0; i < selectedState.length; i++)
	{
	  
	  document.form1.state.options[i] = new Option(selectedState[i],selectedState[i]);
	  
	  
	}//ends for

}
function loadCountries(){
        
	for (i=0; i < country.length; i++)
	{
	 
	  document.form1.country.options[i] = new Option(country[i],country[i]);	  
	  
	}//ends for

}






function SearchValidation(){

	var errCount = 0;
	var errorMsg="";
	var fm = document.form1;


		if(!fm.search1[0].checked &&
		!fm.search1[1].checked)
		 {
		  errorMsg = alert("Please select either 'Rent' or 'Buy' for your search")
		  return false;		  
		 }

		if (fm.state.value == "SELECT A STATE" ||
		    fm.county.value == "SELECT A COUNTY")

		{
		alert("Please select State and County to search.");				
		return false;
		}

		var city1 =  charvalidation(fm.city.value);
		if(city1 == "no")
		{ 
		alert("City should be spelled in letters only")
		fm.city.focus();
		return false;
		}
		var zip2 = integervalidation(fm.zip.value);
		if(zip2 == "no")
		{
		alert("Zip should be entered in numbers only");
		fm.zip.focus();
		return false;
		}  

		
}
function  validate(){
			var errCount = 0;
			var errorMsg="";
			var fm = document.form1;
			var uphone ="";
		if ( fm.firstName.value.length == 0)
		{
		errorMsg += "\n\n"+(errCount+1)+".First Name not specified"		
		errCount++;

		}	
		var message1 = charvalidation(fm.firstName.value)
		if(message1 == "no")
		{
		errorMsg += "\n\n"+(errCount+1)+".First name can have only alpha characters"
		errCount++;		   
		}
		if ( fm.lastName.value.length == 0)
		{
		errorMsg += "\n\n"+(errCount+1)+".Last Name not specified";
		errCount++;

		}
		var message2 = charvalidation(fm.lastName.value)
		if(message2 == "no")
		{
		errorMsg += "\n\n"+(errCount+1)+".Last name can have only alpha characters"
		errCount++;		   
		}
		
		if ( fm.phone.value.length == 0 )
		{
		  errorMsg += "\n\n"+(errCount+1)+".Phone number not specified";
		  errCount++;

		}   
		var phonecheck = insertin(fm.phone.value);
		if(phonecheck == "false"){
		   errorMsg += "\n\n"+(errCount+1)+".Phone no. can't be greater then 10 digits and should be numbers only. ";
		   errCount++;		
		}
		
		var useremail = fm.email.value;
		var validEmail = isValidEmail(useremail)
		if(validEmail == "false") 
		   {
			errorMsg += "\n\n"+(errCount+1)+".Invalid email address";
			errCount++;

		   }
		if ( fm.username.value.length == 0)
			{
			errorMsg += "\n\n"+(errCount+1)+".Username not specified";
			errCount++;

			}
		var checkusername = usernamevalidation(fm.username.value)			
			if(checkusername == "no")
			{		
				errorMsg += "\n\n"+(errCount+1)+".Username should have alpha-numeric characters only."
				errCount++;		   
			}
		
		if((fm.username.value.length < 6)| (fm.password.value.lenth < 6))
			{

			errorMsg += "\n\n"+(errCount+1)+".Username and Password should have at least 6 characters.";
			errCount++;
			}
		
		
		if ( fm.password.value.length == 0)
				{
		  errorMsg += "\n\n"+(errCount+1)+".Password not specified";
		  errCount++;

		}

		if ( fm.cpassword.value.length == 0)
				{
		  errorMsg += "\n\n"+(errCount+1)+".Please confirm your password";
		  errCount++;

		}
		
		var unitmessage =  callotherfunctions(fm.unit.value);
		if(unitmessage == "no")
		   {
		     errorMsg += "\n\n"+ "(" + (errCount+1)+")"+".Unit needs to be in alphanumeric format, though" +"\n" + "it can have" + " - " +" or " +" / " + " in the middle";
		     errCount++;
		   }

		
		if ( fm.unit.value.length == 0)
		   {
			  errorMsg += "\n\n"+(errCount+1)+".Unit not specified";
			  errCount++;

		    }
		if (fm.street.value.length == 0)
		   {
			  errorMsg += "\n\n"+(errCount+1)+".Street not specified";
			  errCount++;

		   }
		if ( fm.city.value.length == 0)
				{
		  errorMsg += "\n\n"+(errCount+1)+".City not specified";
		  errCount++;

		}
		var message4 = charvalidation(fm.city.value)
				if(message4 == "no")
				{
				errorMsg += "\n\n"+(errCount+1)+".city can have only alpha characters"
				errCount++;		   
		}
		if ( fm.country.value == "SELECT A COUNTRY")
		{
			errorMsg += "\n\n"+(errCount+1)+".Country not specified";
			errCount++;

		}	
		
		
		if ( fm.state.value == "SELECT A STATE")
			{
			  errorMsg += "\n\n"+(errCount+1)+".State not specified";
			  errCount++;

			 }
		if (fm.county.value == "SELECT A COUNTY")
		   
			{
			  errorMsg += "\n\n"+(errCount+1)+".County/District not specified";
			  errCount++;

			}
		if(fm.password.value != fm.cpassword.value)
		{

		errorMsg += "\n\n"+(errCount+1)+".Passwords are not matching please confirm again";
		errCount++;
		}	

                message3 = integervalidation(fm.zip.value)
                if(message3 == "no")
                {
                 errorMsg += "\n\n"+(errCount+1)+".zip code can be numbers only";
                 errCount++;
                } 
                
		if (errCount >0)
		{
		alert("Total number of errors are: " + errCount + errorMsg);
		return false;
		}
		else
		{
		return true;
		}
}//end of validate 






function validateForm(){
if(document.ItemList.item.selectedIndex==0)
{
alert("Please select a package to proceed.");
document.ItemList.item.focus();
return false;
}
return true;
}

function splitInt(stringToSplit,separator){
   var fm = document.form1;
   arrayOfStrings = stringToSplit.split(separator)
   var s = "";
      for (var i=0; i < arrayOfStrings.length; i++) {
             s+= arrayOfStrings[i];              
          }       
        return s; 
        
}

function splitInt2(stringToSplit,separator){
   var fm = document.form1;
   arrayOfStrings = stringToSplit.split(separator)
   var s = "";
      for (var i=0; i < arrayOfStrings.length; i++) {
             s+= arrayOfStrings[i];              
              
          }
        fm.price.value = s;  
}


function  validateUpload(){
	var errCount = 0;
	var errorMsg="";
	var fm = document.form1;	        
	        
	        fm.propertyDateTime.value = captureDate();
                var unitmessage =  callotherfunctions(fm.unit.value);
                if(unitmessage == "no")
                   {
                     errorMsg += "\n\n"+ "(" + (errCount+1)+")"+".Unit needs to be in alphanumeric format, though" +"\n" + "it can have" + " - " +" or " +" / " + " in the middle";
                     errCount++;
                   }
		if ( fm.unit.value.length == 0 )

		{
		  errorMsg += "\n\n"+ "("+(errCount+1)+")"+".Unit not specified";
		  errCount++;

		}  
		

		if ( fm.street.value.length == 0 )

		{
		  errorMsg += "\n\n"+"("+(errCount+1)+")"+".Street not specified";
		  errCount++;

		}      
		if ( fm.city.value.length == 0)
		{                   
		  errorMsg += "\n\n"+"("+(errCount+1)+")"+".City not specified"
		  errCount++;

		}
		var cityvalue = charvalidation(fm.city.value)
						if(cityvalue == "no")
						{
						errorMsg += "\n\n"+"("+(errCount+1)+")"+".city can have only alpha characters"
						errCount++;		   
		}
		if ( fm.state.value == 'SELECT A STATE' )

		{
		  errorMsg += "\n\n"+"("+(errCount+1)+")"+".State not specified";
		  errCount++;

		}

		if ( fm.county.value == 'SELECT A COUNTY' )

		{
		errorMsg += "\n\n"+"("+(errCount+1)+")"+".County not specified";
		errCount++;

		} 
		if((fm.zip.value.length == 0)|(fm.zip.value == "N/A"))
	        {fm.zip.value = 0;}
		var zip3 = integervalidation(fm.zip.value);
		if(zip3 == "no")
		{

		 errorMsg += "\n\n"+"("+(errCount+1)+")"+".Zip should be entered in numbers only";
		 errCount++;
		}
		var assignPrice = integervalidation(fm.price.value);
		if(assignPrice == "no")
		{
		errorMsg += "\n\n"+"("+(errCount+1)+")"+".Price should be entered in numbers only";
		errCount++;
		}

		if(fm.price.value.length > 9)
		 {
		 errorMsg += "\n\n"+"("+(errCount+1)+")"+".Price can't be greater than 9-digits.";
		 errCount++;
		 } 

		if ( fm.price.value.length == 0)
		{                   
		errorMsg += "\n\n"+"("+(errCount+1)+")"+".Price not specified"
		errCount++;

		}
			
		if ( fm.package1.value == 'SELECT')
		{                   
		errorMsg += "\n\n"+"("+(errCount+1)+")"+".Package not specified"
		errCount++;

		}
		if ( fm.propertyIsFor.value == 'Select')
		{                   
		errorMsg += "\n\n"+"("+(errCount+1)+")"+". Please specify whether property is for Rent or Sale"
		errCount++;

		}
		
		if((fm.yearBuilt.value.length == 0)|(fm.yearBuilt.value =="N/A"))
                {fm.yearBuilt.value = 0;}
		if(((fm.yearBuilt.value.length > 0)&(fm.yearBuilt.value != 0))&((fm.yearBuilt.value.length < 4 )|(fm.yearBuilt.value.length >4 )))
		{
		 errorMsg += "\n\n"+"("+(errCount+1)+")"+".Year built should be four digits long.";
		 errCount++;
		}
					


		var yearBuilt2 = integervalidation(fm.yearBuilt.value);
		if(yearBuilt2 == "no")
		{
		errorMsg += "\n\n"+"("+(errCount+1)+")"+".Year built should be entered in numbers only";
		errCount++;

		}
                if((fm.lotsize.value.length == 0)|(fm.lotsize.value == "N/A"))		  
	        {fm.lotsize.value = 0;}
			
			
		var lotsize2 = floatvalidation(fm.lotsize.value);
		if(lotsize2 == "no")
		{
		 errorMsg += "\n\n"+"("+(errCount+1)+")"+".lot size should be entered in numbers only";
		 errCount++;

		}  
			
                if((fm.builtSize.value.length == 0)|(fm.builtSize.value == "N/A"))
	            {fm.builtSize.value = 0;}
		   
		var builtSize2 = floatvalidation(fm.builtSize.value);
		if(builtSize2 == "no")
		{
		 errorMsg += "\n\n"+"("+(errCount+1)+")"+".Property Sq.Footage should be entered in numbers only";
		 errCount++;

		}  
		var messagecheck1 = fileTypeCheck(fm.image1.value)
				if((fm.image1.value != "")&(messagecheck1 == "false"))
				                {
				                 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image1: Only .jpg, .jpeg, or .gif files can be uploaded.";
				                 errCount++;
		                }
		var messagecheck2 = fileTypeCheck(fm.image2.value)
		if((fm.image2.value != "")&(messagecheck2 == "false"))
		                {
		                 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image2: Only .jpg, .jpeg, or .gif files can be uploaded.";
		                 errCount++;
		                }
                var messagecheck3 = fileTypeCheck(fm.image3.value)
				if((fm.image3.value != "")&(messagecheck3 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image3: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck4 = fileTypeCheck(fm.image4.value)
				if((fm.image4.value != "")&(messagecheck4 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image4: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
		var messagecheck5 = fileTypeCheck(fm.image5.value)
				if((fm.image5.value != "")&(messagecheck5 == "false"))
				                {
				                 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image5: Only .jpg, .jpeg, or .gif files can be uploaded.";
				                 errCount++;
		                }
		var messagecheck6 = fileTypeCheck(fm.image6.value)
		if((fm.image6.value != "")&(messagecheck6 == "false"))
		                {
		                 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image6: Only .jpg, .jpeg, or .gif files can be uploaded.";
		                 errCount++;
		                }
                var messagecheck7 = fileTypeCheck(fm.image7.value)
				if((fm.image7.value != "")&(messagecheck7 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image7: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck8 = fileTypeCheck(fm.image8.value)
				if((fm.image8.value != "")&(messagecheck8 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image8: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck9 = fileTypeCheck(fm.image9.value)
				if((fm.image9.value != "")&(messagecheck9 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image9: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck10 = fileTypeCheck(fm.image10.value)
				if((fm.image10.value != "")&(messagecheck10 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Image10: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck11 = fileTypeCheck(fm.imageFloorPlan.value)
				if((fm.imageFloorPlan.value != "")&(messagecheck11 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Floor Plan: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
                var messagecheck12 = fileTypeCheck(fm.imageMaps.value)
				if((fm.imageMaps.value != "")&(messagecheck12 == "false"))
				{
				 errorMsg += "\n\n"+"("+(errCount+1)+")"+ ". Location Map: Only .jpg, .jpeg, or .gif files can be uploaded.";
				 errCount++;
				}
		if(fm.comments.value == "")
		    { fm.comments.value = "N/A";}
                if(fm.construction.value == "")
		    { fm.construction.value = "N/A";}    
               			
		if (errCount >0)
			{
			alert("Total number of errors are: " + errCount + errorMsg);
			return false;
			}
			else
			{
			return true;
                        }
}//end of validateUpload

function fileTypeCheck(images) {
	var fileName = images;
	var result ="true";
	var indexOfExt = fileName.lastIndexOf (".");
	var ext = fileName.substring(indexOfExt);
	ext = ext.toLowerCase();
	if (ext != '.jpg' && ext != 'jpeg' && ext!='.gif') {
    	//alert('You selected a ' + ext + ' file;  Please select a .jpg/.jpeg/.gif file instead!');
		result =  "false";
	}
 	return result;
}//end of fileTypeCheck




function changeDropDownOptions(){

var which_array = document.form1.garage.options[document.form1.garage.options.selectedIndex].text;
if(which_array == "N/A")
{
document.form1.garage.options[0]= new Option("0","0"); 
document.form1.garage.options.selectedIndex = 0;
}
var which_array2 = document.form1.bathroom.options[document.form1.bathroom.options.selectedIndex].text;
if(which_array2 == "N/A")
{
document.form1.bathroom.options[0]= new Option("0","0"); 
document.form1.bathroom.options.selectedIndex = 0;
}
var which_array3 = document.form1.bedRoom.options[document.form1.bedRoom.options.selectedIndex].text;	
if(which_array3 == "N/A")
{
document.form1.bedRoom.options[0]= new Option("0","0"); 
document.form1.bedRoom.options.selectedIndex = 0;
}

}


function callotherfunctions(my){
 var validunit = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/- "
 var validspl = "/-";
 var message = "yes";
 var temp;
 var myfirstchar = my.charAt(0);
 if ((myfirstchar == "-") | (myfirstchar == "/"))
      message = "no";
 var mylength = my.length;     
 var mylastchar = my.charAt(mylength - 1);    
 if ((mylastchar == "-") | (mylastchar == "/"))
      message = "no";    
 for (var i=0; i<my.length; i++) {     
 temp = "" + my.substring(i, i+1);
 if (validunit.indexOf(temp) == "-1") message = "no";
     
 }
 
 return message;
}
function usernamevalidation(my){
 var valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
 var message = "yes";
 var temp;
 for (var i=0; i<my.length; i++) {
 temp = "" + my.substring(i, i+1);
 if (valid.indexOf(temp) == "-1") message = "no";
}
 
 return message;
}




function charvalidation(my) {
var valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ "
var message = "yes";
var temp;
for (var i=0; i<my.length; i++) {
temp = "" + my.substring(i, i+1);
if (valid.indexOf(temp) == "-1") message = "no";
}

return message;
}


function integervalidation(my) {
var valid = "0123456789 "
var message = "yes";
var temp;
for (var i=0; i<my.length; i++) {
temp = "" + my.substring(i, i+1);
if (valid.indexOf(temp) == "-1") message = "no";
}
return message;
}
function floatvalidation(my) {
var valid = "0123456789."
var message = "yes";
var temp;
for (var i=0; i<my.length; i++) {
temp = "" + my.substring(i, i+1);
if (valid.indexOf(temp) == "-1") message = "no";
}
return message;
}
function captureDate(){

var tdate = new Date();
var month = tdate.getMonth() + 1;
var day = tdate.getDate();
var year = tdate.getFullYear();
var smonth ="";
var sday ="";
var mydate ="";

if(month < 9)
  {
   smonth = "0" + month;
  }
else
  {
   smonth = month;
  }
if(day < 9)
  {
   sday = "0" + day;
  }
else
   {
    sday = day;
   }


   mydate = year + "/" + smonth + "/" + sday;
   return mydate;
 }

function isValidEmail(email) {
 var check = "";
 if (email.indexOf(' ')==-1
      && 0<email.indexOf('@')
      && email.indexOf('@')+1 < email.length
      && email.indexOf('.')!= -1
      && email.indexOf('.')+1 < email.length
      && email.lastIndexOf('.') > email.indexOf('@')+1
 )
 {
  check =  "true";
 }
 else
{
 check ="false";
}
 return check;
}//end of isValidEmail

function bill(my){
var my2 = isValidEmail(my);
document.write(my2);
}//end of bill




function insertin(myvar)

{  
  var phone = "";
  var phone1="";  
  var myvar3 = splitInt(myvar,"-"); 
  var myvar4 = splitInt(myvar3,"(");
  var myvar5 = splitInt(myvar4,")");
  var checkvalue ="true";
  myvar6 = integervalidation(myvar5);
  if(myvar6 == "no")
     {
      checkvalue  = "false";
     }
  if( myvar5.length > 10)
      {
       checkvalue = "false";
      }
  else
  {
    phone1 = myvar5.substring(0,3);
   
    phone2 = myvar5.substring(3,6);
    
    phone3 = myvar5.substring(6,10);
    
    phone4 = "("+phone1 +")"+ "-" + phone2 + "-" + phone3
    
  }
  document.form1.phone.value = phone4;
  return checkvalue ;
  }//end of function insertin()

function  validateDream(){
                     var errCount = 0;
                     var errorMsg="";
                     var fm = document.form1;
                  if ( fm.busername.value.length == 0)
                     {                   
                        errorMsg += "\n\n"+(errCount+1)+".Username not specified"
                        errCount++;

                     }
                  if ( fm.bpassword.value.length == 0)
		                       {                   
		                          errorMsg += "\n\n"+(errCount+1)+".Password not specified"
		                          errCount++;
		  
		                       }             
                  var buseremail = fm.bemail.value;
		  var bvalidEmail = isValidEmail(buseremail)
		  if(bvalidEmail == "false") 
		   {
			errorMsg += "\n\n"+(errCount+1)+".Invalid email address";
			errCount++;

		   }   
                     
                   var zip2 = integervalidation(fm.zip.value);
		     		if(zip2 == "no")
		     		{
		     		
		     		 errorMsg += "\n\n"+(errCount+1)+".Zip should be entered in numbers only";
		                 errCount++;
		                } 
		                
		    var yearBuilt2 = integervalidation(fm.yearBuilt.value);
		     		if(yearBuilt2 == "no")
		     		{
		     		 errorMsg += "\n\n"+(errCount+1)+".Year built should be entered in numbers only";
		     		 errCount++;
		     		
		                }
		     var lotsize2 = floatvalidation(fm.lotsize.value);
		     		if(lotsize2 == "no")
		     		{
		     		 errorMsg += "\n\n"+(errCount+1)+".lot size should be entered in numbers only";
		     		 errCount++;
		     		
		                } 	    
		                
		        var builtSize2 = floatvalidation(fm.builtSize.value);
		     		if(builtSize2 == "no")
		     		{
		     		 errorMsg += "\n\n"+(errCount+1)+".Property Sq.Footage should be entered in numbers only";
		     		 errCount++;
		     		
		                }      
		     
		    if ( fm.state.value == 'SELECT A STATE' )
		                          
		                        {
		                          errorMsg += "\n\n"+(errCount+1)+".State not specified";
		                          errCount++;
		   
                                        }
                   if ( fm.county.value == 'SELECT A COUNTY' )
		                          
		                        {
		                          errorMsg += "\n\n"+(errCount+1)+".County not specified";
		                          errCount++;
		   
                                        }                  
		                
		                
		                
		                

                   if (errCount >0)
                      {
                       alert("Total number of errors are: " + errCount + errorMsg);
                       return false;
                      }
                   else
                    {
                        return true;
                    }
                    }//end of validateDream




